diff --git a/.cvsignore b/.cvsignore index 62ae537..1540aba 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -taglib-1.4.tar.gz +taglib-20070924.tar.gz diff --git a/sources b/sources index 5cc1257..8e1f56a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dcd50ddb2544faeae77f194804559404 taglib-1.4.tar.gz +7969278421fe326520827b4e35fdffc5 taglib-20070924.tar.gz diff --git a/taglib-svn.sh b/taglib-svn.sh new file mode 100755 index 0000000..f3dd448 --- /dev/null +++ b/taglib-svn.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -d taglib ]; then + echo "Remove the \"taglib\" directory first !" + exit 1 +fi +svn export svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib +tar -czf taglib-`date +%Y%m%d`.tar.gz taglib +rm -rf taglib diff --git a/taglib.spec b/taglib.spec index cfd8cd7..31d7177 100644 --- a/taglib.spec +++ b/taglib.spec @@ -1,19 +1,22 @@ +%define svn 20070924 + Name: taglib -Version: 1.4 -Release: 6%{?dist} +Version: 1.5 +Release: 0.1.%{svn}svn%{?dist} Summary: Audio Meta-Data Library Group: System Environment/Libraries License: LGPLv2 URL: http://ktown.kde.org/~wheeler/taglib/ -Source: http://developer.kde.org/~wheeler/files/src/taglib-1.4.tar.gz +Source0: taglib-%{svn}.tar.gz +# The tarball is generated with the following script +Source1: taglib-svn.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: http://foetida.jaist.ac.jp:37565/~yaz/diary/2006/07/taglib-1.4_wchar.diff Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -BuildRequires: doxygen, graphviz %description TagLib is a library for reading and editing the meta-data of several @@ -31,18 +34,15 @@ Development tools for taglib %prep -%setup -q +%setup -q -n taglib %patch0 -p1 -b .wchar +make -f Makefile.cvs %build %configure --disable-rpath - make %{?_smp_mflags} -# Doc -pushd taglib-api -doxygen taglib.doxygen -popd + %install rm -rf $RPM_BUILD_ROOT @@ -68,16 +68,18 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) +%doc examples %{_bindir}/*-config %{_includedir}/* %{_libdir}/lib*.so #%{_libdir}/lib*.la %{_libdir}/pkgconfig/*.pc -%doc taglib-api/html -%doc examples %changelog +* Mon Sep 24 2007 Aurelien Bompard 1.5-0.1.20070924svn +- update to svn version + * Sun Aug 26 2007 Aurelien Bompard 1.4-6 - fix license tag - rebuild for BuildID