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