rpms/bchunk/devel .cvsignore, 1.3, 1.4 01-track-size.dpatch, NONE, 1.1 bchunk-1.1.1-CFLAGS.patch, 1.2, 1.3 bchunk.spec, 1.15, 1.16 sources, 1.3, 1.4

konradm konradm at fedoraproject.org
Wed Aug 12 18:48:47 UTC 2009


Author: konradm

Update of /cvs/pkgs/rpms/bchunk/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22268

Added Files:
	.cvsignore 01-track-size.dpatch bchunk-1.1.1-CFLAGS.patch 
	bchunk.spec sources 
Log Message:
* Wed Aug 12 2009 Conrad Meyer <konrad at tylerc.org> - 1.2.0-9
- Add Debian's patch to fix wrong file size calculations.



Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	12 Aug 2009 18:48:46 -0000	1.4
@@ -0,0 +1 @@
+bchunk-1.2.0.tar.gz


--- NEW FILE 01-track-size.dpatch ---
#!/bin/sh /usr/share/dpatch/dpatch-run
## 01-track-size.dpatch by Piotr Kaczuba <pepe at attika.ath.cx>
##
## DP: Fix wrong track size calculation when having multiple tracks in one image
## DP: (Closes: #261274).

@DPATCH@

diff -Naur bchunk-1.2.0.orig/bchunk.c bchunk-1.2.0/bchunk.c
--- bchunk-1.2.0.orig/bchunk.c	2004-06-29 20:42:33.000000000 +0000
+++ bchunk-1.2.0/bchunk.c	2006-09-08 18:19:59.000000000 +0000
@@ -476,7 +476,7 @@
 			if (verbose)
 				printf(" (startsect %ld ofs %ld)", track->startsect, track->start);
 			if ((prevtrack) && (prevtrack->stopsect < 0)) {
-				prevtrack->stopsect = track->startsect;
+				prevtrack->stopsect = track->startsect - 1;
 				prevtrack->stop = track->start - 1;
 			}
 		}
@@ -484,7 +484,7 @@
 	
 	if (track) {
 		fseek(binf, 0, SEEK_END);
-		track->stop = ftell(binf);
+		track->stop = ftell(binf) - 1;
 		track->stopsect = track->stop / SECTLEN;
 	}
 	

bchunk-1.1.1-CFLAGS.patch:
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: bchunk-1.1.1-CFLAGS.patch
===================================================================
RCS file: bchunk-1.1.1-CFLAGS.patch
diff -N bchunk-1.1.1-CFLAGS.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bchunk-1.1.1-CFLAGS.patch	12 Aug 2009 18:48:46 -0000	1.3
@@ -0,0 +1,12 @@
+diff -Naur bchunk-1.1.1-orig/Makefile bchunk-1.1.1/Makefile
+--- bchunk-1.1.1-orig/Makefile	2001-08-02 14:51:40.000000000 +0200
++++ bchunk-1.1.1/Makefile	2003-05-06 11:24:34.000000000 +0200
+@@ -3,7 +3,7 @@
+ # For systems with GCC (Linux, and others with GCC installed):
+ CC = gcc
+ LD = gcc
+-CFLAGS = -Wall -Wstrict-prototypes -O2
++#CFLAGS = -Wall -Wstrict-prototypes -O2
+ 
+ # For systems with a legacy CC:
+ #CC = cc


Index: bchunk.spec
===================================================================
RCS file: bchunk.spec
diff -N bchunk.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bchunk.spec	12 Aug 2009 18:48:46 -0000	1.16
@@ -0,0 +1,79 @@
+Summary: CD image format converter from .bin/.cue to .iso/.cdr
+Name: bchunk
+Version: 1.2.0
+Release: 9%{?dist}
+URL: http://he.fi/bchunk/
+License: GPLv2+
+Group: Applications/Archiving
+Source0: http://he.fi/bchunk/bchunk-%{version}.tar.gz
+Patch0: 01-track-size.dpatch
+Patch1: bchunk-1.1.1-CFLAGS.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
+
+%description
+The bchunk package contains a UNIX/C rewrite of the BinChunker program.
+BinChunker converts a CD image in a .bin/.cue format (sometimes .raw/.cue)
+into a set of .iso and .cdr tracks.  The .bin/.cue format is used by some
+non-UNIX CD-writing software, but is not supported on most other
+CD-writing programs.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+install -m 755 bchunk $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -p -m 644 bchunk.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc COPYING ChangeLog README bchunk-%{version}.lsm
+%{_bindir}/bchunk
+%{_mandir}/man1/bchunk.1.gz
+
+%changelog
+* Wed Aug 12 2009 Conrad Meyer <konrad at tylerc.org> - 1.2.0-9
+- Add Debian's patch to fix wrong file size calculations.
+
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.0-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Feb 08 2008 Michael Schwendt <mschwendt at fedoraproject.org>
+- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
+
+* Tue Aug 21 2007 Michael Schwendt <mschwendt at fedoraproject.org>
+- rebuilt
+
+* Thu Aug  2 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.2.0-5
+- Clarify licence (GPLv2+).
+
+* Mon Aug 28 2006 Michael Schwendt <mschwendt at fedoraproject.org>
+- rebuilt
+
+* Sat Feb 25 2006 Michael Schwendt <mschwendt at fedoraproject.org> - 1.2.0-3
+- rebuilt for FC5
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt at fedoraproject.org>
+- rebuilt
+
+* Wed Jun 30 2004 Michael Schwendt <mschwendt at fedoraproject.org> - 0:1.2.0-0.fdr.1
+- Update to 1.2.0 (very minor feature add.)
+- A few spec updates.
+
+* Tue May  6 2003 Michael Schwendt <mschwendt at fedoraproject.org> - 0:1.1.1-0.fdr.3
+- Don't strip-install files.
+- Patch1: CFLAGS were hardcoded in the Makefile.
+
+* Mon May  5 2003 Michael Schwendt <mschwendt at fedoraproject.org> - 0:1.1.1-0.fdr.1
+- Update Red Hat's 1.0.0-7 rpm, adhere to Fedora package guidelines.
+


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	12 Aug 2009 18:48:47 -0000	1.4
@@ -0,0 +1 @@
+6a613da3f34f9a303f202d2e9731d231  bchunk-1.2.0.tar.gz




More information about the fedora-extras-commits mailing list