]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- up to final 1.3 - C bindings are back
[packages/taglib.git] / taglib.spec
1 %define         _snap   040811
2 Summary:        A tag library for reading and editing audio meta data
3 Summary(pl):    Biblioteka tag do odczytu i edycji metadanych dotycz±cych d¼wiêku
4 Name:           taglib
5 Version:        1.3
6 Release:        1
7 License:        GPL
8 Group:          X11/Libraries
9 Source0:        http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
10 # Source0-md5:  54fe2a3abf0cf77130207846b0ce6ef4
11 Patch0:         %{name}-libtool-sanitize.patch
12 URL:            http://ktown.kde.org/~wheeler/taglib.html
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake >= 1.6
15 #BuildRequires: unsermake >= 040805-1
16 BuildRequires:  libstdc++-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 A tag library needed for juk application which is part of
21 kdemultimedia package.
22
23 %description -l pl
24 Biblioteka tag wykorzystywana przez program juk, bed±cy czê¶ci±
25 pakietu kdemultimedia.
26
27 %package devel
28 Summary:        libtag - header files
29 Summary(pl):    libtag - pliki nag³ówkowe
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       libstdc++-devel
33
34 %description devel
35 Header files for tag library.
36
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki tag.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 cp -f /usr/share/automake/config.* admin
46 # unsermake is broken here (Makefile.calls not generated by configure)
47 #export UNSERMAKE=/usr/share/unsermake/unsermake
48 %{__perl} -pi -e 's/(automake\*1\.6\.\* \| automake\*1\.7\*)/automake*1.[6-9]*/' admin/cvs.sh
49 %{__make} -f admin/Makefile.common cvs
50
51 %configure \
52         --disable-rpath \
53         --enable-final \
54         --with-qt-libraries=%{_libdir}
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
73 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/taglib-config
78 %attr(755,root,root) %{_libdir}/libtag.so
79 %attr(755,root,root) %{_libdir}/libtag_c.so
80 %{_libdir}/libtag.la
81 %{_libdir}/libtag_c.la
82 %{_includedir}/taglib
This page took 0.091348 seconds and 4 git commands to generate.