]>
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 |
63c5b3b5 | 4 | Version: 1.11 |
f7c6dbb4 | 5 | Release: 1 |
f6c1c82d | 6 | License: LGPL v2.1 or MPL v1.1 |
55c3590b | 7 | Group: Libraries |
f7c6dbb4 JB |
8 | #Source0Download: http://taglib.github.io/ |
9 | Source0: http://taglib.github.io/releases/%{name}-%{version}.tar.gz | |
63c5b3b5 | 10 | # Source0-md5: be39fa2054df40664cb557126ad7cf7c |
f7c6dbb4 JB |
11 | URL: http://taglib.github.io/ |
12 | BuildRequires: cmake >= 2.8.0 | |
4aa1b00d | 13 | BuildRequires: libstdc++-devel |
f416622e | 14 | BuildRequires: perl-base |
fb954ded | 15 | BuildRequires: pkgconfig |
520a1b92 | 16 | BuildRequires: rpmbuild(macros) >= 1.603 |
09f517f6 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
f758e64b JB |
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. | |
09f517f6 | 24 | |
b747209f | 25 | %description -l pl.UTF-8 |
f758e64b JB |
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 | |
30 | ASF. | |
09f517f6 | 31 | |
32 | %package devel | |
33 | Summary: libtag - header files | |
3ef1ce87 | 34 | Summary(pl.UTF-8): libtag - pliki nagłówkowe |
55c3590b | 35 | Group: Development/Libraries |
09f517f6 | 36 | Requires: %{name} = %{version}-%{release} |
23366593 | 37 | Requires: libstdc++-devel |
09f517f6 | 38 | |
39 | %description devel | |
23366593 | 40 | Header files for tag library. |
09f517f6 | 41 | |
b747209f JR |
42 | %description devel -l pl.UTF-8 |
43 | Pliki nagłówkowe biblioteki tag. | |
09f517f6 | 44 | |
1b404d9f | 45 | %package examples |
55c3590b | 46 | Summary: Example codes for taglib |
1b404d9f | 47 | Summary(hu.UTF-8): Példaprogramok |
55c3590b JB |
48 | Summary(pl.UTF-8): Przykładowe programy w postaci źródłowej dla tagliba |
49 | Group: Development/Libraries | |
1b404d9f ZU |
50 | |
51 | %description examples | |
55c3590b | 52 | Example codes for taglib. |
1b404d9f ZU |
53 | |
54 | %description examples -l hu.UTF-8 | |
55 | Példaprogramok. | |
56 | ||
55c3590b JB |
57 | %description examples -l pl.UTF-8 |
58 | Przykładowe programy w postaci źródłowej dla tagliba. | |
59 | ||
09f517f6 | 60 | %prep |
f56130a1 | 61 | %setup -q |
09f517f6 | 62 | |
63 | %build | |
9ee83894 BZ |
64 | install -d build |
65 | cd build | |
f6c1c82d | 66 | %cmake .. \ |
f6c1c82d JB |
67 | -DWITH_ASF=ON \ |
68 | -DWITH_MP4=ON | |
69 | ||
09f517f6 | 70 | %{__make} |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
9ee83894 | 75 | %{__make} -C build install \ |
09f517f6 | 76 | DESTDIR=$RPM_BUILD_ROOT |
77 | ||
1b404d9f ZU |
78 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
79 | cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
80 | ||
09f517f6 | 81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
520a1b92 | 89 | %doc AUTHORS NEWS |
09f517f6 | 90 | %attr(755,root,root) %{_libdir}/libtag.so.*.*.* |
55c3590b | 91 | %attr(755,root,root) %ghost %{_libdir}/libtag.so.1 |
f56130a1 | 92 | %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* |
55c3590b | 93 | %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0 |
09f517f6 | 94 | |
95 | %files devel | |
d07dd10b | 96 | %defattr(644,root,root,755) |
09f517f6 | 97 | %attr(755,root,root) %{_bindir}/taglib-config |
520a1b92 JB |
98 | %attr(755,root,root) %{_libdir}/libtag.so |
99 | %attr(755,root,root) %{_libdir}/libtag_c.so | |
08f46e02 | 100 | %{_pkgconfigdir}/taglib.pc |
fb954ded | 101 | %{_pkgconfigdir}/taglib_c.pc |
f56130a1 | 102 | %{_includedir}/taglib |
1b404d9f ZU |
103 | |
104 | %files examples | |
105 | %defattr(644,root,root,755) | |
106 | %{_examplesdir}/%{name}-%{version} |