]> git.pld-linux.org Git - packages/dotnet-taglib-sharp.git/blame - dotnet-taglib-sharp.spec
- use $prefix/lib as gacdir
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
CommitLineData
a86e8756 1#
2# TODO: Make build as noarch
3#
4Summary: Metadata library for most common movie and music formats
5Name: taglib-sharp
6Version: 2.0.3.0
0ba9a0e6 7Release: 2
a86e8756 8License: LGPLv2
9Group: Development
10URL: http://taglib-sharp.com/
f2bd8114 11Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
a86e8756 12# Source0-md5: aa2c344760c8f4d878957fd4600155a5
0ba9a0e6 13Patch0: %{name}-gacdir.patch
a86e8756 14BuildRequires: mono-csharp
15#BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19TagLib# is a metadata or "tag" reader and writer library that supports
20the most common movie and music formats, abstracting away format
21specificity. TagLib# offers either a common API for all formats or
22access to specific APIs for a given format.
23
c5eb70f0 24%package devel
25Summary: Header files for taglib-sharp library
26Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp
27Group: Development/Libraries
28# if base package contains shared library for which these headers are
29#Requires: %{name} = %{version}-%{release}
30# if -libs package contains shared library for which these headers are
31#Requires: %{name}-libs = %{version}-%{release}
32
33%description devel
34Header files for taglib-sharp library.
35
36%description devel -l pl.UTF-8
37Pliki nagłówkowe bibliote taglib-sharp.
38
a86e8756 39%prep
40%setup -q
0ba9a0e6 41%patch0 -p1
a86e8756 42
43%build
44cp -f /usr/share/automake/config.sub .
45%configure \
46 --disable-docs
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
54mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc AUTHORS NEWS README
a86e8756 62%{_prefix}/lib/mono/gac/taglib-sharp
63%{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
c5eb70f0 64
65%files devel
66%{_prefix}/lib/mono/taglib-sharp
a86e8756 67%{_prefix}/share/pkgconfig/taglib-sharp.pc
This page took 0.093253 seconds and 4 git commands to generate.