]>
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 |
dc603d72 | 4 | Version: 1.9.1 |
4b8ce793 | 5 | Release: 1 |
f6c1c82d | 6 | License: LGPL v2.1 or MPL v1.1 |
55c3590b | 7 | Group: Libraries |
348cc956 | 8 | Source0: https://github.com/taglib/taglib/releases/download/v%{version}/taglib-%{version}.tar.gz |
dc603d72 | 9 | # Source0-md5: 0d35df96822bbd564c5504cb3c2e4d86 |
520a1b92 | 10 | URL: http://taglib.github.com/ |
9ee83894 | 11 | BuildRequires: cmake >= 2.6.2 |
4aa1b00d | 12 | BuildRequires: libstdc++-devel |
f416622e | 13 | BuildRequires: perl-base |
fb954ded | 14 | BuildRequires: pkgconfig |
520a1b92 | 15 | BuildRequires: rpmbuild(macros) >= 1.603 |
09f517f6 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
f758e64b JB |
19 | TagLib is a library for reading and editing the meta-data of several |
20 | popular audio formats. Currently it supports both ID3v1 and ID3v2 for | |
21 | MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in | |
22 | FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files. | |
09f517f6 | 23 | |
b747209f | 24 | %description -l pl.UTF-8 |
f758e64b JB |
25 | TagLib to biblioteka do odczytu i edycji metadanych kilku popularnych |
26 | formatów dźwiękowych. Aktualnie obsługiwane są znaczniki ID3v1 i ID3v2 | |
27 | w plikach MP3, komentarze Ogg Vorbis oraz znaczniki ID3 i komentarze | |
28 | Vorbis w plikach FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 i | |
29 | ASF. | |
09f517f6 | 30 | |
31 | %package devel | |
32 | Summary: libtag - header files | |
3ef1ce87 | 33 | Summary(pl.UTF-8): libtag - pliki nagłówkowe |
55c3590b | 34 | Group: Development/Libraries |
09f517f6 | 35 | Requires: %{name} = %{version}-%{release} |
23366593 | 36 | Requires: libstdc++-devel |
09f517f6 | 37 | |
38 | %description devel | |
23366593 | 39 | Header files for tag library. |
09f517f6 | 40 | |
b747209f JR |
41 | %description devel -l pl.UTF-8 |
42 | Pliki nagłówkowe biblioteki tag. | |
09f517f6 | 43 | |
1b404d9f | 44 | %package examples |
55c3590b | 45 | Summary: Example codes for taglib |
1b404d9f | 46 | Summary(hu.UTF-8): Példaprogramok |
55c3590b JB |
47 | Summary(pl.UTF-8): Przykładowe programy w postaci źródłowej dla tagliba |
48 | Group: Development/Libraries | |
1b404d9f ZU |
49 | |
50 | %description examples | |
55c3590b | 51 | Example codes for taglib. |
1b404d9f ZU |
52 | |
53 | %description examples -l hu.UTF-8 | |
54 | Példaprogramok. | |
55 | ||
55c3590b JB |
56 | %description examples -l pl.UTF-8 |
57 | Przykładowe programy w postaci źródłowej dla tagliba. | |
58 | ||
09f517f6 | 59 | %prep |
f56130a1 | 60 | %setup -q |
09f517f6 | 61 | |
62 | %build | |
9ee83894 BZ |
63 | install -d build |
64 | cd build | |
f6c1c82d | 65 | %cmake .. \ |
f6c1c82d JB |
66 | -DWITH_ASF=ON \ |
67 | -DWITH_MP4=ON | |
68 | ||
09f517f6 | 69 | %{__make} |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
9ee83894 | 74 | %{__make} -C build install \ |
09f517f6 | 75 | DESTDIR=$RPM_BUILD_ROOT |
76 | ||
1b404d9f ZU |
77 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
78 | cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
79 | ||
09f517f6 | 80 | %clean |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %post -p /sbin/ldconfig | |
84 | %postun -p /sbin/ldconfig | |
85 | ||
86 | %files | |
87 | %defattr(644,root,root,755) | |
520a1b92 | 88 | %doc AUTHORS NEWS |
09f517f6 | 89 | %attr(755,root,root) %{_libdir}/libtag.so.*.*.* |
55c3590b | 90 | %attr(755,root,root) %ghost %{_libdir}/libtag.so.1 |
f56130a1 | 91 | %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* |
55c3590b | 92 | %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0 |
09f517f6 | 93 | |
94 | %files devel | |
d07dd10b | 95 | %defattr(644,root,root,755) |
09f517f6 | 96 | %attr(755,root,root) %{_bindir}/taglib-config |
520a1b92 JB |
97 | %attr(755,root,root) %{_libdir}/libtag.so |
98 | %attr(755,root,root) %{_libdir}/libtag_c.so | |
08f46e02 | 99 | %{_pkgconfigdir}/taglib.pc |
fb954ded | 100 | %{_pkgconfigdir}/taglib_c.pc |
f56130a1 | 101 | %{_includedir}/taglib |
1b404d9f ZU |
102 | |
103 | %files examples | |
104 | %defattr(644,root,root,755) | |
105 | %{_examplesdir}/%{name}-%{version} |