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 #Source0Download: http://taglib.github.io/
9 Source0: http://taglib.github.io/releases/%{name}-%{version}.tar.gz
10 # Source0-md5: cee7be0ccfc892fa433d6c837df9522a
11 URL: http://taglib.github.io/
12 BuildRequires: cmake >= 2.8.0
13 BuildRequires: libstdc++-devel
14 BuildRequires: perl-base
15 BuildRequires: pkgconfig
16 BuildRequires: rpmbuild(macros) >= 1.605
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 TagLib is a library for reading and editing the meta-data of several
21 popular audio formats. Currently it supports both ID3v1 and ID3v2 for
22 MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in
23 FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files.
25 %description -l pl.UTF-8
26 TagLib to biblioteka do odczytu i edycji metadanych kilku popularnych
27 formatów dźwiękowych. Aktualnie obsługiwane są znaczniki ID3v1 i ID3v2
28 w plikach MP3, komentarze Ogg Vorbis oraz znaczniki ID3 i komentarze
29 Vorbis w plikach FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 i
33 Summary: libtag - header files
34 Summary(pl.UTF-8): libtag - pliki nagłówkowe
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libstdc++-devel
40 Header files for tag library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki tag.
46 Summary: Example codes for taglib
47 Summary(hu.UTF-8): Példaprogramok
48 Summary(pl.UTF-8): Przykładowe programy w postaci źródłowej dla tagliba
49 Group: Development/Libraries
52 Example codes for taglib.
54 %description examples -l hu.UTF-8
57 %description examples -l pl.UTF-8
58 Przykładowe programy w postaci źródłowej dla tagliba.
73 rm -rf $RPM_BUILD_ROOT
75 %{__make} -C build install \
76 DESTDIR=$RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libtag.so.1
92 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/taglib-config
98 %attr(755,root,root) %{_libdir}/libtag.so
99 %attr(755,root,root) %{_libdir}/libtag_c.so
100 %{_pkgconfigdir}/taglib.pc
101 %{_pkgconfigdir}/taglib_c.pc
102 %{_includedir}/taglib
105 %defattr(644,root,root,755)
106 %{_examplesdir}/%{name}-%{version}