init package
This commit is contained in:
parent
867e427399
commit
e5db9d2c20
BIN
f2fs-tools-1.13.0.tar.gz
Normal file
BIN
f2fs-tools-1.13.0.tar.gz
Normal file
Binary file not shown.
61
f2fs-tools.spec
Normal file
61
f2fs-tools.spec
Normal file
@ -0,0 +1,61 @@
|
||||
#%global debug_package %{nil}
|
||||
|
||||
Name: f2fs-tools
|
||||
Version: 1.13.0
|
||||
Release: 1
|
||||
Summary: f2fs-tools are tools for flash fs
|
||||
License: GPLv2
|
||||
URL: https://sourceforge.net/projects/f2fs-tools/
|
||||
Source0: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc autoconf automake uuid-devel libblkid-devel
|
||||
|
||||
%description
|
||||
f2fs is a file system desigend for flash devices
|
||||
|
||||
%package devel
|
||||
Summary: devel pacakge for f2fs-tools
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
f2fs is a file system desigend for flash devices
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}/
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -rf %{buildroot}/%{_libdir}/*.la
|
||||
rm -rf %{buildroot}/%{_libdir}/*.a
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%pre
|
||||
%preun
|
||||
%post
|
||||
%postun
|
||||
|
||||
%check
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc ChangeLog README
|
||||
%{_sbindir}/*
|
||||
%{_libdir}/libf2fs.so.*
|
||||
%{_libdir}/libf2fs_format.so.*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libf2fs.so
|
||||
%{_libdir}/libf2fs_format.so
|
||||
%{_includedir}/*
|
||||
%{_mandir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user