]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- added kde-ac260.patch and kde-am.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.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 Patch1:         kde-ac260.patch
12 Patch2:         kde-am.patch
13 URL:            http://ktown.kde.org/~wheeler/taglib.html
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake >= 1.6
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  perl-base
18 #BuildRequires: unsermake >= 040805-1
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 A tag library needed for juk application which is part of
23 kdemultimedia package.
24
25 %description -l pl
26 Biblioteka tag wykorzystywana przez program juk, bêd±cy czê¶ci±
27 pakietu kdemultimedia.
28
29 %package devel
30 Summary:        libtag - header files
31 Summary(pl):    libtag - pliki nag³ówkowe
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       libstdc++-devel
35
36 %description devel
37 Header files for tag library.
38
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki tag.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46 %patch2 -p1
47
48 %build
49 cp -f /usr/share/automake/config.* admin
50 # unsermake is broken here (Makefile.calls not generated by configure)
51 #export UNSERMAKE=/usr/share/unsermake/unsermake
52 %{__make} -f admin/Makefile.common cvs
53
54 %configure \
55         --disable-rpath \
56         --enable-final \
57         --with-qt-libraries=%{_libdir}
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
76 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/taglib-config
81 %attr(755,root,root) %{_libdir}/libtag.so
82 %attr(755,root,root) %{_libdir}/libtag_c.so
83 %{_libdir}/libtag.la
84 %{_libdir}/libtag_c.la
85 %{_pkgconfigdir}/taglib.pc
86 %{_includedir}/taglib
This page took 0.074947 seconds and 4 git commands to generate.