]> git.pld-linux.org Git - packages/f2fs-tools.git/commitdiff
- up to 1.3.0
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Mon, 16 Jun 2014 18:21:36 +0000 (20:21 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Mon, 16 Jun 2014 18:21:36 +0000 (20:21 +0200)
- no_subst.patch (do not change default dirs)
- more BRs
- verbose files section

f2fs-tools.spec
no_subst.patch [new file with mode: 0644]

index e8dbc5f387e3107f59186950fe8c154982489f69..6b6a32f7a37d58e678a7477d87a0a46c72fd7880 100644 (file)
@@ -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 (file)
index 0000000..1746c1c
--- /dev/null
@@ -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
This page took 0.21499 seconds and 4 git commands to generate.