]>
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 |
f56130a1 | 11 | URL: http://ktown.kde.org/~wheeler/taglib.html |
23366593 JB |
12 | BuildRequires: autoconf >= 2.52 |
13 | BuildRequires: automake >= 1.6 | |
4aa1b00d | 14 | BuildRequires: libstdc++-devel |
f416622e | 15 | BuildRequires: perl-base |
fb954ded | 16 | BuildRequires: pkgconfig |
09f517f6 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
d07dd10b JB |
20 | A tag library needed for juk application which is part of |
21 | kdemultimedia package. | |
09f517f6 | 22 | |
b747209f JR |
23 | %description -l pl.UTF-8 |
24 | Biblioteka tag wykorzystywana przez program juk, będący częścią | |
d07dd10b | 25 | pakietu kdemultimedia. |
09f517f6 | 26 | |
27 | %package devel | |
28 | Summary: libtag - header files | |
3ef1ce87 | 29 | Summary(pl.UTF-8): libtag - pliki nagłówkowe |
09f517f6 | 30 | Group: X11/Development/Libraries |
31 | Requires: %{name} = %{version}-%{release} | |
23366593 | 32 | Requires: libstdc++-devel |
09f517f6 | 33 | |
34 | %description devel | |
23366593 | 35 | Header files for tag library. |
09f517f6 | 36 | |
b747209f JR |
37 | %description devel -l pl.UTF-8 |
38 | Pliki nagłówkowe biblioteki tag. | |
09f517f6 | 39 | |
40 | %prep | |
f56130a1 | 41 | %setup -q |
23366593 | 42 | %patch0 -p1 |
09f517f6 | 43 | |
44 | %build | |
23366593 JB |
45 | cp -f /usr/share/automake/config.* admin |
46 | %{__make} -f admin/Makefile.common cvs | |
47 | ||
09f517f6 | 48 | %configure \ |
49 | --disable-rpath \ | |
a248bdd6 | 50 | --enable-final \ |
51 | --with-qt-libraries=%{_libdir} | |
09f517f6 | 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) | |
09f517f6 | 69 | %attr(755,root,root) %{_libdir}/libtag.so.*.*.* |
fb954ded | 70 | %attr(755,root,root) %ghost %{_libdir}/libtag.so.? |
f56130a1 | 71 | %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* |
fb954ded | 72 | %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.? |
09f517f6 | 73 | |
74 | %files devel | |
d07dd10b | 75 | %defattr(644,root,root,755) |
09f517f6 | 76 | %attr(755,root,root) %{_bindir}/taglib-config |
6da6ba3f | 77 | %{_libdir}/libtag.so |
78 | %{_libdir}/libtag_c.so | |
6c211499 | 79 | %{_libdir}/libtag.la |
f56130a1 | 80 | %{_libdir}/libtag_c.la |
08f46e02 | 81 | %{_pkgconfigdir}/taglib.pc |
fb954ded | 82 | %{_pkgconfigdir}/taglib_c.pc |
f56130a1 | 83 | %{_includedir}/taglib |