From ea2408b9d1477cd618be0047c6f3594caca7ff2e Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 27 Mar 2013 18:08:52 +0100 Subject: [PATCH 1/1] - new --- clone2fs.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 clone2fs.spec diff --git a/clone2fs.spec b/clone2fs.spec new file mode 100644 index 0000000..a39c095 --- /dev/null +++ b/clone2fs.spec @@ -0,0 +1,43 @@ +Summary: Copy an entire ext2/ext3 file system +Summary(pl.UTF-8): Kopiowanie całego systemu plików ext2/ext3 +Name: clone2fs +Version: 1.3.0 +Release: 1 +License: GPL v2+ +Group: Applications/System +Source0: http://www.mr511.de/software/%{name}-%{version}.tar.gz +# Source0-md5: 0454af6d16a2baf506850c7bb13bebcb +URL: http://www.mr511.de/software/english.html +BuildRequires: e2fsprogs-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +clone2fs is a program that copies an ext2/ext3 file system to another +volume or an image file. + +%description -l pl.UTF-8 +clone2fs to program kopiujący system plików ext2/ext3 na inny dysk lub +do pliku obrazu. + +%prep +%setup -q + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} %{rpmcppflags} -fno-strict-aliasing -Wall" \ + LIBE2FS_LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + sbindir=$RPM_BUILD_ROOT/sbin + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc NEWS README +%attr(755,root,root) /sbin/clone2fs -- 2.43.0