]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
1a17c6c9becd19914caa6e9394f7a9d408dbba8e
[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.6
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  5ecad0816e586a954bd676a86237d054
10 Patch0:         %{name}-libtool-sanitize.patch
11 Patch1:         kde-ac260-lt.patch
12 Patch2:         taglib-am.patch
13 URL:            http://ktown.kde.org/~wheeler/taglib.html
14 BuildRequires:  cmake >= 2.6.2
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  perl-base
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A tag library needed for juk application which is part of
22 kdemultimedia package.
23
24 %description -l pl.UTF-8
25 Biblioteka tag wykorzystywana przez program juk, będący częścią
26 pakietu kdemultimedia.
27
28 %package devel
29 Summary:        libtag - header files
30 Summary(pl.UTF-8):      libtag - pliki nagłówkowe
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       libstdc++-devel
34
35 %description devel
36 Header files for tag library.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki tag.
40
41 %prep
42 %setup -q
43
44 %build
45 install -d build
46 cd build
47 %cmake \
48         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
49         -DLIB_INSTALL_DIR=%{_libdir} \
50         -DWITH_ASF=ON \
51         -DWITH_MP4=ON \
52 %if "%{_lib}" == "lib64"
53         -DLIB_SUFFIX=64 \
54 %endif
55         ../
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} -C build install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libtag.so.?
74 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
75 %attr(755,root,root) %ghost %{_libdir}/libtag_c.so.?
76
77 %files devel
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/taglib-config
80 %{_libdir}/libtag.so
81 %{_libdir}/libtag_c.so
82 %{_pkgconfigdir}/taglib.pc
83 %{_pkgconfigdir}/taglib_c.pc
84 %{_includedir}/taglib
This page took 0.030905 seconds and 2 git commands to generate.