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