rebuilt in /usr instead of / [release 2.9.9-4mamba;Tue Apr 27 2021]
This commit is contained in:
parent
3569c231c3
commit
a5ce1b4844
59
fuse.spec
59
fuse.spec
@ -2,15 +2,14 @@
|
|||||||
%define gitver %(echo %version | tr . _)
|
%define gitver %(echo %version | tr . _)
|
||||||
Name: fuse
|
Name: fuse
|
||||||
Version: 2.9.9
|
Version: 2.9.9
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: File System in Userspace (FUSE) utilities
|
Summary: File System in Userspace (FUSE) utilities
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://fuse.sourceforge.net
|
URL: https://github.com/libfuse/libfuse
|
||||||
Source: https://github.com/libfuse/libfuse.git/fuse-%{version}/libfuse-%{version}.tar.bz2
|
Source: https://github.com/libfuse/libfuse.git/fuse-%{version}/libfuse-%{version}.tar.bz2
|
||||||
#Source: http://downloads.sourceforge.net/fuse/fuse-%{version}.tar.gz
|
|
||||||
Source1: %{name}-initscript
|
Source1: %{name}-initscript
|
||||||
Patch0: %{name}-2.8.7-fix_linking_issues_with_gold_linker.patch
|
Patch0: %{name}-2.8.7-fix_linking_issues_with_gold_linker.patch
|
||||||
Patch1: fuse-2.9.9-aarch64.patch
|
Patch1: fuse-2.9.9-aarch64.patch
|
||||||
@ -20,7 +19,6 @@ BuildRequires: glibc-devel
|
|||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
With FUSE it is possible to implement a fully functional filesystem in a userspace program.
|
With FUSE it is possible to implement a fully functional filesystem in a userspace program.
|
||||||
@ -48,8 +46,9 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description -n %{libname}-devel
|
%description -n %{libname}-devel
|
||||||
Libraries for FUSE.
|
Libraries for FUSE.
|
||||||
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
This package contains static libraries and header files need for development.
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libfuse-%{version}
|
%setup -q -n libfuse-%{version}
|
||||||
@ -62,29 +61,28 @@ sh ./makeconf.sh
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-kernel-module \
|
--sbindir=%{_prefix}
|
||||||
--exec-prefix=/ \
|
|
||||||
--libdir=/%{_lib} \
|
|
||||||
--bindir=/bin \
|
|
||||||
--with-pkgconfigdir=%{_libdir}/pkgconfig
|
|
||||||
|
|
||||||
%make
|
%make \
|
||||||
|
MOUNT_FUSE_PATH=%{_sbindir}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
%makeinstall INIT_D_PATH=%{_initrddir}
|
%makeinstall \
|
||||||
|
INIT_D_PATH=%{_initrddir} \
|
||||||
|
MOUNT_FUSE_PATH=%{_sbindir}
|
||||||
|
|
||||||
# change permission to allow stripping
|
# change permission to allow stripping
|
||||||
chmod 0755 %{buildroot}/bin/%{name}rmount
|
chmod 0755 %{buildroot}%{_bindir}/%{name}rmount
|
||||||
|
|
||||||
#install -D -m 755 %{S:1} \
|
#install -D -m 755 %{S:1} \
|
||||||
# %{buildroot}%{_initrddir}/%{name}
|
# %{buildroot}%{_initrddir}/%{name}
|
||||||
rm -f %{buildroot}%{_initrddir}/%{name}
|
rm -f %{buildroot}%{_initrddir}/%{name}
|
||||||
|
|
||||||
# create compatibility symlinks
|
## create compatibility symlinks
|
||||||
install -d %{buildroot}%{_bindir}
|
#install -d %{buildroot}%{_bindir}
|
||||||
ln -s /bin/%{name}rmount %{buildroot}%{_bindir}/%{name}rmount
|
#ln -s /bin/%{name}rmount %{buildroot}%{_bindir}/%{name}rmount
|
||||||
ln -s /bin/ulockmgr_server %{buildroot}%{_bindir}/ulockmgr_server
|
#ln -s /bin/ulockmgr_server %{buildroot}%{_bindir}/ulockmgr_server
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -95,9 +93,9 @@ ln -s /bin/ulockmgr_server %{buildroot}%{_bindir}/ulockmgr_server
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config %{_sysconfdir}/udev/rules.d/99-%{name}.rules
|
%config %{_sysconfdir}/udev/rules.d/99-%{name}.rules
|
||||||
/sbin/mount.fuse
|
%{_sbindir}/mount.fuse
|
||||||
%attr(4754,root,users) /bin/fusermount
|
%attr(4754,root,users) %{_bindir}/fusermount
|
||||||
/bin/ulockmgr_server
|
%{_bindir}/ulockmgr_server
|
||||||
%{_bindir}/fusermount
|
%{_bindir}/fusermount
|
||||||
%{_bindir}/ulockmgr_server
|
%{_bindir}/ulockmgr_server
|
||||||
#%{_initrddir}/fuse
|
#%{_initrddir}/fuse
|
||||||
@ -108,8 +106,8 @@ ln -s /bin/ulockmgr_server %{buildroot}%{_bindir}/ulockmgr_server
|
|||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libfuse.so.*
|
%{_libdir}/libfuse.so.*
|
||||||
/%{_lib}/libulockmgr.so.*
|
%{_libdir}/libulockmgr.so.*
|
||||||
%doc AUTHORS COPYING.LIB
|
%doc AUTHORS COPYING.LIB
|
||||||
|
|
||||||
%files -n %{libname}-devel
|
%files -n %{libname}-devel
|
||||||
@ -117,16 +115,19 @@ ln -s /bin/ulockmgr_server %{buildroot}%{_bindir}/ulockmgr_server
|
|||||||
%dir %{_includedir}/%{name}
|
%dir %{_includedir}/%{name}
|
||||||
%{_includedir}/%{name}/*.h
|
%{_includedir}/%{name}/*.h
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
/%{_lib}/libfuse.a
|
%{_libdir}/libfuse.a
|
||||||
/%{_lib}/libfuse.la
|
%{_libdir}/libfuse.la
|
||||||
/%{_lib}/libfuse.so
|
%{_libdir}/libfuse.so
|
||||||
/%{_lib}/libulockmgr.a
|
%{_libdir}/libulockmgr.a
|
||||||
/%{_lib}/libulockmgr.la
|
%{_libdir}/libulockmgr.la
|
||||||
/%{_lib}/libulockmgr.so
|
%{_libdir}/libulockmgr.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc ChangeLog NEWS README.NFS
|
%doc ChangeLog NEWS README.NFS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.9-4mamba
|
||||||
|
- rebuilt in /usr instead of /
|
||||||
|
|
||||||
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.9-3mamba
|
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.9-3mamba
|
||||||
- added patch for aarch64; remove initscript
|
- added patch for aarch64; remove initscript
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user