]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- x32 rebuild
[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.9.1
5 Release:        2
6 License:        LGPL v2.1 or MPL v1.1
7 Group:          Libraries
8 Source0:        https://github.com/taglib/taglib/releases/download/v%{version}/taglib-%{version}.tar.gz
9 # Source0-md5:  0d35df96822bbd564c5504cb3c2e4d86
10 URL:            http://taglib.github.com/
11 BuildRequires:  cmake >= 2.6.2
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  perl-base
14 BuildRequires:  pkgconfig
15 BuildRequires:  rpmbuild(macros) >= 1.603
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
23
24 %description -l pl.UTF-8
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.
30
31 %package devel
32 Summary:        libtag - header files
33 Summary(pl.UTF-8):      libtag - pliki nagłówkowe
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       libstdc++-devel
37
38 %description devel
39 Header files for tag library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki tag.
43
44 %package examples
45 Summary:        Example codes for taglib
46 Summary(hu.UTF-8):      Példaprogramok
47 Summary(pl.UTF-8):      Przykładowe programy w postaci źródłowej dla tagliba
48 Group:          Development/Libraries
49
50 %description examples
51 Example codes for taglib.
52
53 %description examples -l hu.UTF-8
54 Példaprogramok.
55
56 %description examples -l pl.UTF-8
57 Przykładowe programy w postaci źródłowej dla tagliba.
58
59 %prep
60 %setup -q
61
62 %build
63 install -d build
64 cd build
65 %cmake .. \
66         -DWITH_ASF=ON \
67         -DWITH_MP4=ON
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} -C build install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
79
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)
88 %doc AUTHORS NEWS
89 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libtag.so.1
91 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
92 %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/taglib-config
97 %attr(755,root,root) %{_libdir}/libtag.so
98 %attr(755,root,root) %{_libdir}/libtag_c.so
99 %{_pkgconfigdir}/taglib.pc
100 %{_pkgconfigdir}/taglib_c.pc
101 %{_includedir}/taglib
102
103 %files examples
104 %defattr(644,root,root,755)
105 %{_examplesdir}/%{name}-%{version}
This page took 0.073097 seconds and 3 git commands to generate.