package created using the webbuild interface [release 1.4.0-1mamba;Wed Jan 21 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 22:12:17 +01:00
parent 5b4f0127bd
commit a1c5645bc9
2 changed files with 89 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# f2fs-tools
Userland tools for the f2fs filesystem.

87
f2fs-tools.spec Normal file
View File

@ -0,0 +1,87 @@
Name: f2fs-tools
Version: 1.4.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: lib%{name} = %{?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)
/sbin/dump.f2fs
/sbin/f2fstat
/sbin/fibmap.f2fs
/sbin/fsck.f2fs
/sbin/mkfs.f2fs
/sbin/parse.f2fs
%{_mandir}/man8/mkfs.f2fs.8*
%files -n libf2fs
%defattr(-,root,root)
%{_libdir}/libf2fs.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
%doc ChangeLog README
%changelog
* Wed Jan 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
- package created using the webbuild interface