[packages/partclone] Up to 0.2.48
wiget
wiget at pld-linux.org
Sun Feb 10 22:18:04 CET 2013
commit 332a52d1d7bf822dd5612ad0d61b492f1d0e80cd
Author: Artur Frysiak <artur at frysiak.net>
Date: Sun Feb 10 22:15:16 2013 +0100
Up to 0.2.48
- Added automake.patch to fix some Automake warnings and disable -Wall
- Verbose %file
automake.patch | 47 +++++++++++++++++++++++++++++++++++++++++++++++
partclone.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 91 insertions(+), 5 deletions(-)
---
diff --git a/partclone.spec b/partclone.spec
index 0c1335e..7a4e458 100644
--- a/partclone.spec
+++ b/partclone.spec
@@ -1,11 +1,12 @@
Summary: Utility to clone and restore partitions
Name: partclone
-Version: 0.2.33
+Version: 0.2.48
Release: 1
License: GPL v2+
Group: Applications/System
Source0: http://downloads.sourceforge.net/partclone/%{name}-%{version}.tar.gz
-# Source0-md5: 65591745052f7537fd7f0e3181cdef82
+# Source0-md5: 279a575181a35bc50373702516d04b3b
+Patch0: automake.patch
URL: http://partclone.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -30,6 +31,7 @@ e2fslibs.
%prep
%setup -q
+%patch0 -p1
#sed -e 's|libxfs.h|xfs.h|' -i configure.ac -i src/xfsclone.[ch]
sed -e 's|ncurses.h|ncurses/ncurses.h|' -i configure.ac -i src/{partclone,progress}.c
@@ -66,6 +68,43 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO src/gauge
-%attr(755,root,root) %{_sbindir}/%{name}.*
-%{_mandir}/man8/%{name}.*.8*
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_sbindir}/partclone.btrfs
+%attr(755,root,root) %{_sbindir}/partclone.chkimg
+%attr(755,root,root) %{_sbindir}/partclone.dd
+%attr(755,root,root) %{_sbindir}/partclone.ext2
+%attr(755,root,root) %{_sbindir}/partclone.ext3
+%attr(755,root,root) %{_sbindir}/partclone.ext4
+%attr(755,root,root) %{_sbindir}/partclone.ext4dev
+%attr(755,root,root) %{_sbindir}/partclone.extfs
+%attr(755,root,root) %{_sbindir}/partclone.fat
+%attr(755,root,root) %{_sbindir}/partclone.fat12
+%attr(755,root,root) %{_sbindir}/partclone.fat16
+%attr(755,root,root) %{_sbindir}/partclone.fat32
+%attr(755,root,root) %{_sbindir}/partclone.hfs+
+%attr(755,root,root) %{_sbindir}/partclone.hfsp
+%attr(755,root,root) %{_sbindir}/partclone.hfsplus
+%attr(755,root,root) %{_sbindir}/partclone.info
+%attr(755,root,root) %{_sbindir}/partclone.ntfs
+%attr(755,root,root) %{_sbindir}/partclone.ntfsfixboot
+%attr(755,root,root) %{_sbindir}/partclone.ntfsreloc
+%attr(755,root,root) %{_sbindir}/partclone.restore
+%attr(755,root,root) %{_sbindir}/partclone.vfat
+%{_mandir}/man8/partclone.btrfs.8*
+%{_mandir}/man8/partclone.chkimg.8*
+%{_mandir}/man8/partclone.dd.8*
+%{_mandir}/man8/partclone.ext2.8*
+%{_mandir}/man8/partclone.ext3.8*
+%{_mandir}/man8/partclone.ext4.8*
+%{_mandir}/man8/partclone.ext4dev.8*
+%{_mandir}/man8/partclone.extfs.8*
+%{_mandir}/man8/partclone.fat12.8*
+%{_mandir}/man8/partclone.fat16.8*
+%{_mandir}/man8/partclone.fat32.8*
+%{_mandir}/man8/partclone.hfs+.8*
+%{_mandir}/man8/partclone.hfsplus.8*
+%{_mandir}/man8/partclone.info.8*
+%{_mandir}/man8/partclone.ntfs.8*
+%{_mandir}/man8/partclone.restore.8*
+%{_mandir}/man8/partclone.vfat.8*
+%{_mandir}/man8/partclone.xxxfs.8*
diff --git a/automake.patch b/automake.patch
new file mode 100644
index 0000000..c156f80
--- /dev/null
+++ b/automake.patch
@@ -0,0 +1,47 @@
+--- partclone-0.2.48/configure.ac.wiget 2013-02-10 21:59:03.925355329 +0100
++++ partclone-0.2.48/configure.ac 2013-02-10 22:07:35.071790552 +0100
+@@ -1,13 +1,14 @@
+ AC_INIT([Partclone], [0.2.48], [thomas at nchc.org.tw])
+ #AC_CONFIG_AUX_DIR([build-aux])
+ #AC CONFIG SRCDIR([src/main.c])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall foreign])
+ AM_GNU_GETTEXT_VERSION([0.16.1])
+ AM_GNU_GETTEXT([external])
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PATH_PROG(RM, rm, rm)
+ AC_PROG_LN_S
++AM_PROG_CC_C_O
+
+ # Enable large file support.
+ AC_SYS_LARGEFILE
+--- partclone-0.2.48/src/Makefile.am.wiget 2013-02-10 22:02:38.249268004 +0100
++++ partclone-0.2.48/src/Makefile.am 2013-02-10 22:06:41.313749533 +0100
+@@ -5,8 +5,11 @@ TOOLBOX = srcdir=$(top_srcdir) builddir=
+
+ BTRFS_SOURCE= btrfs/crc32c.c btrfs/disk-io.c btrfs/extent-tree.c btrfs/inode-map.c btrfs/rbtree.c btrfs/volumes.c btrfs/ctree.c btrfs/extent-cache.c btrfs/file-item.c btrfs/print-tree.c btrfs/root-tree.c btrfs/dir-item.c btrfs/extent_io.c btrfs/inode-item.c btrfs/radix-tree.c btrfs/utils.c btrfs/crc32c.h btrfs/extent-cache.h btrfs/ioctl.h btrfs/print-tree.h btrfs/transaction.h btrfs/volumes.h btrfs/ctree.h btrfs/extent_io.h btrfs/kerncompat.h btrfs/radix-tree.h btrfs/utils.h btrfs/disk-io.h btrfs/hash.h btrfs/list.h btrfs/rbtree.h btrfs/version.h
+
++AM_LDFLAGS =
++AM_CFLAGS =
++
+ if ENABLE_STATIC
+-LDFLAGS+=-static
++AM_LDFLAGS+=-static
+ endif
+
+ if ENABLE_TINFO
+@@ -14,11 +17,11 @@ LIBS+=-ltinfo
+ endif
+
+ if ENABLE_MEMTRACE
+-CFLAGS+=-DMEMTRACE -DMEMWATCH -DMW_STDIO
++AM_CFLAGS+=-DMEMTRACE -DMEMWATCH -DMW_STDIO
+ endif
+
+ if ENABLE_NCURSESW
+-CFLAGS+=-I/usr/include/ncursesw
++AM_CFLAGS+=-I/usr/include/ncursesw
+ endif
+
+ version.h: FORCE
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/partclone.git/commitdiff/332a52d1d7bf822dd5612ad0d61b492f1d0e80cd
More information about the pld-cvs-commit
mailing list