SPECS: foremost.spec (NEW) - initial

undefine undefine at pld-linux.org
Wed Dec 6 19:13:21 CET 2006


Author: undefine                     Date: Wed Dec  6 18:13:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   foremost.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/foremost.spec
diff -u /dev/null SPECS/foremost.spec:1.1
--- /dev/null	Wed Dec  6 19:13:21 2006
+++ SPECS/foremost.spec	Wed Dec  6 19:13:16 2006
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+Summary:	Recover files by "carving" them from a raw disk
+Summary(pl):	Odzyskuje pliki przez "wykrawanie" ich z dysku
+Name:		foremost
+Version:	1.3
+Release:	1
+License:	Public Domain
+Group:		Applications/System
+Source0:	http://foremost.sourceforge.net/pkg/%{name}-%{version}.tar.gz
+# Source0-md5:	73222e54aa0e0e878f58e91cb98f8fbf
+Patch0:		%{name}-sysconfdir.patch
+URL:		http://foremost.sourceforge.net
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Foremost recovers files files based on their headers, footers, and
+internal data structures. This process is commonly referred to as data
+carving. Foremost can work on a raw disk drive or image file generated
+by dd. The headers and footers can be specified by a configuration
+file or you can use command line switches to specify built-in file
+types. These built-in types look at the data structures of a given
+file format allowing for a more reliable and faster recovery.
+
+%description -l pl
+Foremost odzyskuje pliki bazując na ich nagłówkach, stopkach, oraz
+wewnętrznych struktrurach danych. Ten proces jest zwany jako
+"wykrawanie" danych. Foremost może pracować na "surowym" dostępie do
+dysku lub obrazach utworzonych przez dd. Nagłówki i stopki mogą być
+umieszczone w pliku konfiguracyjnym lub można użyć linii poleceń do
+wykorzystania wbudowanych typów. Wbudowane typy wskazują na struktury
+danych podanych formatów plików dla pewniejszego i szybszego
+odzyskiwania danych.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+	RAW_CC="%{__cc}" \
+	RAW_FLAGS="%{rpmcflags} -DVERSION=%{version}" \
+	BIN=%{_bindir} \
+	MAN=%{_mandir}/man1 \
+	CONF=%{_sysconfdir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
+
+%{__make} install \
+	BIN=$RPM_BUILD_ROOT%{_bindir} \
+	MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \
+	CONF=$RPM_BUILD_ROOT%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGES
+%verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/%{name}.conf
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man?/*
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/06 18:13:16  undefine
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list