ntfsprogs-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. %define name ntfsprogs
  2. %define ver 2.0.0
  3. %define rel 1%{?_dist_release}
  4. Summary: NTFS filesystem libraries and utilities
  5. Summary(ja): NTFS ファイルシステム用ライブラリおよびユーティリティ
  6. Name: %{name}
  7. Version: %{ver}
  8. Release: %{rel}
  9. Source: http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.bz2
  10. Patch0: ntfsprogs-2.0.0-build-extras-by-default.patch
  11. Patch1: ntfsprogs-2.0.0-mbonly-info.patch
  12. Patch2: ntfsprogs-2.0.0-check_volume.patch
  13. Patch3: ntfsprogs-2.0.0-undelete-segfault-fix.patch
  14. Patch4: ntfsprogs-2.0.0-avoid_crash_on_failed_readall_attr.patch
  15. Patch5: ntfsprogs-2.0.0-implicit-DSO-libgcrypt.patch
  16. BuildRequires: libuuid-devel
  17. Buildroot: %{_tmppath}/%{name}-root
  18. License: GPL
  19. Group: System Environment/Base
  20. %description
  21. The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full support
  22. for the NTFS filesystem to the Linux operating system. The ntfsprogs package
  23. currently consists of a static library and utilities such as mkntfs, ntfscat,
  24. ntfsls, ntfsresize, and ntfsundelete (for a full list of included utilities
  25. see man 8 ntfsprogs after installation).
  26. %package gnomevfs
  27. Summary: NTFS GNOME virtual filesystem module
  28. Group: System Environment/Base
  29. Requires: ntfsprogs = %{ver}-%{rel}
  30. Requires: glib2 gnome-vfs2
  31. BuildRequires: glib2-devel gnome-vfs2-devel
  32. %description gnomevfs
  33. This package contains the NTFS GNOME virtual filesystem (VFS) module which
  34. allows GNOME VFS clients to seamlessly utilize the NTFS library (libntfs).
  35. #%package fuse
  36. #Summary: NTFS FUSE module (ntfsmount)
  37. #Group: System Environment/Base
  38. #Requires: ntfsprogs = %{ver}-%{rel}
  39. #Requires: fuse >= 2.3.0
  40. #
  41. #%description fuse
  42. #This package contains the ntfsmount utility which is an NTFS filesystem in
  43. #userspace (FUSE) module allowing users to mount an ntfs filesystem from
  44. #userspace and accessing it using the functionality provided by the NTFS
  45. #library (libntfs).
  46. %package devel
  47. Summary: files required to compile software that uses libntfs
  48. Group: Development/Libraries
  49. Requires: ntfsprogs = %{ver}-%{rel}
  50. %description devel
  51. This package includes the header files and libraries needed to link software
  52. with libntfs.
  53. %prep
  54. %setup
  55. %patch0 -p1
  56. %patch1 -p1
  57. %patch2 -p1 -b .check_volume
  58. %patch3 -p1 -b .undelete-segfault-fix
  59. %patch4 -p1 -b .avoid_crash_on_failed_readall_attr
  60. %patch5 -p1 -b .DSO
  61. %build
  62. autoreconf -if
  63. if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
  64. %configure --enable-gnome-vfs --disable-static
  65. make %{?_smp_mflags}
  66. %install
  67. rm -rf "$RPM_BUILD_ROOT"
  68. make DESTDIR="$RPM_BUILD_ROOT" install-strip
  69. ## remove unuse files
  70. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  71. rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la
  72. %clean
  73. rm -rf "$RPM_BUILD_ROOT"
  74. %files
  75. %defattr(-,root,root)
  76. %doc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO.include TODO.libntfs TODO.ntfsprogs doc/CodingStyle doc/attribute_definitions doc/attributes.txt doc/compression.txt doc/tunable_settings doc/template.c doc/template.h doc/system_files.txt doc/system_security_descriptors.txt
  77. # %{_bindir}/ntfs[^m][^o]*
  78. %{_bindir}/*
  79. %{_sbindir}/*
  80. /sbin/mkfs.ntfs
  81. %{_mandir}/man8/mkntfs.8*
  82. %{_mandir}/man8/mkfs.ntfs.8*
  83. %{_mandir}/man8/ntfs[^m][^o]*.8*
  84. %{_mandir}/man8/libntfs*
  85. %{_libdir}/libntfs.*so*
  86. %files gnomevfs
  87. %defattr(-,root,root)
  88. %{_mandir}/man8/libntfs-gnomevfs.8*
  89. %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*so*
  90. %config %{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf
  91. %files devel
  92. %defattr(-,root,root)
  93. %{_includedir}/*
  94. # %{_libdir}/libntfs.*a*
  95. # %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a*
  96. %changelog
  97. * Wed Nov 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.0-1
  98. - new upstream release
  99. - remove *.a files from -devel pkg
  100. - fix files list
  101. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.13.0-1vl5
  102. - applied new versioning policy, spec in utf-8
  103. - removed *.la
  104. * Sat Apr 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13.0-0vl1
  105. - added gnomevfs module
  106. - updated to 1.13.0
  107. * Fri Oct 7 2005 Anton Altaparmakov <aia21@cantab.net>
  108. - Fix the file distribution after new binaries have been added as they were
  109. ending up in the wrong rpms.
  110. * Mon Aug 15 2005 Szabolcs Szakacsits <szaka@sienet.hu>
  111. - Add mkfs.ntfs.
  112. * Wed Mar 10 2004 Anton Altaparmakov <aia21@cantab.net>
  113. - Cleanup descriptions ready for 1.9.0 release.
  114. * Mon Jan 19 2004 Anton Altaparmakov <aia21@cantab.net>
  115. - Add %config to tell rpm that libntfs.conf is a config file.
  116. * Thu Nov 6 2003 Anton Altaparmakov <aia21@cantab.net>
  117. - merge libntfs-gnomevfs
  118. * Fri Oct 19 2003 Richard Russon <ntfs@flatcap.org>
  119. - added the new utility ntfscat
  120. * Tue Sep 30 2003 Anton Altaparmakov <aia21@cantab.net>
  121. - added the new utilities, ntfsclone, ntfscluster, ntfsinfo, ntfsls.
  122. * Thu Jul 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.1-0vl1
  123. - initial build for Vine Linux
  124. * Sat Jan 18 2003 Anton Altaparmakov <aia21@cantab.net>
  125. - renamed to ntfsprogs.spec.in
  126. - change source tar ball name to ntfsprogs
  127. * Tue Dec 10 2002 Anton Altaparmakov <aia21@cantab.net>
  128. - added ntfsresize
  129. * Wed Jul 18 2002 Richard Russon <ntfs@flatcap.org>
  130. - added ntfsundelete
  131. - change TODO names
  132. * Wed Jul 3 2002 Anton Altaparmakov <aia21@cantab.net>
  133. - update my email address
  134. * Mon Jun 3 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  135. - update %doc with new TODO files
  136. * Tue Apr 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  137. - update %description text for ntfslabel
  138. * Tue Mar 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  139. - update %description text
  140. * Sat Jan 26 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  141. - update %description text
  142. - make dependencies pick the right version automatically
  143. * Thu Jan 10 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  144. - add dependency on linux-ntfs to linux-ntfs-devel
  145. - update %description text
  146. * Fri Nov 09 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  147. - update %description text
  148. - (re)enable installation of shared libraries
  149. * Wed Aug 22 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  150. - update %description text
  151. * Thu Aug 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  152. - update %description text
  153. * Wed Jul 25 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  154. - include sbin install path (mkntfs now is in sbin)
  155. * Tue Jul 24 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  156. - update %description text
  157. * Mon Jun 11 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  158. - remove duplicate %configure options
  159. - remove shared library installation as shared libraries are disabled by
  160. default
  161. * Sun Jun 10 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  162. - add man pages stuff
  163. - update info text
  164. - add new doc/ stuff
  165. - modify installation to do install-strip instead of install followed by manual
  166. stripping
  167. - update download URL to be the fast sourceforge http download server
  168. * Fri Feb 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  169. - started changelog