102 lines
2.8 KiB
RPMSpec
102 lines
2.8 KiB
RPMSpec
Name: f2fs-tools
|
|
Version: 1.5.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}/defrag.f2fs
|
|
%{_sbindir}/dump.f2fs
|
|
%{_sbindir}/f2fstat
|
|
%{_sbindir}/fibmap.f2fs
|
|
%{_sbindir}/fsck.f2fs
|
|
%{_sbindir}/mkfs.f2fs
|
|
%{_sbindir}/parse.f2fs
|
|
%{_mandir}/man8/mkfs.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}/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
|
|
* 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
|