f2fs-tools/f2fs-tools.spec

134 lines
3.9 KiB
RPMSpec

Name: f2fs-tools
Version: 1.11.0
Release: 1mamba
Summary: Userland tools for the f2fs filesystem
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git
## GITSOURCE git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git master
Source: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/master/f2fs-tools-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
Requires: libf2fs = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Userland tools for the f2fs filesystem.
%package -n libf2fs
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libf2fs
This package contains shared libraries for %{name}.
%package -n libf2fs-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libf2fs = %{?epoch:%epoch:}%{version}-%{release}
%description -n libf2fs-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
autoreconf -f -i
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 include/f2fs_fs.h %{buildroot}%{_includedir}/f2fs_fs.h
install -D -m0644 mkfs/f2fs_format_utils.h %{buildroot}%{_includedir}/f2fs_format_utils.h
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libf2fs -p /sbin/ldconfig
%postun -n libf2fs -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sbindir}/f2fscrypt
%{_sbindir}/defrag.f2fs
%{_sbindir}/dump.f2fs
%{_sbindir}/f2fstat
%{_sbindir}/fibmap.f2fs
%{_sbindir}/fsck.f2fs
%{_sbindir}/mkfs.f2fs
%{_sbindir}/parse.f2fs
%{_sbindir}/resize.f2fs
%{_sbindir}/sg_write_buffer
%{_sbindir}/sload.f2fs
%{_mandir}/man8/f2fscrypt.8*
%{_mandir}/man8/mkfs.f2fs.8*
%{_mandir}/man8/defrag.f2fs.8*
%{_mandir}/man8/dump.f2fs.8*
%{_mandir}/man8/fsck.f2fs.8*
%{_mandir}/man8/resize.f2fs.8*
%{_mandir}/man8/sload.f2fs.8*
%files -n libf2fs
%defattr(-,root,root)
%{_libdir}/libf2fs.so.*
%{_libdir}/libf2fs_format.so.*
%doc AUTHORS COPYING
%files -n libf2fs-devel
%defattr(-,root,root)
%{_includedir}/quota.h
%{_includedir}/f2fs_fs.h
%{_includedir}/f2fs_format_utils.h
%{_libdir}/libf2fs.a
%{_libdir}/libf2fs.la
%{_libdir}/libf2fs.so
%{_libdir}/libf2fs_format.a
%{_libdir}/libf2fs_format.la
%{_libdir}/libf2fs_format.so
%doc ChangeLog README
%changelog
* Sun Jul 15 2018 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
- automatic version update by autodist
* Wed Feb 07 2018 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist
* Tue Feb 07 2017 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Mon Nov 07 2016 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Tue Feb 02 2016 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
* Fri Jan 01 2016 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic version update by autodist
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Wed Jan 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- fs2fs-tools: fix requirement for libf2fs
* Wed Jan 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
- package created using the webbuild interface