]> git.pld-linux.org Git - packages/taglib.git/blob - taglib.spec
- removed unused __snap
[packages/taglib.git] / taglib.spec
1 Summary:        A tag library for reading and editing audio meta data
2 Summary(pl):    Biblioteka tag do odczytu i edycji metadanych dotycz±cych d¼wiêku
3 Name:           taglib
4 Version:        1.3.1
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:  f5c7c71513ba51b240864d7475a199c0
10 Patch0:         %{name}-libtool-sanitize.patch
11 URL:            http://ktown.kde.org/~wheeler/taglib.html
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake >= 1.6
14 #BuildRequires: unsermake >= 040805-1
15 BuildRequires:  libstdc++-devel
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
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):    libtag - pliki nag³ówkowe
29 Group:          X11/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
37 Pliki nag³ówkowe biblioteki tag.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 %build
44 cp -f /usr/share/automake/config.* admin
45 # unsermake is broken here (Makefile.calls not generated by configure)
46 #export UNSERMAKE=/usr/share/unsermake/unsermake
47 %{__perl} -pi -e 's/(automake\*1\.6\.\* \| automake\*1\.7\*)/automake*1.[6-9]*/' admin/cvs.sh
48 %{__make} -f admin/Makefile.common cvs
49
50 %configure \
51         --disable-rpath \
52         --enable-final \
53         --with-qt-libraries=%{_libdir}
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
72 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/taglib-config
77 %attr(755,root,root) %{_libdir}/libtag.so
78 %attr(755,root,root) %{_libdir}/libtag_c.so
79 %{_libdir}/libtag.la
80 %{_libdir}/libtag_c.la
81 %{_includedir}/taglib
This page took 0.061811 seconds and 4 git commands to generate.