| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,65 @@ |
| 0 |
+Summary: File System in Userspace (FUSE) utilities |
|
| 1 |
+Name: fuse |
|
| 2 |
+Version: 2.9.4 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: GPL+ |
|
| 5 |
+Url: http://fuse.sourceforge.net/ |
|
| 6 |
+Group: System Environment/Base |
|
| 7 |
+Vendor: VMware, Inc. |
|
| 8 |
+Distribution: Photon |
|
| 9 |
+Source0: http://sourceforge.net/projects/fuse/files/fuse-2.X/%{version}/%{name}-%{version}.tar.gz
|
|
| 10 |
+%description |
|
| 11 |
+With FUSE it is possible to implement a fully functional filesystem in a |
|
| 12 |
+userspace program. |
|
| 13 |
+ |
|
| 14 |
+%package devel |
|
| 15 |
+Summary: Header and development files |
|
| 16 |
+Group: Development/Libraries |
|
| 17 |
+Requires: %{name} = %{version}
|
|
| 18 |
+%description devel |
|
| 19 |
+It contains the libraries and header files to create fuse applications. |
|
| 20 |
+ |
|
| 21 |
+%prep |
|
| 22 |
+%setup -q |
|
| 23 |
+%build |
|
| 24 |
+./configure --prefix=%{_prefix} --disable-static INIT_D_PATH=/tmp/init.d &&
|
|
| 25 |
+make %{?_smp_mflags}
|
|
| 26 |
+ |
|
| 27 |
+%install |
|
| 28 |
+mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
| 29 |
+make install \ |
|
| 30 |
+ prefix=%{buildroot}%{_prefix}
|
|
| 31 |
+ |
|
| 32 |
+install -v -m755 -d /usr/share/doc/fuse-2.9.4 && |
|
| 33 |
+install -v -m644 doc/{how-fuse-works,kernel.txt} \
|
|
| 34 |
+ /usr/share/doc/fuse-2.9.4 |
|
| 35 |
+%post |
|
| 36 |
+/sbin/depmod -aq |
|
| 37 |
+ |
|
| 38 |
+%preun |
|
| 39 |
+/sbin/modprobe -r fuse |
|
| 40 |
+ |
|
| 41 |
+%postun |
|
| 42 |
+/sbin/depmod -aq |
|
| 43 |
+ |
|
| 44 |
+%files |
|
| 45 |
+%defattr(-, root, root) |
|
| 46 |
+%doc README NEWS INSTALL AUTHORS COPYING COPYING.LIB |
|
| 47 |
+%doc example/ |
|
| 48 |
+%{_libdir}/*
|
|
| 49 |
+%exclude %{_libdir}/debug/
|
|
| 50 |
+%exclude %{_libdir}/*.la
|
|
| 51 |
+%{_bindir}/*
|
|
| 52 |
+%{_datadir}/man/*
|
|
| 53 |
+ |
|
| 54 |
+%files devel |
|
| 55 |
+%doc ChangeLog |
|
| 56 |
+%{_libdir}/*.la
|
|
| 57 |
+%{_prefix}/lib/libfuse.so
|
|
| 58 |
+%{_prefix}/include/*
|
|
| 59 |
+%{_prefix}/bin/fusermount
|
|
| 60 |
+ |
|
| 61 |
+%changelog |
|
| 62 |
+* Tue Jun 16 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.4-1 |
|
| 63 |
+- Initial version. |
|
| 64 |
+ |
| ... | ... |
@@ -68,7 +68,7 @@ |
| 68 | 68 |
"libaio","libaio-devel","thin-provisioning-tools","lvm2","lvm2-devel","lvm2-libs","lvm2-python-libs","lzo","lzo-devel","lzo-minilzo","swig", |
| 69 | 69 |
"rpm-devel","pycurl","urlgrabber","yum-metadata-parser","yum", "rocket", "strace", "cracklib-python", |
| 70 | 70 |
"haveged", "haveged-devel", |
| 71 |
- "postgresql", "openjdk", "apr", "apr-util", "httpd", "openvswitch", "eventlog", "syslog-ng", "zookeeper"] |
|
| 71 |
+ "postgresql", "openjdk", "apr", "apr-util", "httpd", "openvswitch", "eventlog", "syslog-ng", "zookeeper", "fuse"] |
|
| 72 | 72 |
} |
| 73 | 73 |
|
| 74 | 74 |
|