From d2998a3e8b73d220db41bbb9ce583814c913a8b4 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 16 2013 16:40:51 +0000 Subject: import fuseiso-20070708-13.el7.src.rpm --- diff --git a/.fuseiso.metadata b/.fuseiso.metadata new file mode 100644 index 0000000..89cbd52 --- /dev/null +++ b/.fuseiso.metadata @@ -0,0 +1 @@ +fe142556ad35dd7e5dc31a16183232a6e2da7692 SOURCES/fuseiso-20070708.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/fuseiso-largeiso.patch b/SOURCES/fuseiso-largeiso.patch new file mode 100644 index 0000000..4da0995 --- /dev/null +++ b/SOURCES/fuseiso-largeiso.patch @@ -0,0 +1,48 @@ +Index: src/isofs.c +=================================================================== +--- src/isofs.c (Revision 5) ++++ src/isofs.c (Arbeitskopie) +@@ -178,7 +178,7 @@ + context.data_size = isonum_723(context.pd.logical_block_size); + + if(!context.block_size) { +- fprintf(stderr, "init: wrong block data size %d, using default 2048\n", context.data_size); ++ fprintf(stderr, "init: wrong block data size %Lu, using default 2048\n", context.data_size); + context.data_size = 2048; + }; + +@@ -324,7 +324,7 @@ + + if(context.block_size != 2048) { + // report unusual data block size +- printf("Data block size: %d\n", context.block_size); ++ printf("Data block size: %Lu\n", context.block_size); + }; + + char buf[129]; +@@ -479,7 +479,7 @@ + }; + size_t len = read(context.fd, buf, context.data_size); + if(len != context.data_size) { +- fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %d required; errno %d, message %s\n", ++ fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %Lu required; errno %d, message %s\n", + len, (int) off, context.data_size, errno, strerror(errno)); + fprintf(stderr, "isofs_read_raw_block: huh? reading zeros beyond file end? someone want to save a penny?\n"); + memset(buf + len, 0, context.data_size - len); +Index: src/isofs.h +=================================================================== +--- src/isofs.h (Revision 5) ++++ src/isofs.h (Arbeitskopie) +@@ -38,9 +38,9 @@ + struct iso_directory_record *root; + int file_offset; // offset to begin of useful data (for .nrg files) + int id_offset; // offset to CD001 inside file +- size_t block_size; // raw block size +- size_t block_offset; // offset from block start to data +- size_t data_size; // data size inside block ++ off_t block_size; // raw block size ++ off_t block_offset; // offset from block start to data ++ off_t data_size; // data size inside block + int susp; // parse susp entries + int susp_skip; // skip bytes from susp SP entry + int joliet_level; // joliet extension level (1, 2 or 3) diff --git a/SPECS/fuseiso.spec b/SPECS/fuseiso.spec new file mode 100644 index 0000000..6f785dc --- /dev/null +++ b/SPECS/fuseiso.spec @@ -0,0 +1,81 @@ +Name: fuseiso +Summary: FUSE support for ISO filesystem images +Version: 20070708 +Release: 13%{?dist} +License: GPLv2+ +Group: System Environment/Base +Source0: http://ubiz.ru/dm/%{name}-%{version}.tar.bz2 +# Upstream: https://sourceforge.net/tracker/index.php?func=detail&aid=1933445&group_id=215002&atid=1031924 +Patch0: fuseiso-largeiso.patch +URL: http://sourceforge.net/projects/fuseiso/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: fuse-devel, glib2-devel, zlib-devel +Requires: fuse + +%description +Mount ISO filesystem images as a non-root user. Currently supports +plain ISO9660 Level 1 and 2, Rock Ridge, Joliet, zisofs. Supported image +types: ISO, BIN (single track only), NRG, MDF, IMG (CCD). + +%prep +%setup -q +%patch0 -p0 + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_bindir}/fuseiso + +%changelog +* Wed Feb 13 2013 Fedora Release Engineering - 20070708-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 20070708-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 20070708-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 20070708-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 4 2010 Tom "spot" Callaway - 20070708-9 +- rebuilt with fixed url (resolves bz 542998) + +* Thu Sep 17 2009 Peter Lemenkov - 20070708-8 +- Rebuilt with new fuse + +* Fri Jul 24 2009 Fedora Release Engineering - 20070708-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Apr 27 2009 Tom "spot" Callaway - 20070708-6 +- add explicit requires on fuse (bz 497681) + +* Tue Feb 24 2009 Fedora Release Engineering - 20070708-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Apr 3 2008 Tom "spot" Callaway 20070708-4 +- handle larger than 4GB isos (thanks to Thomas Bittermann, resolves + bz440436) + +* Tue Feb 19 2008 Fedora Release Engineering - 20070708-3 +- Autorebuild for GCC 4.3 + +* Wed Nov 14 2007 Tom "spot" Callaway 20070708-2 +- add zlib-devel as BR +- use macros in Source0 url +- add last - in defattr + +* Thu Nov 8 2007 Tom "spot" Callaway 20070708-1 +- Initial package for Fedora