]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- updated to 1.11.1
[packages/taglib.git] / taglib.spec
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
3 Name:           taglib
4 Version:        1.11.1
5 Release:        1
6 License:        LGPL v2.1 or MPL v1.1
7 Group:          Libraries
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)
18
19 %description
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.
24
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
30 ASF.
31
32 %package devel
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
38
39 %description devel
40 Header files for tag library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki tag.
44
45 %package examples
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
50
51 %description examples
52 Example codes for taglib.
53
54 %description examples -l hu.UTF-8
55 Példaprogramok.
56
57 %description examples -l pl.UTF-8
58 Przykładowe programy w postaci źródłowej dla tagliba.
59
60 %prep
61 %setup -q
62
63 %build
64 install -d build
65 cd build
66 %cmake .. \
67         -DWITH_ASF=ON \
68         -DWITH_MP4=ON
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} -C build install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
80
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)
89 %doc AUTHORS NEWS
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
94
95 %files devel
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
103
104 %files examples
105 %defattr(644,root,root,755)
106 %{_examplesdir}/%{name}-%{version}
This page took 0.056653 seconds and 3 git commands to generate.