fuse-vl.spec 7.4 KB

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