]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- it's pure C++ library, doesn't depend on KDE
[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 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A tag library needed for juk application which is part of
20 kdemultimedia package.
21
22 %description -l pl
23 Biblioteka tag wykorzystywana przez program juk, bed±cy czê¶ci±
24 pakietu kdemultimedia.
25
26 %package devel
27 Summary:        libtag - header files
28 Summary(pl):    libtag - pliki nag³ówkowe
29 Group:          X11/Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       libstdc++-devel
32
33 %description devel
34 Header files for tag library.
35
36 %description devel -l pl
37 Pliki nag³ówkowe biblioteki tag.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43
44 %build
45 cp -f /usr/share/automake/config.* admin
46 %{__make} -f admin/Makefile.common cvs
47
48 %configure \
49         --disable-rpath \
50         --enable-final \
51         --with-qt-libraries=%{_libdir}
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
70 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
71
72 %files devel
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/taglib-config
75 %attr(755,root,root) %{_libdir}/libtag.so
76 %attr(755,root,root) %{_libdir}/libtag_c.so
77 %{_libdir}/libtag.la
78 %{_libdir}/libtag_c.la
79 %{_includedir}/taglib
This page took 0.066687 seconds and 4 git commands to generate.