]>
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 |
9bbf1f0a | 4 | Version: 1.6 |
07efe132 | 5 | Release: 0.5 |
09f517f6 | 6 | License: GPL |
7 | Group: X11/Libraries | |
f56130a1 | 8 | Source0: http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz |
9bbf1f0a | 9 | # Source0-md5: 5ecad0816e586a954bd676a86237d054 |
23366593 | 10 | Patch0: %{name}-libtool-sanitize.patch |
82ab4e3e | 11 | Patch1: kde-ac260-lt.patch |
4c13dbaf | 12 | Patch2: taglib-am.patch |
f56130a1 | 13 | URL: http://ktown.kde.org/~wheeler/taglib.html |
9ee83894 | 14 | BuildRequires: cmake >= 2.6.2 |
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 |
09f517f6 | 43 | |
44 | %build | |
9ee83894 BZ |
45 | install -d build |
46 | cd build | |
47 | %cmake \ | |
48 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
49 | -DLIB_INSTALL_DIR=%{_libdir} \ | |
07efe132 | 50 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
9ee83894 BZ |
51 | -DWITH_ASF=ON \ |
52 | -DWITH_MP4=ON \ | |
53 | %if "%{_lib}" == "lib64" | |
54 | -DLIB_SUFFIX=64 \ | |
55 | %endif | |
56 | ../ | |
09f517f6 | 57 | %{__make} |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
9ee83894 | 62 | %{__make} -C build install \ |
09f517f6 | 63 | DESTDIR=$RPM_BUILD_ROOT |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
09f517f6 | 73 | %attr(755,root,root) %{_libdir}/libtag.so.*.*.* |
fb954ded | 74 | %attr(755,root,root) %ghost %{_libdir}/libtag.so.? |
f56130a1 | 75 | %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* |
fb954ded | 76 | %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.? |
09f517f6 | 77 | |
78 | %files devel | |
d07dd10b | 79 | %defattr(644,root,root,755) |
09f517f6 | 80 | %attr(755,root,root) %{_bindir}/taglib-config |
6da6ba3f | 81 | %{_libdir}/libtag.so |
82 | %{_libdir}/libtag_c.so | |
08f46e02 | 83 | %{_pkgconfigdir}/taglib.pc |
fb954ded | 84 | %{_pkgconfigdir}/taglib_c.pc |
f56130a1 | 85 | %{_includedir}/taglib |