SPECS: autopsy.spec - perl autodeps - cleanups
glen
glen at pld-linux.org
Mon Oct 30 23:40:01 CET 2006
Author: glen Date: Mon Oct 30 22:40:01 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- perl autodeps
- cleanups
---- Files affected:
SPECS:
autopsy.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/autopsy.spec
diff -u SPECS/autopsy.spec:1.3 SPECS/autopsy.spec:1.4
--- SPECS/autopsy.spec:1.3 Mon Oct 30 23:35:46 2006
+++ SPECS/autopsy.spec Mon Oct 30 23:39:56 2006
@@ -1,20 +1,20 @@
# $Revision$, $Date$
-#
-# TODO - %service stuff
+# TODO
+# - %%service stuff
# - add user autopsy with proper homedir rights
# - pl desc
-#
+%include /usr/lib/rpm/macros.perl
Summary: The Autopsy Forensic Browser is a graphical interface to The Sleuth Kit utilities
Summary(pl): Autopsy Forensic Browser jest graficznym interfejsem do narzędzi z The Sleuth Kit
Name: autopsy
Version: 2.08
-Release: 0.1
-#Epoch: -
+Release: 0.2
License: GPL
Group: Applications
Source0: http://dl.sourceforge.net/autopsy/%{name}-%{version}.tar.gz
# Source0-md5: 0ac9db9acf66742f8f01f3d8b0cf2f90
URL: http://www.sleuthkit.org/autopsy
+BuildRequires: rpm-perlprov >= 4.1-13
Requires: coreutils
Requires: libmagic
Requires: openssl
@@ -35,35 +35,36 @@
%prep
%setup -q
-echo "#!%{_bindir}/perl -wT" > autopsy
-echo "use lib qw(%{perl_vendorlib}/Autopsy);" >> autopsy
-echo "use lib qw(%{perl_vendorlib}/Autopsy/lib);" >> autopsy
+echo '#!%{__perl} -wT' > autopsy
+echo 'use lib qw(%{perl_vendorlib}/Autopsy);' >> autopsy
+echo 'use lib qw(%{perl_vendorlib}/Autopsy/lib);' >> autopsy
cat base/autopsy.base >> autopsy
-cat > conf.pl <<-EOF
+cat > conf.pl <<-'EOF'
# Autopsy configuration settings
# when set to 1, the server will stop after it receives no
# connections for STIMEOUT seconds.
- \$USE_STIMEOUT = 0;
- \$STIMEOUT = 3600;
+ $USE_STIMEOUT = 0;
+ $STIMEOUT = 3600;
# number of seconds that child waits for input from client
- \$CTIMEOUT = 15;
+ $CTIMEOUT = 15;
# set to 1 to save the cookie value in a file (for scripting)
- \$SAVE_COOKIE = 1;
+ $SAVE_COOKIE = 1;
- \$INSTALLDIR = '%{perl_vendorlib}/Autopsy/';
+ $INSTALLDIR = '%{perl_vendorlib}/Autopsy/';
# System Utilities
- \$GREP_EXE = '/bin/grep';
+ $GREP_EXE = '/bin/grep';
# Directories
- \$TSKDIR = '%{_bindir}';
- \$FILE_EXE = '%{_bindir}/file';
- \$NSRLDB = '';
- \$LOCKDIR = '/home/services/autopsy';
+ $TSKDIR = '%{_bindir}';
+ $FILE_EXE = '%{_bindir}/file';
+ $NSRLDB = '';
+# FIXME: FHS: /var/{lib,run}/autopsy?
+ $LOCKDIR = '/home/services/autopsy';
EOF
%install
@@ -85,14 +86,6 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%pre
-
-%post
-
-%preun
-
-%postun
-
%files
%defattr(644,root,root,755)
%doc README.txt docs/sleuthkit-informer-13.txt
@@ -109,6 +102,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/10/30 22:39:56 glen
+- perl autodeps
+- cleanups
+
Revision 1.3 2006/10/30 22:35:46 glen
- adapter
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/autopsy.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list