]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- tabs in preamble
[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.4
5 Release:        3
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  dcd50ddb2544faeae77f194804559404
10 Patch0:         %{name}-libtool-sanitize.patch
11 Patch1:         kde-ac260.patch
12 Patch2:         kde-am.patch
13 Patch3:         kde-ac260-lt.patch
14 URL:            http://ktown.kde.org/~wheeler/taglib.html
15 BuildRequires:  autoconf >= 2.52
16 BuildRequires:  automake >= 1.6
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  perl-base
19 #BuildRequires: unsermake >= 040805-1
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 A tag library needed for juk application which is part of
24 kdemultimedia package.
25
26 %description -l pl.UTF-8
27 Biblioteka tag wykorzystywana przez program juk, będący częścią
28 pakietu kdemultimedia.
29
30 %package devel
31 Summary:        libtag - header files
32 Summary(pl.UTF-8):      libtag - pliki nagłówkowe
33 Group:          X11/Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       libstdc++-devel
36
37 %description devel
38 Header files for tag library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki tag.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47 %patch2 -p1
48 %patch3 -p1
49
50 %build
51 cp -f /usr/share/automake/config.* admin
52 # unsermake is broken here (Makefile.calls not generated by configure)
53 #export UNSERMAKE=/usr/share/unsermake/unsermake
54 %{__make} -f admin/Makefile.common cvs
55
56 %configure \
57         --disable-rpath \
58         --enable-final \
59         --with-qt-libraries=%{_libdir}
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
78 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/taglib-config
83 %attr(755,root,root) %{_libdir}/libtag.so
84 %attr(755,root,root) %{_libdir}/libtag_c.so
85 %{_libdir}/libtag.la
86 %{_libdir}/libtag_c.la
87 %{_pkgconfigdir}/taglib.pc
88 %{_includedir}/taglib
This page took 0.132147 seconds and 4 git commands to generate.