fuse-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. Summary: File System in Userspace (FUSE) utilities
  2. Summary(ja): ユーザスペースファイルシステム(FUSE)用のユーティリティ
  3. Name: fuse
  4. Version: 2.8.3
  5. Release: 3%{?_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, shaolin
  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. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.8.3-3
  97. - rebuilt with rpm-4.8.1 for pkg-config
  98. * Sat May 29 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.8.3-2
  99. - fix Patch0 to avoid udev warning (NAME="%k" is superfluous etc.)
  100. - add Patch1 to fix open issue (rhbz #265321)
  101. - add Patch2 for CVE-2009-3297 (rhbz #558833)
  102. * Wed Apr 14 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  103. - new upstream release
  104. - remove upstreamed patch10
  105. - add patch10 to support chkconfig
  106. * Mon Mar 1 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.4-3
  107. - SECURITY FIX: CVE-2009-3297
  108. - patch from Debian 5.0 fuse_2.7.4-1.1+lenny1 (Patch10)
  109. * Mon Jun 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.4-2
  110. - update Source2 and Patch0
  111. - change udev rules to create /dev/fuse with mode 0666, group root.
  112. - do not create fuse group in %%pre
  113. - stop and delete fuse service in %%preun
  114. * Wed Apr 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.4-1
  115. - new upstream release
  116. - spec in utf-8
  117. * Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.3-1
  118. - new upstream release
  119. * Tue May 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-0vl1
  120. - new upstream release
  121. * Mon Apr 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-0vl1
  122. - initial build for Vine Linux based on ATrpms package
  123. * Sun Feb 4 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.6.3-0_3
  124. - Update to 2.6.3.
  125. * Thu Feb 1 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.6.2-0_2
  126. - Update to 2.6.2.
  127. * Fri Jan 07 2007 Paulo Roma <roma@lcg.ufrj.br> 2.6.1-1_1
  128. - Adapted for building kernel module.
  129. * Tue Dec 26 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.1-1
  130. - Ver. 2.6.1
  131. * Sat Nov 25 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.0-2
  132. - fixed nasty typo (see bug #217075)
  133. * Fri Nov 3 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.0-1
  134. - Ver. 2.6.0
  135. * Sun Oct 29 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-5
  136. - Fixed udev-rule again
  137. * Sat Oct 7 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-4
  138. - Fixed udev-rule
  139. * Tue Sep 12 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-3%{?dist}
  140. - Rebuild for FC6
  141. * Wed May 03 2006 Peter Lemenkov <lemenkov@newmail.ru> 2.5.3-1%{?dist}
  142. - Update to 2.5.3
  143. * Thu Mar 30 2006 Peter Lemenkov <lemenkov@newmail.ru> 2.5.2-4%{?dist}
  144. - rebuild
  145. * Mon Feb 13 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-3
  146. - Proper udev rule
  147. * Mon Feb 13 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-2
  148. - Added missing requires
  149. * Tue Feb 07 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-1
  150. - Update to 2.5.2
  151. - Dropped fuse-mount.fuse.patch
  152. * Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
  153. - Use dist
  154. * Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
  155. - Update to 2.4.2 (solves CVE-2005-3531)
  156. - Update README.fedora
  157. * Sat Nov 12 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-3
  158. - Add README.fedora
  159. - Add hint to README.fedora and that you have to be member of the group "fuse"
  160. in the description
  161. - Use groupadd instead of fedora-groupadd
  162. * Fri Nov 04 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-2
  163. - Rename packages a bit
  164. - use makedev.d/40-fuse.nodes
  165. - fix /sbin/mount.fuse
  166. - Use a fuse group to restict access to fuse-filesystems
  167. * Fri Oct 28 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-1
  168. - Initial RPM release.