]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- rel 2 (rebuild with fixed %useradd/%groupadd macros)
[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.4
5 Release:        2
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  dcd50ddb2544faeae77f194804559404
10 Patch0:         %{name}-libtool-sanitize.patch
11 URL:            http://ktown.kde.org/~wheeler/taglib.html
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake >= 1.6
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  perl-base
16 #BuildRequires: unsermake >= 040805-1
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, bêd±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 %{_pkgconfigdir}/taglib.pc
83 %{_includedir}/taglib
This page took 0.057463 seconds and 3 git commands to generate.