]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
7ce47be34420ec672ec75be011635a43ac85afb9
[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.7
5 Release:        1
6 License:        LGPL v2.1 or MPL v1.1
7 Group:          Libraries
8 Source0:        http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  6a7e312668f153fa905a81714aebc257
10 URL:            http://ktown.kde.org/~wheeler/taglib.html
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 A tag library needed for juk application which is part of
20 kdemultimedia package.
21
22 %description -l pl.UTF-8
23 Biblioteka tag wykorzystywana przez program juk, będący częścią
24 pakietu kdemultimedia.
25
26 %package devel
27 Summary:        libtag - header files
28 Summary(pl.UTF-8):      libtag - pliki nagłówkowe
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       libstdc++-devel
32
33 %description devel
34 Header files for tag library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki tag.
38
39 %package examples
40 Summary:        Example codes for taglib
41 Summary(hu.UTF-8):      Példaprogramok
42 Summary(pl.UTF-8):      Przykładowe programy w postaci źródłowej dla tagliba
43 Group:          Development/Libraries
44
45 %description examples
46 Example codes for taglib.
47
48 %description examples -l hu.UTF-8
49 Példaprogramok.
50
51 %description examples -l pl.UTF-8
52 Przykładowe programy w postaci źródłowej dla tagliba.
53
54 %prep
55 %setup -q
56
57 %build
58 install -d build
59 cd build
60 %cmake .. \
61         -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
62         -DWITH_ASF=ON \
63         -DWITH_MP4=ON
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} -C build install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
74 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libtag.so.1
86 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/taglib-config
92 %{_libdir}/libtag.so
93 %{_libdir}/libtag_c.so
94 %{_pkgconfigdir}/taglib.pc
95 %{_pkgconfigdir}/taglib_c.pc
96 %{_includedir}/taglib
97
98 %files examples
99 %defattr(644,root,root,755)
100 %{_examplesdir}/%{name}-%{version}
This page took 0.037259 seconds and 2 git commands to generate.