f92a8f1540663f32bdb890cfdd3ac52da31c19d4
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
1 #
2 # TODO: Make build as noarch
3 #
4 Summary:        Metadata library for most common movie and music formats
5 Name:           taglib-sharp
6 Version:        2.0.3.0
7 Release:        1
8 License:        LGPLv2
9 Group:          Development
10 URL:            http://taglib-sharp.com/
11 Source0:        http://www.taglib-sharp.com/Download/%name-%{version}.tar.gz
12 # Source0-md5:  aa2c344760c8f4d878957fd4600155a5
13 BuildRequires:  mono-csharp
14 #BuildArch:     noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 TagLib# is a metadata or "tag" reader and writer library that supports
19 the most common movie and music formats, abstracting away format
20 specificity. TagLib# offers either a common API for all formats or
21 access to specific APIs for a given format.
22
23 %prep
24 %setup -q
25
26 %build
27 cp -f /usr/share/automake/config.sub .
28 %configure \
29         --disable-docs
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
37 mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc AUTHORS NEWS README
45 %{_prefix}/lib/mono/taglib-sharp
46 %{_prefix}/lib/mono/gac/taglib-sharp
47 %{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
48 %{_prefix}/share/pkgconfig/taglib-sharp.pc
This page took 0.04461 seconds and 2 git commands to generate.