SPECS: autopsy.spec - adapter

glen glen at pld-linux.org
Mon Oct 30 23:35:51 CET 2006


Author: glen                         Date: Mon Oct 30 22:35:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapter

---- Files affected:
SPECS:
   autopsy.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/autopsy.spec
diff -u SPECS/autopsy.spec:1.2 SPECS/autopsy.spec:1.3
--- SPECS/autopsy.spec:1.2	Mon Oct 30 23:32:42 2006
+++ SPECS/autopsy.spec	Mon Oct 30 23:35:46 2006
@@ -12,58 +12,56 @@
 #Epoch:		-
 License:	GPL
 Group:		Applications
-Source0:	http://mesh.dl.sourceforge.net/sourceforge/autopsy/%{name}-%{version}.tar.gz
+Source0:	http://dl.sourceforge.net/autopsy/%{name}-%{version}.tar.gz
 # Source0-md5:	0ac9db9acf66742f8f01f3d8b0cf2f90
 URL:		http://www.sleuthkit.org/autopsy
 Requires:	coreutils
-Requires:	perl-Date-Manip
-Requires:	openssl
 Requires:	libmagic
+Requires:	openssl
+Requires:	perl-Date-Manip
 Requires:	sleuthkit
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The Autopsy Forensic Browser is a graphical interface to utilities
-found in The Sleuth Kit (TSK).  TSK is a collection of command line
+found in The Sleuth Kit (TSK). TSK is a collection of command line
 tools that allow you to investigate a Windows or Unix system by
-examining the hard disk contents.  TSK and Autopsy will show you
-the files, data units, and metadata of NTFS, FAT, EXTxFS, and UFS
-file system images in a read-only environment.  Autopsy allows you
-to search for specific types of evidence based on keywords, MAC
-times, hash values, and file types.
+examining the hard disk contents. TSK and Autopsy will show you the
+files, data units, and metadata of NTFS, FAT, EXTxFS, and UFS file
+system images in a read-only environment. Autopsy allows you to search
+for specific types of evidence based on keywords, MAC times, hash
+values, and file types.
 
 %prep
 %setup -q
 
-%build
-
-echo "#!/usr/bin/perl -wT" > autopsy
-echo "use lib qw(/usr/share/perl5/vendor_perl/Autopsy);" >> autopsy
-echo "use lib qw(/usr/share/perl5/vendor_perl/Autopsy/lib);" >> autopsy
+echo "#!%{_bindir}/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
 	# Autopsy configuration settings
-	
+
 	# when set to 1, the server will stop after it receives no
-	# connections for STIMEOUT seconds. 
+	# connections for STIMEOUT seconds.
 	\$USE_STIMEOUT = 0;
 	\$STIMEOUT = 3600;
-	
+
 	# number of seconds that child waits for input from client
 	\$CTIMEOUT = 15;
-	
+
 	# set to 1 to save the cookie value in a file (for scripting)
 	\$SAVE_COOKIE = 1;
-	
-	\$INSTALLDIR = '/usr/share/perl5/vendor_perl/Autopsy/';
-	
+
+	\$INSTALLDIR = '%{perl_vendorlib}/Autopsy/';
+
 	# System Utilities
 	\$GREP_EXE = '/bin/grep';
-	
+
 	# Directories
-	\$TSKDIR = '/usr/bin';
-	\$FILE_EXE = '/usr/bin/file';
+	\$TSKDIR = '%{_bindir}';
+	\$FILE_EXE = '%{_bindir}/file';
 	\$NSRLDB = '';
 	\$LOCKDIR = '/home/services/autopsy';
 EOF
@@ -75,12 +73,12 @@
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 install -d $RPM_BUILD_ROOT/home/services/autopsy
-install -d $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/{lib,pict}
+install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Autopsy/{lib,pict}
 
 install autopsy $RPM_BUILD_ROOT%{_bindir}
-install conf.pl $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/
-install lib/* $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/lib
-install pict/* $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/pict
+install conf.pl $RPM_BUILD_ROOT%{perl_vendorlib}/Autopsy/
+install lib/* $RPM_BUILD_ROOT%{perl_vendorlib}/Autopsy/lib
+install pict/* $RPM_BUILD_ROOT%{perl_vendorlib}/Autopsy/pict
 
 install man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
 
@@ -99,9 +97,9 @@
 %defattr(644,root,root,755)
 %doc README.txt docs/sleuthkit-informer-13.txt
 %attr(755,root,root) %{_bindir}/*
-/usr/share/perl5/vendor_perl/Autopsy/conf.pl
-/usr/share/perl5/vendor_perl/Autopsy/lib/*
-/usr/share/perl5/vendor_perl/Autopsy/pict/*
+%{perl_vendorlib}/Autopsy/conf.pl
+%{perl_vendorlib}/Autopsy/lib/*
+%{perl_vendorlib}/Autopsy/pict/*
 %{_mandir}/man1/*
 /home/services/autopsy
 
@@ -111,10 +109,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/10/30 22:35:46  glen
+- adapter
+
 Revision 1.2  2006/10/30 22:32:42  mguevara
 - br not needed - we do not use the interactive configure/Makefile scripts.
 
 Revision 1.1  2006/10/30 22:25:33  mguevara
 - initial spec
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/autopsy.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list