]> git.pld-linux.org Git - packages/dotnet-taglib-sharp.git/blob - dotnet-taglib-sharp.spec
- added -add_extensions_mimetypes_thorough_mpeg_checking.patch
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
1 #
2 # TODO: Make build as noarch
3 # TODO: Rename to dotnet-taglib-sharp?
4 #
5 %include        /usr/lib/rpm/macros.mono
6 Summary:        Metadata library for most common movie and music formats
7 Name:           taglib-sharp
8 Version:        2.0.3.0
9 Release:        7
10 License:        LGPLv2
11 Group:          Development
12 Source0:        http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
13 # Source0-md5:  aa2c344760c8f4d878957fd4600155a5
14 Patch0:         %{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
17 Patch1:         %{name}-add_extensions_mimetypes_thorough_mpeg_checking.patch
18 URL:            http://taglib-sharp.com/
19 BuildRequires:  dotnet-gnome-sharp-devel
20 BuildRequires:  libtool
21 BuildRequires:  mono-csharp
22 BuildRequires:  monodoc
23 #BuildArch:     noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 TagLib# is a metadata or "tag" reader and writer library that supports
28 the most common movie and music formats, abstracting away format
29 specificity. TagLib# offers either a common API for all formats or
30 access to specific APIs for a given format.
31
32 %package devel
33 Summary:        Header files for taglib-sharp library
34 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotektaglib-sharp
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37
38 %description devel
39 Header files for taglib-sharp library.
40
41 %description devel -l pl.UTF-8
42 Pliki 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
59 rm -rf $RPM_BUILD_ROOT
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
63 mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
64
65 %clean
66 rm -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.025401 seconds and 3 git commands to generate.