nilfs-utils/nilfs-utils.spec

136 lines
3.6 KiB
RPMSpec

Name: nilfs-utils
Version: 2.2.11
Release: 1mamba
Summary: Userspace tools for the nilfs filesystem
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://nilfs.sourceforge.io/
Source: http://nilfs.sourceforge.net/download/nilfs-utils-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libblkid-devel
BuildRequires: libmount-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
Requires: libnilfs = %{?epoch:%epoch:}%{version}-%{release}
%description
Userspace tools for the nilfs filesystem.
%package -n libnilfs
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libnilfs
This package contains shared libraries for %{name}.
%package -n libnilfs-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libnilfs = %{?epoch:%epoch:}%{version}-%{release}
%description -n libnilfs-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
sed -i "s|root_sbindir=.*|root_sbindir=%{_sbindir}|" configure
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libnilfs -p /sbin/ldconfig
%postun -n libnilfs -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/nilfs_cleanerd.conf
%{_sbindir}/mkfs.nilfs2
%{_sbindir}/mount.nilfs2
%{_sbindir}/nilfs_cleanerd
%{_sbindir}/umount.nilfs2
%{_bindir}/chcp
%{_bindir}/dumpseg
%{_bindir}/lscp
%{_bindir}/lssu
%{_bindir}/mkcp
%{_bindir}/rmcp
%{_sbindir}/nilfs-clean
%{_sbindir}/nilfs-resize
%{_sbindir}/nilfs-tune
%{_mandir}/man1/lscp.1*
%{_mandir}/man1/lssu.1*
%{_mandir}/man5/nilfs_cleanerd.conf.5*
%{_mandir}/man8/chcp.8*
%{_mandir}/man8/dumpseg.8*
%{_mandir}/man8/mkcp.8*
%{_mandir}/man8/mkfs.nilfs2.8*
%{_mandir}/man8/mount.nilfs2.8*
%{_mandir}/man8/nilfs*.8*
%{_mandir}/man8/rmcp.8*
%{_mandir}/man8/umount.nilfs2.8*
%files -n libnilfs
%defattr(-,root,root)
%{_libdir}/libnilfs.so.*
%{_libdir}/libnilfscleaner.so.*
%{_libdir}/libnilfsgc.so.*
%doc AUTHORS COPYING
%files -n libnilfs-devel
%defattr(-,root,root)
%{_includedir}/nilfs.h
%{_includedir}/nilfs_cleaner.h
%{_libdir}/libnilfs.a
%{_libdir}/libnilfs.so
%{_libdir}/libnilfscleaner.a
%{_libdir}/libnilfscleaner.so
%{_libdir}/libnilfsgc.a
%{_libdir}/libnilfsgc.so
%doc ChangeLog README
%changelog
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 2.2.11-1mamba
- automatic version update by autodist
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 2.2.10-1mamba
- automatic version update by autodist
* Mon Jul 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.9-1mamba
- update to 2.2.9
* Tue Sep 10 2019 Automatic Build System <autodist@mambasoft.it> 2.2.8-1mamba
- automatic version update by autodist
* Sun Nov 26 2017 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
- automatic update by autodist
* Sat Oct 29 2016 Automatic Build System <autodist@mambasoft.it> 2.2.6-1mamba
- automatic version update by autodist
* Fri Sep 16 2016 Automatic Build System <autodist@mambasoft.it> 2.2.5-1mamba
- automatic update by autodist
* Tue May 24 2016 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
- automatic version update by autodist
* Mon Mar 02 2015 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
- automatic version update by autodist
* Sun Jan 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1mamba
- package created using the webbuild interface