ntfsprogs-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. %define name ntfsprogs
  2. %define ver 1.13.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.gz
  10. Buildroot: %{_tmppath}/%{name}-root
  11. License: GPL
  12. Group: System Environment/Base
  13. %description
  14. The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full support
  15. for the NTFS filesystem to the Linux operating system. The ntfsprogs package
  16. currently consists of a static library and utilities such as mkntfs, ntfscat,
  17. ntfsls, ntfsresize, and ntfsundelete (for a full list of included utilities
  18. see man 8 ntfsprogs after installation).
  19. %package gnomevfs
  20. Summary: NTFS GNOME virtual filesystem module
  21. Group: System Environment/Base
  22. Requires: ntfsprogs = %{ver}-%{rel}
  23. Requires: glib2 gnome-vfs2
  24. BuildRequires: glib2-devel gnome-vfs2-devel
  25. %description gnomevfs
  26. This package contains the NTFS GNOME virtual filesystem (VFS) module which
  27. allows GNOME VFS clients to seamlessly utilize the NTFS library (libntfs).
  28. #%package fuse
  29. #Summary: NTFS FUSE module (ntfsmount)
  30. #Group: System Environment/Base
  31. #Requires: ntfsprogs = %{ver}-%{rel}
  32. #Requires: fuse >= 2.3.0
  33. #
  34. #%description fuse
  35. #This package contains the ntfsmount utility which is an NTFS filesystem in
  36. #userspace (FUSE) module allowing users to mount an ntfs filesystem from
  37. #userspace and accessing it using the functionality provided by the NTFS
  38. #library (libntfs).
  39. %package devel
  40. Summary: files required to compile software that uses libntfs
  41. Group: Development/Libraries
  42. Requires: ntfsprogs = %{ver}-%{rel}
  43. %description devel
  44. This package includes the header files and libraries needed to link software
  45. with libntfs.
  46. %prep
  47. %setup
  48. %build
  49. if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
  50. %configure --enable-gnome-vfs
  51. make
  52. %install
  53. rm -rf "$RPM_BUILD_ROOT"
  54. make DESTDIR="$RPM_BUILD_ROOT" install-strip
  55. ## remove unuse files
  56. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  57. rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.la
  58. %clean
  59. rm -rf "$RPM_BUILD_ROOT"
  60. %files
  61. %defattr(-,root,root)
  62. %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
  63. %{_bindir}/ntfs[^m][^o]*
  64. %{_sbindir}/*
  65. /sbin/mkfs.ntfs
  66. %{_mandir}/man8/mkntfs.8*
  67. %{_mandir}/man8/mkfs.ntfs.8*
  68. %{_mandir}/man8/ntfs[^m][^o]*.8*
  69. %{_libdir}/libntfs.*so*
  70. %files gnomevfs
  71. %defattr(-,root,root)
  72. %{_mandir}/man8/libntfs-gnomevfs.8*
  73. %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*so*
  74. %config %{_sysconfdir}/gnome-vfs-2.0/modules/libntfs.conf
  75. %files devel
  76. %defattr(-,root,root)
  77. %{_includedir}/*
  78. %{_libdir}/libntfs.*a*
  79. %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a*
  80. %changelog
  81. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.13.0-1vl5
  82. - applied new versioning policy, spec in utf-8
  83. - removed *.la
  84. * Sat Apr 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13.0-0vl1
  85. - added gnomevfs module
  86. - updated to 1.13.0
  87. * Fri Oct 7 2005 Anton Altaparmakov <aia21@cantab.net>
  88. - Fix the file distribution after new binaries have been added as they were
  89. ending up in the wrong rpms.
  90. * Mon Aug 15 2005 Szabolcs Szakacsits <szaka@sienet.hu>
  91. - Add mkfs.ntfs.
  92. * Wed Mar 10 2004 Anton Altaparmakov <aia21@cantab.net>
  93. - Cleanup descriptions ready for 1.9.0 release.
  94. * Mon Jan 19 2004 Anton Altaparmakov <aia21@cantab.net>
  95. - Add %config to tell rpm that libntfs.conf is a config file.
  96. * Thu Nov 6 2003 Anton Altaparmakov <aia21@cantab.net>
  97. - merge libntfs-gnomevfs
  98. * Fri Oct 19 2003 Richard Russon <ntfs@flatcap.org>
  99. - added the new utility ntfscat
  100. * Tue Sep 30 2003 Anton Altaparmakov <aia21@cantab.net>
  101. - added the new utilities, ntfsclone, ntfscluster, ntfsinfo, ntfsls.
  102. * Thu Jul 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.1-0vl1
  103. - initial build for Vine Linux
  104. * Sat Jan 18 2003 Anton Altaparmakov <aia21@cantab.net>
  105. - renamed to ntfsprogs.spec.in
  106. - change source tar ball name to ntfsprogs
  107. * Tue Dec 10 2002 Anton Altaparmakov <aia21@cantab.net>
  108. - added ntfsresize
  109. * Wed Jul 18 2002 Richard Russon <ntfs@flatcap.org>
  110. - added ntfsundelete
  111. - change TODO names
  112. * Wed Jul 3 2002 Anton Altaparmakov <aia21@cantab.net>
  113. - update my email address
  114. * Mon Jun 3 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  115. - update %doc with new TODO files
  116. * Tue Apr 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  117. - update %description text for ntfslabel
  118. * Tue Mar 12 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  119. - update %description text
  120. * Sat Jan 26 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  121. - update %description text
  122. - make dependencies pick the right version automatically
  123. * Thu Jan 10 2002 Anton Altaparmakov <aia21@cam.ac.uk>
  124. - add dependency on linux-ntfs to linux-ntfs-devel
  125. - update %description text
  126. * Fri Nov 09 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  127. - update %description text
  128. - (re)enable installation of shared libraries
  129. * Wed Aug 22 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  130. - update %description text
  131. * Thu Aug 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  132. - update %description text
  133. * Wed Jul 25 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  134. - include sbin install path (mkntfs now is in sbin)
  135. * Tue Jul 24 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  136. - update %description text
  137. * Mon Jun 11 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  138. - remove duplicate %configure options
  139. - remove shared library installation as shared libraries are disabled by
  140. default
  141. * Sun Jun 10 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  142. - add man pages stuff
  143. - update info text
  144. - add new doc/ stuff
  145. - modify installation to do install-strip instead of install followed by manual
  146. stripping
  147. - update download URL to be the fast sourceforge http download server
  148. * Fri Feb 2 2001 Anton Altaparmakov <aia21@cam.ac.uk>
  149. - started changelog