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