diff --git a/README.md b/README.md index 1b41806..3f36587 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # squashfuse +FUSE filesystem to mount squashfs archives. + diff --git a/squashfuse.spec b/squashfuse.spec new file mode 100644 index 0000000..4fa9f01 --- /dev/null +++ b/squashfuse.spec @@ -0,0 +1,89 @@ +Name: squashfuse +Version: 0.1.105 +Release: 1mamba +Summary: FUSE filesystem to mount squashfs archives +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/vasi/squashfuse +Source: https://github.com/vasi/squashfuse.git/%{version}/squashfuse-%{version}.tar.bz2 +License: Custom +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libfuse3-devel +BuildRequires: liblz4-devel +BuildRequires: liblzma-devel +BuildRequires: liblzo-devel +BuildRequires: libz-devel +BuildRequires: libzstd-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +FUSE filesystem to mount squashfs archives. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/squashfuse +%{_bindir}/squashfuse_ll +%{_mandir}/man1/squashfuse.1* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libsquashfuse.so.* +%{_libdir}/libsquashfuse_ll.so.* +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/squashfuse +%{_includedir}/squashfuse/* +%{_libdir}/libsquashfuse.a +%{_libdir}/libsquashfuse.so +%{_libdir}/libsquashfuse_ll.a +%{_libdir}/libsquashfuse_ll.so +%{_libdir}/pkgconfig/squashfuse.pc +%{_libdir}/pkgconfig/squashfuse_ll.pc +%doc NEWS README TODO + +%changelog +* Thu Jun 01 2023 Silvan Calarco 0.1.105-1mamba +- package created using the webbuild interface