File taglib-sharp.spec of Package taglib-sharp

#
# spec file for package taglib-sharp (Version 2.0.3.7)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           taglib-sharp
License:        LGPLv2.1+
Group:          Development/Languages/Mono
Summary:        Multimedia metadata reading/writing library for popular formats
Url:            http://download.banshee-project.org/taglib-sharp/
Version:        2.0.3.7
Release:        4
Source0:        %{name}-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mono-devel
%if 0%{?fedora_version}
%define env_options export MONO_SHARED_DIR=/tmp
%endif

%description
TagLib# is a metadata or "tag" reader and writer library that supports
the most common movie and music formats, abstracting away format
specificity. TagLib# offers either a common API for all formats or
access to specific APIs for a given format.



Authors:
--------
    Brian Nickel <brian.nickel@gmail.com>
    Aaron Bockover <abockover@novell.com>

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%dir %_prefix/lib/mono/taglib-sharp
%dir %_prefix/lib/mono/gac/taglib-sharp
%dir %_prefix/lib/mono/gac/taglib-sharp/%{version}__db62eba44689b5b0
%dir %_prefix/lib/mono/gac/policy.2.0.taglib-sharp
%dir %_prefix/lib/mono/gac/policy.2.0.taglib-sharp/0.0.0.0__db62eba44689b5b0
%_prefix/lib/mono/gac/taglib-sharp/*/*.dll*
%_prefix/lib/mono/gac/policy.2.0.taglib-sharp/*/*
%_prefix/lib/mono/taglib-sharp/taglib-sharp.dll

%package devel
License:        LGPLv2.1+
Group:          Development/Languages/Mono
Summary:        Multimedia metadata reading/writing library for popular formats
Requires:       %{name} = %{version}

%description devel
TagLib# is a metadata or "tag" reader and writer library that supports
the most common movie and music formats, abstracting away format
specificity. TagLib# offers either a common API for all formats or
access to specific APIs for a given format.



Authors:
--------
    Brian Nickel <brian.nickel@gmail.com>
    Aaron Bockover <abockover@novell.com>

%files devel
%defattr(-, root, root)
%_prefix/share/pkgconfig/taglib-sharp.pc

%prep
%setup -q

%build
%{?env_options}
./configure --prefix=/usr --disable-docs
make

%install
%{?env_options}
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%changelog