]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- added libtool-sanitize (to sanitize -L in *.la) and am18 patch
[packages/taglib.git] / taglib.spec
1 Summary:        A tag library for reading and editing audio meta data
2 Summary(pl):    Biblioteka tag do odczytu i edycji metadanych dotycz±cych d¼wiêku
3 Name:           taglib
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://ktown.kde.org/~wheeler/taglib/%{name}-%{version}.tar.gz
9 # Source0-md5:  9595e2cf3e12de96afbe81ae7f4cad33
10 Patch0:         %{name}-libtool-sanitize.patch
11 Patch1:         %{name}-am18.patch
12 URL:            http://ktown.kde.org/~wheeler/taglib/
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake >= 1.6
15 # is it needed? taglib links with libstdc++ only
16 BuildRequires:  kdelibs-devel >= 9:3.2.0
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 %patch1 -p1
44
45 %build
46 cp -f /usr/share/automake/config.* admin
47 %{__make} -f admin/Makefile.common cvs
48
49 %configure \
50         --disable-rpath \
51         --enable-final \
52         --with-qt-libraries=%{_libdir}
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
71 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
72
73 %files devel
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/taglib-config
76 %attr(755,root,root) %{_libdir}/libtag.so
77 %attr(755,root,root) %{_libdir}/libtag_c.so
78 %{_libdir}/libtag.la
79 %{_libdir}/libtag_c.la
80 %{_includedir}/taglib
This page took 0.063473 seconds and 4 git commands to generate.