ntfs-3g-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Summary: Linux NTFS userspace driver
  2. Summary(ja): Linux NTFS ユーザ空間ドライバ
  3. Name: ntfs-3g
  4. Version: 2009.4.4
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Base
  8. Source0: http://www.ntfs-3g.org/%{name}-%{version}.tgz
  9. Source1: 20-ntfs-config-write-policy.fdi
  10. URL: http://www.ntfs-3g.org/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. %description
  13. The ntfs-3g driver is an open source, GPL licensed, third generation
  14. Linux NTFS driver. It provides full read-write access to NTFS, excluding
  15. access to encrypted files, writing compressed files, changing file
  16. ownership, access right.
  17. Technically it's based on and a major improvement to the third
  18. generation Linux NTFS driver, ntfsmount. The improvements include
  19. functionality, quality and performance enhancements.
  20. ntfs-3g features are being merged to ntfsmount. In the meanwhile,
  21. ntfs-3g is currently the only free, as in either speech or beer, NTFS
  22. driver for Linux that supports unlimited file creation and deletion.
  23. %package devel
  24. Summary: Development files and libraries for ntfs-3g
  25. Summary(ja): ntfs-3g の開発ファイルとライブラリ
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. Headers and libraries for developing applications that use ntfs-3g
  30. functionality.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-static --disable-ldconfig \
  35. --exec-prefix=/ \
  36. --bindir=/bin \
  37. --sbindir=/sbin \
  38. --libdir=/%{_lib}
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. mkdir -p $RPM_BUILD_ROOT/sbin
  43. make DESTDIR=$RPM_BUILD_ROOT install
  44. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  45. # make the symlink an actual copy to avoid confusion
  46. rm -rf $RPM_BUILD_ROOT/sbin/mount.ntfs-3g
  47. cp -a $RPM_BUILD_ROOT/bin/ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-3g
  48. # make compatibility symlinks
  49. ln -s ntfs-3g $RPM_BUILD_ROOT/bin/ntfsmount
  50. ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-fuse
  51. ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs
  52. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  53. ln -s /bin/ntfs-3g $RPM_BUILD_ROOT%{_bindir}/ntfs-3g
  54. ln -s /bin/ntfsmount $RPM_BUILD_ROOT%{_bindir}/ntfsmount
  55. # Put the .pc file in the right place.
  56. mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
  57. mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig/libntfs-3g.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
  58. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/
  59. cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/
  60. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root,-)
  67. %doc AUTHORS ChangeLog COPYING CREDITS NEWS README
  68. /sbin/mount.ntfs
  69. %attr(4754,root,root) /sbin/mount.ntfs-3g
  70. /sbin/mount.ntfs-fuse
  71. /bin/ntfs-3g
  72. /bin/ntfs-3g.probe
  73. /bin/ntfsmount
  74. %{_bindir}/ntfs-3g
  75. %{_bindir}/ntfsmount
  76. /%{_lib}/libntfs-3g.so.*
  77. %{_datadir}/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi
  78. %{_mandir}/man8/*
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/ntfs-3g/
  82. /%{_lib}/libntfs-3g.so
  83. %{_libdir}/pkgconfig/*.pc
  84. %changelog
  85. * Mon Jun 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.4.4-1
  86. - new upstream release
  87. - use internal fuse-lite, remove BR: fuse-devel and R: fuse
  88. - move binaries to /bin
  89. - move libraries to /%%{_lib}
  90. - add fdi file to enable hal automounting
  91. * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.1.1-1
  92. - new upstream release
  93. * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2812-1
  94. - new upstream release
  95. * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2712-1
  96. - new upstream release
  97. * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2412-1
  98. - new upstream release
  99. * Tue Jun 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.516-0vl1
  100. - initial build for Vine Linux
  101. * Tue May 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.516-1
  102. - bump to 1.516
  103. - fix bugzilla 232031
  104. * Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.417-1
  105. - bump to 1.417
  106. * Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.416-1
  107. - bump to 1.416
  108. - drop patch0, upstreamed
  109. * Wed Apr 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-2
  110. - allow non-root users to mount/umount ntfs volumes (Laszlo Dvornik)
  111. * Sat Mar 31 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-1
  112. - bump to 1.328
  113. - drop patch, use --disable-ldconfig instead
  114. * Wed Feb 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.0-1
  115. - 1.0 release!
  116. * Fri Jan 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.9.20070118
  117. - symlink to mount.ntfs
  118. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.8.20070118
  119. - bump to 20070118
  120. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.7.20070116
  121. - bump to latest version for all active dists
  122. * Wed Jan 3 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.6.20070102
  123. - bump to latest version (note that upstream fixed their date mistake)
  124. * Wed Nov 1 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.5.20070920
  125. - add an obsoletes for ntfsprogs-fuse
  126. - make some convenience symlinks
  127. * Wed Oct 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.4.20070920
  128. - add some extra Provides
  129. * Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.3.20070920
  130. - add explicit Requires on fuse
  131. * Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.2.20070920
  132. - fixed versioning (bumped epoch, since it now shows as older)
  133. - change sbin symlink to actual copy to be safe
  134. * Sun Oct 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.20070920-1
  135. - Initial package for Fedora Extras