Author: dtimms
Update of /cvs/free/rpms/dvbcut/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29674/devel
Modified Files:
.cvsignore dvbcut-snapshot.sh dvbcut.spec sources
Log Message:
improved dvbcut-snapshot script and update to current svn release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/dvbcut/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 4 Jan 2009 13:14:36 -0000 1.2
+++ .cvsignore 29 Mar 2009 13:52:13 -0000 1.3
@@ -1 +1 @@
-dvbcut-20090101.tar.bz2
+dvbcut-svn157.tar.bz2
Index: dvbcut-snapshot.sh
===================================================================
RCS file: /cvs/free/rpms/dvbcut/devel/dvbcut-snapshot.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dvbcut-snapshot.sh 4 Jan 2009 13:14:36 -0000 1.1
+++ dvbcut-snapshot.sh 29 Mar 2009 13:52:13 -0000 1.2
@@ -1,6 +1,8 @@
#!/bin/bash
# based on:
#
http://cvs.rpmfusion.org/viewvc/rpms/ffmpeg/F-10/ffmpeg-snapshot.sh?revis...
+# 2009-03-29 DT add request a specific revision, and use the revision number.
+echo " dvbcut-snapshot. A specific svn revision can be passed."
set -e
@@ -14,20 +16,32 @@
unset CDPATH
pwd=$(pwd)
-svn=$(date +%Y%m%d)
+
+if [ -n "$1" ]
+then
+ svnrev=$1
+else
+# determine current head/trunk svn revision number
+ echo " determining the head revision number..."
+ svnrev=$(svn info
https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk |grep
Revision|cut -c11-)
+fi
+echo " retrieving revision $svnrev ..."
cd "$tmp"
-svn checkout -r {$svn}
https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk
dvbcut-$svn
-cd dvbcut-$svn
+svn checkout -r $svnrev
https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk
dvbcut-svn$svnrev
+cd dvbcut-svn$svnrev
+echo " stripping ffmpeg and creating bzip2 archive ..."
# remove included ffmpeg sources
find . -type d -name "ffmpeg*" -print0 | xargs -0r rm -rf
# remove subversion control files
find . -type d -name .svn -print0 | xargs -0r rm -rf
+# remove debian packaging files
+find . -type d -name "debian*" -print0 | xargs -0r rm -rf
+
cd ..
-tar jcf "$pwd"/dvbcut-$svn.tar.bz2 dvbcut-$svn
+tar jcf "$pwd"/dvbcut-svn$svnrev.tar.bz2 dvbcut-svn$svnrev
cd - >/dev/null
-
Index: dvbcut.spec
===================================================================
RCS file: /cvs/free/rpms/dvbcut/devel/dvbcut.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dvbcut.spec 29 Mar 2009 12:59:12 -0000 1.2
+++ dvbcut.spec 29 Mar 2009 13:52:13 -0000 1.3
@@ -1,18 +1,17 @@
-# svn revision 138
-%define svndate 20090101
+%define svnrev 157
Name: dvbcut
-Version: 0.5.4
-Release: 7.%{svndate}svn138%{?dist}
+Version: 0.6.0
+Release: 1.svn%{svnrev}%{?dist}
Summary: Clip and convert DVB transport streams to MPEG2 program streams
Group: Applications/Multimedia
License: GPLv2+ and LGPLv2
URL:
http://dvbcut.sourceforge.net/
-# No release has been made since 2007-mid, so using svn checkout for latest fixes:
+# fixes were committed to svn since release, so using svn checkout for latest fixes:
#Source0:
http://downloads.sourceforge.net/dvbcut/dvbcut_%{version}.tar.bz2
# use sh dvbcut-snapshot.sh to create the archive
-Source0: %{name}-%{svndate}.tar.bz2
+Source0: %{name}-svn%{svnrev}.tar.bz2
# Since no icons have been developed by the project, created icons using the
# weblogo on the home page. Scaled and text pixel edited using gimp.
Source1: %{name}.logo.16x16.png
@@ -45,7 +44,7 @@
%prep
-%setup -q -n %{name}-%{svndate}
+%setup -q -n %{name}-svn%{svnrev}
# Fix QTDIR libs in configure
sed -i 's,-L$QTDIR/$mr_libdirname,-L$QTDIR/lib,' configure.in
@@ -53,6 +52,10 @@
# Avoid stripping binaries
sed -i 's,$(STRIP) $(topdir)/bin/dvbcut$(EXEEXT),,' src/Makefile.in
+# don't try to make Debian and ffmpeg files that have been stripped
+sed -i '/debian/d' DISTFILES
+sed -i '/ffmpeg.src/d' DISTFILES
+
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
@@ -113,8 +116,15 @@
%changelog
-* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> -
0.5.4-7.20090101svn138
-- rebuild for new F11 features
+* Sun Mar 29 2009 David Timms <iinet.net.au at dtimms> - 0.6.0-2.svn157
+- update to latest post release svn checkout for minor fixes
+- improve dvbcut-snapshot script to not use the checkout date
+- del the debian packaging files from the snapshot archive
+- mod spec to use svnver rather svndate, to make it easier to confirm sources
+- del lines from DISTFILES that reference removed files
+
+* Sat Feb 7 2009 David Timms <iinet.net.au at dtimms> - 0.6.0-1.20090207svn156
+- update to 0.6.0 release, still using post release svn checkout
* Thu Jan 1 2009 David Timms <iinet.net.au at dtimms> - 0.5.4-6.20090101svn138
- add required alphatag to post release package name
Index: sources
===================================================================
RCS file: /cvs/free/rpms/dvbcut/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 4 Jan 2009 13:14:36 -0000 1.2
+++ sources 29 Mar 2009 13:52:13 -0000 1.3
@@ -1 +1 @@
-67a96cc944bca1f8873c2ade95db2de4 dvbcut-20090101.tar.bz2
+0d397162702d0001e540d57f836662fd dvbcut-svn157.tar.bz2