]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- updated to 1.8
[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.8
5 Release:        1
6 License:        LGPL v2.1 or MPL v1.1
7 Group:          Libraries
8 Source0:        https://github.com/downloads/taglib/taglib/%{name}-%{version}.tar.gz
9 # Source0-md5:  dcb8bd1b756f2843e18b1fdf3aaeee15
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.577
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         -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
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 %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 %{_libdir}/libtag.so
98 %{_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.134293 seconds and 3 git commands to generate.