From 3790f5e2233ea5d83398c3a74d3009b79edb3456 Mon Sep 17 00:00:00 2001
From: Brian Carrier <carrier@sleuthkit.org>
Date: Tue, 3 Feb 2009 02:25:47 +0000
Subject: [PATCH] Added RPM Spec file

---
 CHANGES.txt             |  2 ++
 Makefile.am             |  1 +
 packages/sleuthkit.spec | 68 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 71 insertions(+)
 create mode 100644 packages/sleuthkit.spec

diff --git a/CHANGES.txt b/CHANGES.txt
index e23ba15b9..f24af4156 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -35,6 +35,8 @@ checking the address and name.  Reported by Andy Bontoft.
 1/29/09: Update: Fixed fix for bug 2534449.  The fix is in ifind 
 instead of fs_dir_add().  
 
+2/2/09: Update: Added RPM spec file from Morgan Weetmam.
+
 
 ---------------- VERSION 3.0.0 -------------- 
 0/00/00: Update: Many, many, many API changes.
diff --git a/Makefile.am b/Makefile.am
index 1e48fef1d..6743693bf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,7 @@
 EXTRA_DIST = README_win32.txt README.txt INSTALL.txt CHANGES.txt \
     licenses/GNU-COPYING licenses/IBM-LICENSE licenses/cpl1.0.txt \
     docs/README.txt \
+    packages/sleuthkit.spec \
     win32/BUILDING.txt \
     win32/blkcalc/blkcalc.vcproj win32/blkcat/blkcat.vcproj \
     win32/blkls/blkls.vcproj win32/blkstat/blkstat.vcproj \
diff --git a/packages/sleuthkit.spec b/packages/sleuthkit.spec
new file mode 100644
index 000000000..27fe71c7d
--- /dev/null
+++ b/packages/sleuthkit.spec
@@ -0,0 +1,68 @@
+Name:		sleuthkit	
+Version:	3.0.0
+Release:	1%{?dist}
+Summary:	The Sleuth Kit (TSK) is a library and collection of command line tools that allow you to investigate volume and file system data.	
+
+Group:		Utilities	
+License:	IBM Public License / Common Public License / GPL 2
+URL:		http://www.sleuthkit.org	
+Packager:	Morgan Weetman <morganweetman[at]users[dot]sourceforge[dot]net>
+Source0:	%{name}-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:	gcc, make
+
+%description
+The Sleuth Kit (previously known as TASK) is a collection of UNIX-based command line file and volume system forensic analysis tools. The file system tools allow you to examine file systems of a suspect computer in a non-intrusive fashion. Because the tools do not rely on the operating system to process the file systems, deleted and hidden content is shown.
+
+The volume system (media management) tools allow you to examine the layout of disks and other media. The Sleuth Kit supports DOS partitions, BSD partitions (disk labels), Mac partitions, Sun slices (Volume Table of Contents), and GPT disks. With these tools, you can identify where partitions are located and extract them so that they can be analyzed with file system analysis tools.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%dir %{_libdir}
+%{_libdir}/*
+%dir %{_bindir}
+%{_bindir}/*
+%dir %{_mandir}/man1
+%{_mandir}/man1/*
+%dir /usr/include/tsk3
+/usr/include/tsk3/*
+%dir /usr/include/tsk3/base
+/usr/include/tsk3/base/*
+%dir /usr/include/tsk3/fs
+/usr/include/tsk3/fs/*
+%dir /usr/include/tsk3/hashdb
+/usr/include/tsk3/hashdb/*
+%dir /usr/include/tsk3/img
+/usr/include/tsk3/img/*
+%dir /usr/include/tsk3/vs
+/usr/include/tsk3/vs/*
+%dir /usr/share/tsk3
+%dir /usr/share/tsk3/sorter
+/usr/share/tsk3/sorter/*
+%doc CHANGES.txt INSTALL.txt README.txt README_win32.txt
+
+
+
+%changelog
+* Tue Jun 03 2008 Morgan Weetman <morganweetman[at]users[dot]sourceforge[dot]net>
+- (3.0.0-1)      Initial packaging
+
-- 
GitLab