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