fuse-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. Summary: File System in Userspace (FUSE) utilities
  2. Summary(ja): ユーザスペースファイルシステム(FUSE)用のユーティリティ
  3. Name: fuse
  4. Version: 2.8.3
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Base
  7. License: GPL
  8. URL: http://fuse.sf.net
  9. Source0: http://dl.sourceforge.net/sourceforge/fuse/%{name}-%{version}.tar.gz
  10. Source1: fuse-udev.nodes
  11. Source2: fuse-makedev.d-fuse
  12. Patch0: fuse-udev_rules.patch
  13. Patch1: fuse-openfix.patch
  14. Patch2: fuse-CVE-2009-3297.patch
  15. Patch10: fuse-2.8.3-chkconfig.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Requires(pre): shadow-utils
  18. Requires(post): MAKEDEV
  19. Requires(postun): shadow-utils
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: daisuke
  23. %description
  24. With FUSE it is possible to implement a fully functional filesystem in a
  25. userspace program. This package contains the FUSE userspace tools to
  26. mount a FUSE filesystem.
  27. %description -l ja
  28. FUSE を用いることでユーザ空間のプログラムでファイルシステムを実装することが
  29. 可能になります。このパッケージには FUSEファイルシステムをマウントするための
  30. ユーザ空間ツールが含まれています。
  31. %package devel
  32. Summary: File System in Userspace (FUSE) devel files
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. License: LGPL
  37. %description devel
  38. With FUSE it is possible to implement a fully functional filesystem in a
  39. userspace program. This package contains development files (headers,
  40. pgk-config) to develop FUSE based applications/filesystems.
  41. %prep
  42. %setup -q
  43. #disable device creation during build/install
  44. sed -i 's|mknod|echo Disabled: mknod |g' util/Makefile.in
  45. %patch0 -b .patch0
  46. %patch10 -p1
  47. %build
  48. %configure \
  49. --disable-static \
  50. --disable-kernel-module
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  56. # FIXME change from 60 to 99
  57. install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/makedev.d/99-fuse.nodes
  58. install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/makedev.d/z-fuse
  59. # change from 4755 to 0755 to allow stripping -- fixed later in files
  60. chmod 0755 $RPM_BUILD_ROOT/%{_bindir}/fusermount
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %preun
  64. if [ -f /etc/init.d/fuse ] ; then
  65. /sbin/service fuse stop >/dev/null 2>&1 ||:
  66. /sbin/chkconfig --del fuse ||:
  67. fi
  68. %post
  69. /sbin/ldconfig
  70. %postun
  71. /sbin/ldconfig
  72. if [ $1 = 0 ]; then
  73. %{_sbindir}/groupdel fuse || :
  74. fi
  75. %files
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS ChangeLog COPYING COPYING.LIB FAQ Filesystems NEWS README README.NFS
  78. /sbin/mount.fuse
  79. %attr(4754,root,fuse) %{_bindir}/fusermount
  80. %{_bindir}/ulockmgr_server
  81. %{_sysconfdir}/init.d/fuse
  82. %{_sysconfdir}/makedev.d/z-fuse
  83. %config %{_sysconfdir}/udev/rules.d/99-fuse.rules
  84. %{_sysconfdir}/udev/makedev.d/99-fuse.nodes
  85. %{_libdir}/libfuse.so.*
  86. %{_libdir}/libulockmgr.so.*
  87. %files devel
  88. %defattr(-,root,root,-)
  89. %{_libdir}/libfuse.so
  90. %{_libdir}/libulockmgr.so
  91. %{_libdir}/pkgconfig/*.pc
  92. %{_includedir}/fuse.h
  93. %{_includedir}/ulockmgr.h
  94. %{_includedir}/fuse
  95. %changelog
  96. * Sat May 29 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.8.3-2
  97. - fix Patch0 to avoid udev warning (NAME="%k" is superfluous etc.)
  98. - add Patch1 to fix open issue (rhbz #265321)
  99. - add Patch2 for CVE-2009-3297 (rhbz #558833)
  100. * Wed Apr 14 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  101. - new upstream release
  102. - remove upstreamed patch10
  103. - add patch10 to support chkconfig
  104. * Mon Mar 1 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.4-3
  105. - SECURITY FIX: CVE-2009-3297
  106. - patch from Debian 5.0 fuse_2.7.4-1.1+lenny1 (Patch10)
  107. * Mon Jun 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.4-2
  108. - update Source2 and Patch0
  109. - change udev rules to create /dev/fuse with mode 0666, group root.
  110. - do not create fuse group in %%pre
  111. - stop and delete fuse service in %%preun
  112. * Wed Apr 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.4-1
  113. - new upstream release
  114. - spec in utf-8
  115. * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.3-1
  116. - new upstream release
  117. * Tue May 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-0vl1
  118. - new upstream release
  119. * Mon Apr 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-0vl1
  120. - initial build for Vine Linux based on ATrpms package
  121. * Sun Feb 4 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.6.3-0_3
  122. - Update to 2.6.3.
  123. * Thu Feb 1 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.6.2-0_2
  124. - Update to 2.6.2.
  125. * Fri Jan 07 2007 Paulo Roma <roma@lcg.ufrj.br> 2.6.1-1_1
  126. - Adapted for building kernel module.
  127. * Tue Dec 26 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.1-1
  128. - Ver. 2.6.1
  129. * Sat Nov 25 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.0-2
  130. - fixed nasty typo (see bug #217075)
  131. * Fri Nov 3 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.0-1
  132. - Ver. 2.6.0
  133. * Sun Oct 29 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-5
  134. - Fixed udev-rule again
  135. * Sat Oct 7 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-4
  136. - Fixed udev-rule
  137. * Tue Sep 12 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-3%{?dist}
  138. - Rebuild for FC6
  139. * Wed May 03 2006 Peter Lemenkov <lemenkov@newmail.ru> 2.5.3-1%{?dist}
  140. - Update to 2.5.3
  141. * Thu Mar 30 2006 Peter Lemenkov <lemenkov@newmail.ru> 2.5.2-4%{?dist}
  142. - rebuild
  143. * Mon Feb 13 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-3
  144. - Proper udev rule
  145. * Mon Feb 13 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-2
  146. - Added missing requires
  147. * Tue Feb 07 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-1
  148. - Update to 2.5.2
  149. - Dropped fuse-mount.fuse.patch
  150. * Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
  151. - Use dist
  152. * Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
  153. - Update to 2.4.2 (solves CVE-2005-3531)
  154. - Update README.fedora
  155. * Sat Nov 12 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-3
  156. - Add README.fedora
  157. - Add hint to README.fedora and that you have to be member of the group "fuse"
  158. in the description
  159. - Use groupadd instead of fedora-groupadd
  160. * Fri Nov 04 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-2
  161. - Rename packages a bit
  162. - use makedev.d/40-fuse.nodes
  163. - fix /sbin/mount.fuse
  164. - Use a fuse group to restict access to fuse-filesystems
  165. * Fri Oct 28 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-1
  166. - Initial RPM release.