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