From 233665939c25e7f046eae7cbfc2ce15458405626 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 6 Feb 2004 12:31:20 +0000 Subject: [PATCH] - added libtool-sanitize (to sanitize -L in *.la) and am18 patch - rebuild ac/am, restored config.sub refresh (still needed on amd64) - it's normal shared library, not kpart or anything, so *.la can stay in -devel(?) - added c binding Changed files: taglib.spec -> 1.10 --- taglib.spec | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/taglib.spec b/taglib.spec index 1a280b5..bbe4cf9 100644 --- a/taglib.spec +++ b/taglib.spec @@ -1,4 +1,3 @@ - Summary: A tag library for reading and editing audio meta data Summary(pl): Biblioteka tag do odczytu i edycji metadanych dotycz±cych d¼wiêku Name: taglib @@ -8,9 +7,12 @@ License: GPL Group: X11/Libraries Source0: http://ktown.kde.org/~wheeler/taglib/%{name}-%{version}.tar.gz # Source0-md5: 9595e2cf3e12de96afbe81ae7f4cad33 +Patch0: %{name}-libtool-sanitize.patch +Patch1: %{name}-am18.patch URL: http://ktown.kde.org/~wheeler/taglib/ -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: autoconf >= 2.52 +BuildRequires: automake >= 1.6 +# is it needed? taglib links with libstdc++ only BuildRequires: kdelibs-devel >= 9:3.2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -19,7 +21,7 @@ A tag library needed for juk application which is part of kdemultimedia package. %description -l pl -Biblioteka tag wykorzystywana przez program juk, bed±cego czê¶ci± +Biblioteka tag wykorzystywana przez program juk, bed±cy czê¶ci± pakietu kdemultimedia. %package devel @@ -27,17 +29,23 @@ Summary: libtag - header files Summary(pl): libtag - pliki nag³ówkowe Group: X11/Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: libstdc++-devel %description devel -A tag library - header files. +Header files for tag library. %description devel -l pl -Biblioteka tag - pliki nag³ówkowe. +Pliki nag³ówkowe biblioteki tag. %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build +cp -f /usr/share/automake/config.* admin +%{__make} -f admin/Makefile.common cvs + %configure \ --disable-rpath \ --enable-final \ @@ -60,10 +68,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libtag.so.*.*.* -%{_libdir}/libtag.la +%attr(755,root,root) %{_libdir}/libtag_c.so.*.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/taglib-config %attr(755,root,root) %{_libdir}/libtag.so +%attr(755,root,root) %{_libdir}/libtag_c.so +%{_libdir}/libtag.la +%{_libdir}/libtag_c.la %{_includedir}/taglib -- 2.44.0