Summary: Linux NTFS userspace driver Summary(ja): Linux NTFS ユーザ空間ドライバ Name: ntfs-3g Version: 2011.1.15 Release: 1%{?_dist_release} License: GPL Group: System Environment/Base Source0: http://www.ntfs-3g.org/%{name}-%{version}.tgz Source1: 20-ntfs-config-write-policy.fdi URL: http://www.ntfs-3g.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description The ntfs-3g driver is an open source, GPL licensed, third generation Linux NTFS driver. It provides full read-write access to NTFS, excluding access to encrypted files, writing compressed files, changing file ownership, access right. Technically it's based on and a major improvement to the third generation Linux NTFS driver, ntfsmount. The improvements include functionality, quality and performance enhancements. ntfs-3g features are being merged to ntfsmount. In the meanwhile, ntfs-3g is currently the only free, as in either speech or beer, NTFS driver for Linux that supports unlimited file creation and deletion. %package devel Summary: Development files and libraries for ntfs-3g Summary(ja): ntfs-3g の開発ファイルとライブラリ Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Headers and libraries for developing applications that use ntfs-3g functionality. %prep %setup -q %build %configure --disable-static --disable-ldconfig \ --exec-prefix=/ \ --bindir=/bin \ --sbindir=/sbin \ --libdir=/%{_lib} make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/sbin make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la # make the symlink an actual copy to avoid confusion rm -rf $RPM_BUILD_ROOT/sbin/mount.ntfs-3g cp -a $RPM_BUILD_ROOT/bin/ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-3g # make compatibility symlinks ln -s ntfs-3g $RPM_BUILD_ROOT/bin/ntfsmount ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-fuse ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs mkdir -p $RPM_BUILD_ROOT%{_bindir} ln -s /bin/ntfs-3g $RPM_BUILD_ROOT%{_bindir}/ntfs-3g ln -s /bin/ntfsmount $RPM_BUILD_ROOT%{_bindir}/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/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/ cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} rm -f $RPM_BUILD_ROOT/%{_lib}/libntfs-3g.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING CREDITS NEWS README /sbin/mount.lowntfs-3g /sbin/mount.ntfs %attr(4754,root,root) /sbin/mount.ntfs-3g /sbin/mount.ntfs-fuse /bin/lowntfs-3g /bin/ntfs-3g /bin/ntfs-3g.probe /bin/ntfs-3g.secaudit /bin/ntfs-3g.usermap /bin/ntfsmount %{_bindir}/ntfs-3g %{_bindir}/ntfsmount /%{_lib}/libntfs-3g.so.* %{_datadir}/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi %{_mandir}/man8/* %files devel %defattr(-,root,root,-) %{_includedir}/ntfs-3g/ /%{_lib}/libntfs-3g.so %{_libdir}/pkgconfig/*.pc %changelog * Sat Feb 26 2011 Yoji TOYODA 2011.1.15-1 - new upstream release - fix %%files (add lowntfs-3g) * Mon Jun 15 2009 Daisuke SUZUKI 2009.4.4-1 - new upstream release - use internal fuse-lite, remove BR: fuse-devel and R: fuse - move binaries to /bin - move libraries to /%%{_lib} - add fdi file to enable hal automounting * Sun Jan 25 2009 Daisuke SUZUKI 2009.1.1-1 - new upstream release * Sun Aug 17 2008 Daisuke SUZUKI 1.2812-1 - new upstream release * Fri Jul 25 2008 Daisuke SUZUKI 1.2712-1 - new upstream release * Thu Apr 24 2008 Daisuke SUZUKI 1.2412-1 - new upstream release * Tue Jun 05 2007 Daisuke SUZUKI 1.516-0vl1 - initial build for Vine Linux * Tue May 15 2007 Tom "spot" Callaway 2:1.516-1 - bump to 1.516 - fix bugzilla 232031 * Sun Apr 15 2007 Tom "spot" Callaway 2:1.417-1 - bump to 1.417 * Sun Apr 15 2007 Tom "spot" Callaway 2:1.416-1 - bump to 1.416 - drop patch0, upstreamed * Wed Apr 4 2007 Tom "spot" Callaway 2:1.328-2 - allow non-root users to mount/umount ntfs volumes (Laszlo Dvornik) * Sat Mar 31 2007 Tom "spot" Callaway 2:1.328-1 - bump to 1.328 - drop patch, use --disable-ldconfig instead * Wed Feb 21 2007 Tom "spot" Callaway 2:1.0-1 - 1.0 release! * Fri Jan 19 2007 Tom "spot" Callaway 2:0-0.9.20070118 - symlink to mount.ntfs * Wed Jan 17 2007 Tom "spot" Callaway 2:0-0.8.20070118 - bump to 20070118 * Wed Jan 17 2007 Tom "spot" Callaway 2:0-0.7.20070116 - bump to latest version for all active dists * Wed Jan 3 2007 Tom "spot" Callaway 1:0-0.6.20070102 - bump to latest version (note that upstream fixed their date mistake) * Wed Nov 1 2006 Tom "spot" Callaway 1:0-0.5.20070920 - add an obsoletes for ntfsprogs-fuse - make some convenience symlinks * Wed Oct 25 2006 Tom "spot" Callaway 1:0-0.4.20070920 - add some extra Provides * Mon Oct 16 2006 Tom "spot" Callaway 1:0-0.3.20070920 - add explicit Requires on fuse * Mon Oct 16 2006 Tom "spot" Callaway 1:0-0.2.20070920 - fixed versioning (bumped epoch, since it now shows as older) - change sbin symlink to actual copy to be safe * Sun Oct 15 2006 Tom "spot" Callaway 0.1.20070920-1 - Initial package for Fedora Extras