epel9
Tom Callaway 17 years ago
parent ca48526fa6
commit 492d37ffa8

@ -1 +1 @@
ntfs-3g-1.1120.tgz ntfs-3g-1.2121-RC.tgz

@ -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 Name: ntfs-3g
Summary: Linux NTFS userspace driver Summary: Linux NTFS userspace driver
Version: 1.1120 Version: 1.2121
Release: 1%{?dist} Release: 0.1.RC%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base 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/ URL: http://www.ntfs-3g.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %{with_externalfuse}
BuildRequires: fuse-devel BuildRequires: fuse-devel
Requires: fuse Requires: fuse
%endif
Requires: pkgconfig
Epoch: 2 Epoch: 2
Provides: ntfsprogs-fuse = %{epoch}:%{version}-%{release} Provides: ntfsprogs-fuse = %{epoch}:%{version}-%{release}
Obsoletes: ntfsprogs-fuse Obsoletes: ntfsprogs-fuse
@ -38,10 +45,20 @@ Headers and libraries for developing applications that use ntfs-3g
functionality. functionality.
%prep %prep
%setup -q %setup -q -n %{name}-%{version}-RC
%build %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} make %{?_smp_mflags}
%install %install
@ -69,6 +86,12 @@ cd $RPM_BUILD_ROOT%{_bindir}
ln -s /bin/ntfs-3g ntfs-3g ln -s /bin/ntfs-3g ntfs-3g
ln -s /bin/ntfsmount ntfsmount 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 %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -85,6 +108,7 @@ rm -rf $RPM_BUILD_ROOT
/sbin/mount.ntfs-fuse /sbin/mount.ntfs-fuse
/bin/ntfs-3g /bin/ntfs-3g
/bin/ntfsmount /bin/ntfsmount
/bin/ntfs-3g.probe
%{_bindir}/ntfs-3g %{_bindir}/ntfs-3g
%{_bindir}/ntfsmount %{_bindir}/ntfsmount
/%{_lib}/libntfs-3g.so.* /%{_lib}/libntfs-3g.so.*
@ -94,10 +118,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/ntfs-3g/ %{_includedir}/ntfs-3g/
/%{_lib}/libntfs-3g.so /%{_lib}/libntfs-3g.so
%{_libdir}/pkgconfig/libntfs-3g.pc
%changelog %changelog
* Tue Nov 20 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.1120-1 * Tue Nov 20 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.1120-1
- bump to 1.1120 - 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@redhat.com> 2:1.1104-1 * Thu Nov 8 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.1104-1
- bump to 1.1104 - bump to 1.1104

@ -1 +1 @@
9561f07a6a5faa0fb6615727c0003b26 ntfs-3g-1.1120.tgz adf5b08d02239e2045f6d8bf777ba16e ntfs-3g-1.2121-RC.tgz

Loading…
Cancel
Save