]> git.pld-linux.org Git - packages/dotnet-taglib-sharp.git/blame - dotnet-taglib-sharp.spec
- rebuild autocrap
[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
2be326de 7Release: 3
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
2be326de
PZ
14BuildRequires: dotnet-gnome-sharp-devel
15BuildRequires: libtool
a86e8756 16BuildRequires: mono-csharp
2be326de 17BuildRequires: monodoc
a86e8756 18#BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22TagLib# is a metadata or "tag" reader and writer library that supports
23the most common movie and music formats, abstracting away format
24specificity. TagLib# offers either a common API for all formats or
25access to specific APIs for a given format.
26
c5eb70f0 27%package devel
28Summary: Header files for taglib-sharp library
2be326de 29Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp
c5eb70f0 30Group: Development/Libraries
31# if base package contains shared library for which these headers are
32#Requires: %{name} = %{version}-%{release}
33# if -libs package contains shared library for which these headers are
34#Requires: %{name}-libs = %{version}-%{release}
35
36%description devel
37Header files for taglib-sharp library.
38
39%description devel -l pl.UTF-8
40Pliki nagłówkowe bibliote taglib-sharp.
41
a86e8756 42%prep
43%setup -q
0ba9a0e6 44%patch0 -p1
a86e8756 45
46%build
2be326de
PZ
47#cp -f /usr/share/automake/config.sub .
48%{__libtoolize}
49%{__aclocal}
50%{__autoconf}
51%{__automake}
a86e8756 52%configure \
53 --disable-docs
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
61mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc AUTHORS NEWS README
a86e8756 69%{_prefix}/lib/mono/gac/taglib-sharp
70%{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
c5eb70f0 71
72%files devel
2be326de 73%defattr(644,root,root,755)
c5eb70f0 74%{_prefix}/lib/mono/taglib-sharp
2be326de 75%{_datadir}/pkgconfig/taglib-sharp.pc
This page took 0.036356 seconds and 4 git commands to generate.