rpms/ntfs-3g/F-7 ntfs-3g.spec,1.23,1.24 sources,1.18,1.19

Tom Callaway (spot) fedora-extras-commits at redhat.com
Tue May 6 02:19:35 UTC 2008


Author: spot

Update of /cvs/extras/rpms/ntfs-3g/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31056/F-7

Modified Files:
	ntfs-3g.spec sources 
Log Message:
update all branches to 1.2506 to fix data corrupter


Index: ntfs-3g.spec
===================================================================
RCS file: /cvs/extras/rpms/ntfs-3g/F-7/ntfs-3g.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ntfs-3g.spec	20 Nov 2007 19:23:21 -0000	1.23
+++ ntfs-3g.spec	6 May 2008 02:18:52 -0000	1.24
@@ -1,14 +1,22 @@
+# Pass --with externalfuse to compile against system fuse lib
+# Default is internal fuse-lite.
+%define with_externalfuse %{?_with_externalfuse:1}%{!?_with_externalfuse:0}
+
 Name:		ntfs-3g
 Summary: 	Linux NTFS userspace driver 
-Version:	1.1120
+Version:	1.2506
 Release:	1%{?dist}
 License:	GPLv2+
 Group:		System Environment/Base
 Source0:	http://www.ntfs-3g.org/%{name}-%{version}.tgz
+Patch0:		ntfs-3g-1.2216-nomtab.patch
 URL:		http://www.ntfs-3g.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%if %{with_externalfuse}
 BuildRequires:	fuse-devel
 Requires:	fuse
+%endif
+Requires:	pkgconfig
 Epoch:		2
 Provides:	ntfsprogs-fuse = %{epoch}:%{version}-%{release}
 Obsoletes:	ntfsprogs-fuse
@@ -38,10 +46,21 @@
 functionality.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
-%configure --disable-static --disable-ldconfig --exec-prefix=/ --bindir=/bin --libdir=/%{_lib}
+CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
+%configure \
+	--disable-static \
+	--disable-ldconfig \
+%if 0%{?_with_externalfuse:1}
+	--with-fuse=external \
+%endif
+	--exec-prefix=/ \
+	--bindir=/bin \
+	--sbindir=/sbin \
+	--libdir=/%{_lib}
 make %{?_smp_mflags}
 
 %install
@@ -69,6 +88,12 @@
 ln -s /bin/ntfs-3g ntfs-3g
 ln -s /bin/ntfsmount ntfsmount
 
+# Put the .pc file in the right place.
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
+mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig/libntfs-3g.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
+
+# We get this on our own, thanks.
+rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -81,10 +106,11 @@
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING CREDITS NEWS README
 /sbin/mount.ntfs
-%attr(754,root,fuse) /sbin/mount.ntfs-3g
+%attr(754,root,root) /sbin/mount.ntfs-3g
 /sbin/mount.ntfs-fuse
 /bin/ntfs-3g
 /bin/ntfsmount
+/bin/ntfs-3g.probe
 %{_bindir}/ntfs-3g
 %{_bindir}/ntfsmount
 /%{_lib}/libntfs-3g.so.*
@@ -94,10 +120,35 @@
 %defattr(-,root,root,-)
 %{_includedir}/ntfs-3g/
 /%{_lib}/libntfs-3g.so
+%{_libdir}/pkgconfig/libntfs-3g.pc
 
 %changelog
+* Mon May  5 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2506-1
+- update to 1.2506
+
+* Tue Apr 22 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2412-1
+- update to 1.2412
+
+* Mon Mar 10 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2310-2
+- update sources
+
+* Mon Mar 10 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2310-1
+- update to 1.2310
+- make -n a noop (bz 403291)
+
+* Tue Feb 26 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2216-3
+- rebuild against fixed gcc (PR35264, bugzilla 433546)
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2:1.2216-2
+- Autorebuild for GCC 4.3
+
+* Mon Feb 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2:1.2216-1
+- update to 1.2216
+
 * Tue Nov 20 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2:1.1120-1
 - bump to 1.1120
+- default to fuse-lite (internal to ntfs-3g), but enable --with externalfuse 
+  as an option
 
 * Thu Nov  8 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2:1.1104-1
 - bump to 1.1104


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ntfs-3g/F-7/sources,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sources	20 Nov 2007 19:23:21 -0000	1.18
+++ sources	6 May 2008 02:18:52 -0000	1.19
@@ -1 +1 @@
-9561f07a6a5faa0fb6615727c0003b26  ntfs-3g-1.1120.tgz
+fc8b4419000fd104192a2b065ca5a327  ntfs-3g-1.2506.tgz




More information about the scm-commits mailing list