2 # TODO - %service stuff
3 # - add user autopsy with proper homedir rights
6 Summary: The Autopsy Forensic Browser is a graphical interface to The Sleuth Kit utilities
7 Summary(pl): Autopsy Forensic Browser jest graficznym interfejsem do narzêdzi z The Sleuth Kit
14 Source0: http://mesh.dl.sourceforge.net/sourceforge/autopsy/%{name}-%{version}.tar.gz
15 # Source0-md5: 0ac9db9acf66742f8f01f3d8b0cf2f90
16 URL: http://www.sleuthkit.org/autopsy
18 Requires: perl-Date-Manip
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The Autopsy Forensic Browser is a graphical interface to utilities
26 found in The Sleuth Kit (TSK). TSK is a collection of command line
27 tools that allow you to investigate a Windows or Unix system by
28 examining the hard disk contents. TSK and Autopsy will show you
29 the files, data units, and metadata of NTFS, FAT, EXTxFS, and UFS
30 file system images in a read-only environment. Autopsy allows you
31 to search for specific types of evidence based on keywords, MAC
32 times, hash values, and file types.
39 echo "#!/usr/bin/perl -wT" > autopsy
40 echo "use lib qw(/usr/share/perl5/vendor_perl/Autopsy);" >> autopsy
41 echo "use lib qw(/usr/share/perl5/vendor_perl/Autopsy/lib);" >> autopsy
42 cat base/autopsy.base >> autopsy
45 # Autopsy configuration settings
47 # when set to 1, the server will stop after it receives no
48 # connections for STIMEOUT seconds.
52 # number of seconds that child waits for input from client
55 # set to 1 to save the cookie value in a file (for scripting)
58 \$INSTALLDIR = '/usr/share/perl5/vendor_perl/Autopsy/';
61 \$GREP_EXE = '/bin/grep';
64 \$TSKDIR = '/usr/bin';
65 \$FILE_EXE = '/usr/bin/file';
67 \$LOCKDIR = '/home/services/autopsy';
71 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_bindir}
74 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
75 install -d $RPM_BUILD_ROOT%{_mandir}/man1
76 install -d $RPM_BUILD_ROOT/home/services/autopsy
77 install -d $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/{lib,pict}
79 install autopsy $RPM_BUILD_ROOT%{_bindir}
80 install conf.pl $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/
81 install lib/* $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/lib
82 install pict/* $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/Autopsy/pict
84 install man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
87 rm -rf $RPM_BUILD_ROOT
98 %defattr(644,root,root,755)
99 %doc README.txt docs/sleuthkit-informer-13.txt
100 %attr(755,root,root) %{_bindir}/*
101 /usr/share/perl5/vendor_perl/Autopsy/conf.pl
102 /usr/share/perl5/vendor_perl/Autopsy/lib/*
103 /usr/share/perl5/vendor_perl/Autopsy/pict/*
105 /home/services/autopsy