]> git.pld-linux.org Git - packages/taglib.git/blame - taglib.spec
- updated to 1.10
[packages/taglib.git] / taglib.spec
CommitLineData
97bc134e 1Summary: A tag library for reading and editing audio meta data
3ef1ce87 2Summary(pl.UTF-8): Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku
09f517f6 3Name: taglib
f7c6dbb4
JB
4Version: 1.10
5Release: 1
f6c1c82d 6License: LGPL v2.1 or MPL v1.1
55c3590b 7Group: Libraries
f7c6dbb4
JB
8#Source0Download: http://taglib.github.io/
9Source0: http://taglib.github.io/releases/%{name}-%{version}.tar.gz
10# Source0-md5: 5b4441a15423b046dd92a096e09ea22c
11URL: http://taglib.github.io/
12BuildRequires: cmake >= 2.8.0
4aa1b00d 13BuildRequires: libstdc++-devel
f416622e 14BuildRequires: perl-base
fb954ded 15BuildRequires: pkgconfig
520a1b92 16BuildRequires: rpmbuild(macros) >= 1.603
09f517f6 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
f758e64b
JB
20TagLib is a library for reading and editing the meta-data of several
21popular audio formats. Currently it supports both ID3v1 and ID3v2 for
22MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in
23FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files.
09f517f6 24
b747209f 25%description -l pl.UTF-8
f758e64b
JB
26TagLib to biblioteka do odczytu i edycji metadanych kilku popularnych
27formatów dźwiękowych. Aktualnie obsługiwane są znaczniki ID3v1 i ID3v2
28w plikach MP3, komentarze Ogg Vorbis oraz znaczniki ID3 i komentarze
29Vorbis w plikach FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 i
30ASF.
09f517f6 31
32%package devel
33Summary: libtag - header files
3ef1ce87 34Summary(pl.UTF-8): libtag - pliki nagłówkowe
55c3590b 35Group: Development/Libraries
09f517f6 36Requires: %{name} = %{version}-%{release}
23366593 37Requires: libstdc++-devel
09f517f6 38
39%description devel
23366593 40Header files for tag library.
09f517f6 41
b747209f
JR
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki tag.
09f517f6 44
1b404d9f 45%package examples
55c3590b 46Summary: Example codes for taglib
1b404d9f 47Summary(hu.UTF-8): Példaprogramok
55c3590b
JB
48Summary(pl.UTF-8): Przykładowe programy w postaci źródłowej dla tagliba
49Group: Development/Libraries
1b404d9f
ZU
50
51%description examples
55c3590b 52Example codes for taglib.
1b404d9f
ZU
53
54%description examples -l hu.UTF-8
55Példaprogramok.
56
55c3590b
JB
57%description examples -l pl.UTF-8
58Przykładowe programy w postaci źródłowej dla tagliba.
59
09f517f6 60%prep
f56130a1 61%setup -q
09f517f6 62
63%build
9ee83894
BZ
64install -d build
65cd build
f6c1c82d 66%cmake .. \
f6c1c82d
JB
67 -DWITH_ASF=ON \
68 -DWITH_MP4=ON
69
09f517f6 70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
9ee83894 75%{__make} -C build install \
09f517f6 76 DESTDIR=$RPM_BUILD_ROOT
77
1b404d9f
ZU
78install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
80
09f517f6 81%clean
82rm -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}
This page took 0.038429 seconds and 4 git commands to generate.