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