squashfuse/squashfuse.spec

102 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: squashfuse
Version: 0.5.0
Release: 1mamba
Summary: FUSE filesystem to mount squashfs archives
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic version update by autodist
* Mon Jul 31 2023 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
- automatic version update by autodist
* Sat Jul 29 2023 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Tue Jul 04 2023 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
- automatic version update by autodist
* Thu Jun 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.105-1mamba
- package created using the webbuild interface