]>
Commit | Line | Data |
---|---|---|
97bc134e | 1 | Summary: A tag library for reading and editing audio meta data |
b747209f | 2 | Summary(pl.UTF-8): Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku |
09f517f6 | 3 | Name: taglib |
08f46e02 | 4 | Version: 1.4 |
bdcb9973 | 5 | Release: 3 |
09f517f6 | 6 | License: GPL |
7 | Group: X11/Libraries | |
f56130a1 | 8 | Source0: http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz |
08f46e02 | 9 | # Source0-md5: dcd50ddb2544faeae77f194804559404 |
23366593 | 10 | Patch0: %{name}-libtool-sanitize.patch |
49969445 | 11 | Patch1: kde-ac260.patch |
12 | Patch2: kde-am.patch | |
bdcb9973 | 13 | Patch3: kde-ac260-lt.patch |
f56130a1 | 14 | URL: http://ktown.kde.org/~wheeler/taglib.html |
23366593 JB |
15 | BuildRequires: autoconf >= 2.52 |
16 | BuildRequires: automake >= 1.6 | |
4aa1b00d | 17 | BuildRequires: libstdc++-devel |
f416622e | 18 | BuildRequires: perl-base |
19 | #BuildRequires: unsermake >= 040805-1 | |
09f517f6 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
d07dd10b JB |
23 | A tag library needed for juk application which is part of |
24 | kdemultimedia package. | |
09f517f6 | 25 | |
b747209f JR |
26 | %description -l pl.UTF-8 |
27 | Biblioteka tag wykorzystywana przez program juk, będący częścią | |
d07dd10b | 28 | pakietu kdemultimedia. |
09f517f6 | 29 | |
30 | %package devel | |
31 | Summary: libtag - header files | |
b747209f | 32 | Summary(pl.UTF-8): libtag - pliki nagłówkowe |
09f517f6 | 33 | Group: X11/Development/Libraries |
34 | Requires: %{name} = %{version}-%{release} | |
23366593 | 35 | Requires: libstdc++-devel |
09f517f6 | 36 | |
37 | %description devel | |
23366593 | 38 | Header files for tag library. |
09f517f6 | 39 | |
b747209f JR |
40 | %description devel -l pl.UTF-8 |
41 | Pliki nagłówkowe biblioteki tag. | |
09f517f6 | 42 | |
43 | %prep | |
f56130a1 | 44 | %setup -q |
23366593 | 45 | %patch0 -p1 |
49969445 | 46 | %patch1 -p1 |
47 | %patch2 -p1 | |
bdcb9973 | 48 | %patch3 -p1 |
09f517f6 | 49 | |
50 | %build | |
23366593 | 51 | cp -f /usr/share/automake/config.* admin |
f56130a1 JB |
52 | # unsermake is broken here (Makefile.calls not generated by configure) |
53 | #export UNSERMAKE=/usr/share/unsermake/unsermake | |
23366593 JB |
54 | %{__make} -f admin/Makefile.common cvs |
55 | ||
09f517f6 | 56 | %configure \ |
57 | --disable-rpath \ | |
a248bdd6 | 58 | --enable-final \ |
59 | --with-qt-libraries=%{_libdir} | |
09f517f6 | 60 | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
09f517f6 | 77 | %attr(755,root,root) %{_libdir}/libtag.so.*.*.* |
f56130a1 | 78 | %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* |
09f517f6 | 79 | |
80 | %files devel | |
d07dd10b | 81 | %defattr(644,root,root,755) |
09f517f6 | 82 | %attr(755,root,root) %{_bindir}/taglib-config |
f56130a1 JB |
83 | %attr(755,root,root) %{_libdir}/libtag.so |
84 | %attr(755,root,root) %{_libdir}/libtag_c.so | |
6c211499 | 85 | %{_libdir}/libtag.la |
f56130a1 | 86 | %{_libdir}/libtag_c.la |
08f46e02 | 87 | %{_pkgconfigdir}/taglib.pc |
f56130a1 | 88 | %{_includedir}/taglib |