1 Summary: A tag library for reading and editing audio meta data
2 Summary(pl.UTF-8): Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku
6 License: LGPL v2.1 or MPL v1.1
8 Source0: http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
9 # Source0-md5: 6a7e312668f153fa905a81714aebc257
10 URL: http://ktown.kde.org/~wheeler/taglib.html
11 BuildRequires: cmake >= 2.6.2
12 BuildRequires: libstdc++-devel
13 BuildRequires: perl-base
14 BuildRequires: pkgconfig
15 BuildRequires: rpmbuild(macros) >= 1.577
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A tag library needed for juk application which is part of
20 kdemultimedia package.
22 %description -l pl.UTF-8
23 Biblioteka tag wykorzystywana przez program juk, będący częścią
24 pakietu kdemultimedia.
27 Summary: libtag - header files
28 Summary(pl.UTF-8): libtag - pliki nagłówkowe
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
31 Requires: libstdc++-devel
34 Header files for tag library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki tag.
40 Summary: Example codes for taglib
41 Summary(hu.UTF-8): Példaprogramok
42 Summary(pl.UTF-8): Przykładowe programy w postaci źródłowej dla tagliba
43 Group: Development/Libraries
46 Example codes for taglib.
48 %description examples -l hu.UTF-8
51 %description examples -l pl.UTF-8
52 Przykładowe programy w postaci źródłowej dla tagliba.
61 -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
68 rm -rf $RPM_BUILD_ROOT
70 %{__make} -C build install \
71 DESTDIR=$RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
74 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libtag.so.1
86 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/taglib-config
93 %{_libdir}/libtag_c.so
94 %{_pkgconfigdir}/taglib.pc
95 %{_pkgconfigdir}/taglib_c.pc
99 %defattr(644,root,root,755)
100 %{_examplesdir}/%{name}-%{version}