rpms/ntfs-3g/devel .cvsignore, 1.17, 1.18 ntfs-3g.spec, 1.23, 1.24 sources, 1.18, 1.19

Tom Callaway (spot) fedora-extras-commits at redhat.com
Mon Jan 21 15:37:16 UTC 2008


Author: spot

Update of /cvs/extras/rpms/ntfs-3g/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21627

Modified Files:
	.cvsignore ntfs-3g.spec sources 
Log Message:

1.2121-RC



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ntfs-3g/devel/.cvsignore,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- .cvsignore	20 Nov 2007 19:23:29 -0000	1.17
+++ .cvsignore	21 Jan 2008 15:36:41 -0000	1.18
@@ -1 +1 @@
-ntfs-3g-1.1120.tgz
+ntfs-3g-1.2121-RC.tgz


Index: ntfs-3g.spec
===================================================================
RCS file: /cvs/extras/rpms/ntfs-3g/devel/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:29 -0000	1.23
+++ ntfs-3g.spec	21 Jan 2008 15:36:41 -0000	1.24
@@ -1,14 +1,21 @@
+# 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
-Release:	1%{?dist}
+Version:	1.2121
+Release:	0.1.RC%{?dist}
 License:	GPLv2+
 Group:		System Environment/Base
-Source0:	http://www.ntfs-3g.org/%{name}-%{version}.tgz
+Source0:	http://www.ntfs-3g.org/%{name}-%{version}-RC.tgz
 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 +45,20 @@
 functionality.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-RC
 
 %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 +86,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
@@ -85,6 +108,7 @@
 /sbin/mount.ntfs-fuse
 /bin/ntfs-3g
 /bin/ntfsmount
+/bin/ntfs-3g.probe
 %{_bindir}/ntfs-3g
 %{_bindir}/ntfsmount
 /%{_lib}/libntfs-3g.so.*
@@ -94,10 +118,13 @@
 %defattr(-,root,root,-)
 %{_includedir}/ntfs-3g/
 /%{_lib}/libntfs-3g.so
+%{_libdir}/pkgconfig/libntfs-3g.pc
 
 %changelog
 * 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/devel/sources,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sources	20 Nov 2007 19:23:29 -0000	1.18
+++ sources	21 Jan 2008 15:36:41 -0000	1.19
@@ -1 +1 @@
-9561f07a6a5faa0fb6615727c0003b26  ntfs-3g-1.1120.tgz
+adf5b08d02239e2045f6d8bf777ba16e  ntfs-3g-1.2121-RC.tgz




More information about the fedora-extras-commits mailing list