ntfs-3g-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. Summary: Linux NTFS userspace driver
  2. Summary(ja): Linux NTFS ユーザ空間ドライバ
  3. Name: ntfs-3g
  4. Version: 2011.1.15
  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. rm -f $RPM_BUILD_ROOT/%{_lib}/libntfs-3g.la
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %post -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %files
  67. %defattr(-,root,root,-)
  68. %doc AUTHORS ChangeLog COPYING CREDITS NEWS README
  69. /sbin/mount.lowntfs-3g
  70. /sbin/mount.ntfs
  71. %attr(4754,root,root) /sbin/mount.ntfs-3g
  72. /sbin/mount.ntfs-fuse
  73. /bin/lowntfs-3g
  74. /bin/ntfs-3g
  75. /bin/ntfs-3g.probe
  76. /bin/ntfs-3g.secaudit
  77. /bin/ntfs-3g.usermap
  78. /bin/ntfsmount
  79. %{_bindir}/ntfs-3g
  80. %{_bindir}/ntfsmount
  81. /%{_lib}/libntfs-3g.so.*
  82. %{_datadir}/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi
  83. %{_mandir}/man8/*
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_includedir}/ntfs-3g/
  87. /%{_lib}/libntfs-3g.so
  88. %{_libdir}/pkgconfig/*.pc
  89. %changelog
  90. * Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2011.1.15-1
  91. - new upstream release
  92. - fix %%files (add lowntfs-3g)
  93. * Mon Jun 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.4.4-1
  94. - new upstream release
  95. - use internal fuse-lite, remove BR: fuse-devel and R: fuse
  96. - move binaries to /bin
  97. - move libraries to /%%{_lib}
  98. - add fdi file to enable hal automounting
  99. * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.1.1-1
  100. - new upstream release
  101. * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2812-1
  102. - new upstream release
  103. * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2712-1
  104. - new upstream release
  105. * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2412-1
  106. - new upstream release
  107. * Tue Jun 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.516-0vl1
  108. - initial build for Vine Linux
  109. * Tue May 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.516-1
  110. - bump to 1.516
  111. - fix bugzilla 232031
  112. * Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.417-1
  113. - bump to 1.417
  114. * Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.416-1
  115. - bump to 1.416
  116. - drop patch0, upstreamed
  117. * Wed Apr 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-2
  118. - allow non-root users to mount/umount ntfs volumes (Laszlo Dvornik)
  119. * Sat Mar 31 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-1
  120. - bump to 1.328
  121. - drop patch, use --disable-ldconfig instead
  122. * Wed Feb 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.0-1
  123. - 1.0 release!
  124. * Fri Jan 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.9.20070118
  125. - symlink to mount.ntfs
  126. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.8.20070118
  127. - bump to 20070118
  128. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.7.20070116
  129. - bump to latest version for all active dists
  130. * Wed Jan 3 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.6.20070102
  131. - bump to latest version (note that upstream fixed their date mistake)
  132. * Wed Nov 1 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.5.20070920
  133. - add an obsoletes for ntfsprogs-fuse
  134. - make some convenience symlinks
  135. * Wed Oct 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.4.20070920
  136. - add some extra Provides
  137. * Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.3.20070920
  138. - add explicit Requires on fuse
  139. * Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.2.20070920
  140. - fixed versioning (bumped epoch, since it now shows as older)
  141. - change sbin symlink to actual copy to be safe
  142. * Sun Oct 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.20070920-1
  143. - Initial package for Fedora Extras