fuse-vl.spec 6.9 KB

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