[packages/f2fs-tools] - up to 1.3.0 - no_subst.patch (do not change default dirs) - more BRs - verbose files section
witekfl
witekfl at pld-linux.org
Mon Jun 16 20:23:31 CEST 2014
commit 8869e4859ccceb54aee71e810bc223358cc616dd
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Jun 16 20:21:36 2014 +0200
- up to 1.3.0
- no_subst.patch (do not change default dirs)
- more BRs
- verbose files section
f2fs-tools.spec | 21 ++++++++++++++++++---
no_subst.patch | 13 +++++++++++++
2 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/f2fs-tools.spec b/f2fs-tools.spec
index e8dbc5f..6b6a32f 100644
--- a/f2fs-tools.spec
+++ b/f2fs-tools.spec
@@ -1,16 +1,19 @@
Summary: Utilities for managing the f2fs filesystem
Summary(pl.UTF-8): Narzędzia do systemu plików f2fs
Name: f2fs-tools
-Version: 1.1.0
+Version: 1.3.0
Release: 1
License: GPL v2
Group: Applications/System
Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz
-# Source0-md5: f163f5cff30c3d2bb59a5b002b3141ea
+# Source0-md5: fd5f9cbef72a58f3264f27d72a27b8ae
+Patch0: no_subst.patch
URL: http://f2fs-tools.sourceforge.net/
BuildRequires: autoconf >= 2.68
BuildRequires: automake
+BuildRequires: libtool
BuildRequires: libuuid-devel
+BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -21,10 +24,13 @@ Pakiet ten zawiera narzędzia do tworzenia systemów plików f2fs.
%prep
%setup -q
+%patch0 -p1
%build
+%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure
%{__make}
@@ -37,8 +43,17 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/mkfs.f2fs
+%attr(755,root,root) %{_libdir}/libf2fs.so.0.0.0
+%attr(755,root,root) %ghost %{_libdir}/libf2fs.so.0
+%attr(755,root,root) %{_sbindir}/dump.f2fs
+%attr(755,root,root) %{_sbindir}/f2fstat
+%attr(755,root,root) %{_sbindir}/fibmap.f2fs
+%attr(755,root,root) %{_sbindir}/fsck.f2fs
+%attr(755,root,root) %{_sbindir}/mkfs.f2fs
%{_mandir}/man8/mkfs.f2fs.8*
diff --git a/no_subst.patch b/no_subst.patch
new file mode 100644
index 0000000..1746c1c
--- /dev/null
+++ b/no_subst.patch
@@ -0,0 +1,13 @@
+--- f2fs-tools-1.3.0/configure.ac.orig 2014-06-16 19:59:21.760240514 +0200
++++ f2fs-tools-1.3.0/configure.ac 2014-06-16 19:59:55.486721838 +0200
+@@ -73,10 +73,6 @@ AC_CHECK_FUNCS_ONCE([
+ ])
+
+ # Install directories
+-AC_PREFIX_DEFAULT([/usr])
+-AC_SUBST([sbindir], [/sbin])
+-AC_SUBST([sysconfdir], [/etc])
+-AC_SUBST([localstatedir], [/var])
+ AC_CONFIG_FILES([
+ Makefile
+ man/Makefile
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/f2fs-tools.git/commitdiff/8869e4859ccceb54aee71e810bc223358cc616dd
More information about the pld-cvs-commit
mailing list