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
-Version: 1.0
-Release: 1
+Version: 1.4
+Release: 2
License: GPL
Group: X11/Libraries
-Source0: http://ktown.kde.org/~wheeler/taglib/%{name}-%{version}.tar.gz
-# Source0-md5: 9595e2cf3e12de96afbe81ae7f4cad33
+Source0: http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
+# Source0-md5: dcd50ddb2544faeae77f194804559404
Patch0: %{name}-libtool-sanitize.patch
-Patch1: %{name}-am18.patch
-URL: http://ktown.kde.org/~wheeler/taglib/
+URL: http://ktown.kde.org/~wheeler/taglib.html
BuildRequires: autoconf >= 2.52
BuildRequires: automake >= 1.6
BuildRequires: libstdc++-devel
+BuildRequires: perl-base
+#BuildRequires: unsermake >= 040805-1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
kdemultimedia package.
%description -l pl
-Biblioteka tag wykorzystywana przez program juk, bed±cy czê¶ci±
+Biblioteka tag wykorzystywana przez program juk, bêd±cy czê¶ci±
pakietu kdemultimedia.
%package devel
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
cp -f /usr/share/automake/config.* admin
+# unsermake is broken here (Makefile.calls not generated by configure)
+#export UNSERMAKE=/usr/share/unsermake/unsermake
+%{__perl} -pi -e 's/(automake\*1\.6\.\* \| automake\*1\.7\*)/automake*1.[6-9]*/' admin/cvs.sh
%{__make} -f admin/Makefile.common cvs
%configure \
%attr(755,root,root) %{_libdir}/libtag_c.so
%{_libdir}/libtag.la
%{_libdir}/libtag_c.la
+%{_pkgconfigdir}/taglib.pc
%{_includedir}/taglib