]>
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 |
4b8ce793 JB |
4 | Version: 1.7 |
5 | Release: 1 | |
f6c1c82d | 6 | License: LGPL v2.1 or MPL v1.1 |
55c3590b | 7 | Group: Libraries |
f56130a1 | 8 | Source0: http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz |
4b8ce793 | 9 | # Source0-md5: 6a7e312668f153fa905a81714aebc257 |
f56130a1 | 10 | URL: http://ktown.kde.org/~wheeler/taglib.html |
9ee83894 | 11 | BuildRequires: cmake >= 2.6.2 |
4aa1b00d | 12 | BuildRequires: libstdc++-devel |
f416622e | 13 | BuildRequires: perl-base |
fb954ded | 14 | BuildRequires: pkgconfig |
4b8ce793 | 15 | BuildRequires: rpmbuild(macros) >= 1.577 |
09f517f6 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
d07dd10b JB |
19 | A tag library needed for juk application which is part of |
20 | kdemultimedia package. | |
09f517f6 | 21 | |
b747209f JR |
22 | %description -l pl.UTF-8 |
23 | Biblioteka tag wykorzystywana przez program juk, będący częścią | |
d07dd10b | 24 | pakietu kdemultimedia. |
09f517f6 | 25 | |
26 | %package devel | |
27 | Summary: libtag - header files | |
3ef1ce87 | 28 | Summary(pl.UTF-8): libtag - pliki nagłówkowe |
55c3590b | 29 | Group: Development/Libraries |
09f517f6 | 30 | Requires: %{name} = %{version}-%{release} |
23366593 | 31 | Requires: libstdc++-devel |
09f517f6 | 32 | |
33 | %description devel | |
23366593 | 34 | Header files for tag library. |
09f517f6 | 35 | |
b747209f JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe biblioteki tag. | |
09f517f6 | 38 | |
1b404d9f | 39 | %package examples |
55c3590b | 40 | Summary: Example codes for taglib |
1b404d9f | 41 | Summary(hu.UTF-8): Példaprogramok |
55c3590b JB |
42 | Summary(pl.UTF-8): Przykładowe programy w postaci źródłowej dla tagliba |
43 | Group: Development/Libraries | |
1b404d9f ZU |
44 | |
45 | %description examples | |
55c3590b | 46 | Example codes for taglib. |
1b404d9f ZU |
47 | |
48 | %description examples -l hu.UTF-8 | |
49 | Példaprogramok. | |
50 | ||
55c3590b JB |
51 | %description examples -l pl.UTF-8 |
52 | Przykładowe programy w postaci źródłowej dla tagliba. | |
53 | ||
09f517f6 | 54 | %prep |
f56130a1 | 55 | %setup -q |
09f517f6 | 56 | |
57 | %build | |
9ee83894 BZ |
58 | install -d build |
59 | cd build | |
f6c1c82d | 60 | %cmake .. \ |
41d5f09a | 61 | -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \ |
f6c1c82d JB |
62 | -DWITH_ASF=ON \ |
63 | -DWITH_MP4=ON | |
64 | ||
09f517f6 | 65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
9ee83894 | 70 | %{__make} -C build install \ |
09f517f6 | 71 | DESTDIR=$RPM_BUILD_ROOT |
72 | ||
1b404d9f ZU |
73 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
74 | cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
75 | ||
09f517f6 | 76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
09f517f6 | 84 | %attr(755,root,root) %{_libdir}/libtag.so.*.*.* |
55c3590b | 85 | %attr(755,root,root) %ghost %{_libdir}/libtag.so.1 |
f56130a1 | 86 | %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* |
55c3590b | 87 | %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0 |
09f517f6 | 88 | |
89 | %files devel | |
d07dd10b | 90 | %defattr(644,root,root,755) |
09f517f6 | 91 | %attr(755,root,root) %{_bindir}/taglib-config |
6da6ba3f | 92 | %{_libdir}/libtag.so |
93 | %{_libdir}/libtag_c.so | |
08f46e02 | 94 | %{_pkgconfigdir}/taglib.pc |
fb954ded | 95 | %{_pkgconfigdir}/taglib_c.pc |
f56130a1 | 96 | %{_includedir}/taglib |
1b404d9f ZU |
97 | |
98 | %files examples | |
99 | %defattr(644,root,root,755) | |
100 | %{_examplesdir}/%{name}-%{version} |