]> git.pld-linux.org Git - packages/dotnet-taglib-sharp.git/blame_incremental - dotnet-taglib-sharp.spec
- added -add_extensions_mimetypes_thorough_mpeg_checking.patch
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
... / ...
CommitLineData
1#
2# TODO: Make build as noarch
3# TODO: Rename to dotnet-taglib-sharp?
4#
5%include /usr/lib/rpm/macros.mono
6Summary: Metadata library for most common movie and music formats
7Name: taglib-sharp
8Version: 2.0.3.0
9Release: 7
10License: LGPLv2
11Group: Development
12Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
13# Source0-md5: aa2c344760c8f4d878957fd4600155a5
14Patch0: %{name}-gacdir.patch
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/
19BuildRequires: dotnet-gnome-sharp-devel
20BuildRequires: libtool
21BuildRequires: mono-csharp
22BuildRequires: monodoc
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
32%package devel
33Summary: Header files for taglib-sharp library
34Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
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
44%prep
45%setup -q
46%patch0 -p1
47%patch1 -p0
48
49%build
50%{__libtoolize}
51%{__aclocal}
52%{__autoconf}
53%{__automake}
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
71%{_prefix}/lib/mono/gac/taglib-sharp
72%{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
73
74%files devel
75%defattr(644,root,root,755)
76%{_prefix}/lib/mono/taglib-sharp
77%{_datadir}/pkgconfig/taglib-sharp.pc
This page took 0.046429 seconds and 4 git commands to generate.