Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
sleuthkit
sleuthkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sleuthkit.spec of Package sleuthkit
# # spec file for package sleuthkit # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define sosuffix -3 Name: sleuthkit Version: 3.2.3 Release: 0 Summary: The Sleuth Kit (TSK): tools for file system and volume forensic analysis License: CPL-1.0 and IPL-1.0 and GPL-2.0+ Url: http://www.sleuthkit.org/ Group: System/Monitoring Source0: http://downloads.sourceforge.net/sleuthkit/%{name}-%{version}.tar.gz Patch0: sleuthkit-gcc47.patch BuildRequires: gcc-c++ BuildRequires: libopenssl-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: libtool # afflib - BSD with advertising, GPL incompatible - note sleuthkit is not GPL #BuildRequires: afflib-devel >= 3.3.4 BuildRequires: afflib-devel # libewf - Newer versions are plain BSD (older are BSD with advertising) BuildRequires: libewf-devel Requires: file Requires: libtsk3%sosuffix = %{version}-%{release} Requires: mac-robber %description The Sleuth Kit (TSK) is a collection of UNIX-based command line tools that allow you to investigate a computer. The current focus of the tools is the file and volume systems and TSK supports FAT, Ext2/3, NTFS, UFS, and ISO 9660 file systems %package -n libtsk3%sosuffix Summary: Library for %{name} Group: System/Libraries %description -n libtsk3%sosuffix The libtsk3%suffix package contains library for %{name}. %package devel Summary: Development files for %{name} Group: Development/Libraries/Other Requires: libtsk3%sosuffix = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 # re-run autotools %if 0 libtoolize --force aclocal autoheader autoconf automake %endif %build export LIBS=' -lpthread -ldl' %configure --disable-static # remove rpath from libtool # closed by tm sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool # clean unused-direct-shlib-dependencies #sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool # export CFLAGS="%%{optflags}" # export CXXFLAGS="%%{optflags}" export LDFLAGS="-avoid-version -module" %{__make} %{?_smp_mflags} %install %if 0%{?sles_version} > 0 make install DESTDIR=%{buildroot} INSTALL="install -p" %else %make_install INSTALL="install -p" %endif find %{buildroot} -name '*.la' -exec rm -f {} ';' %post -n libtsk3%sosuffix -p /sbin/ldconfig %postun -n libtsk3%sosuffix -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc ChangeLog.txt NEWS.txt README.txt licenses/* # License is CPL 1.0 exept for some files. %{_bindir}/blkcalc %{_bindir}/blkcat %{_bindir}/blkls %{_bindir}/blkstat #{_bindir}/disk_sreset #{_bindir}/disk_stat %{_bindir}/ffind %{_bindir}/fls %{_bindir}/fsstat %{_bindir}/hfind %{_bindir}/icat %{_bindir}/ifind %{_bindir}/ils %{_bindir}/img_cat %{_bindir}/img_stat %{_bindir}/istat %{_bindir}/jcat %{_bindir}/jls # This file is described as GPL in the doc # But the license remains CPL in the source. %{_bindir}/mactime ## %{_bindir}/mmcat %{_bindir}/mmls %{_bindir}/mmstat %{_bindir}/sigfind %{_bindir}/sorter ## This file is GPLv2+ %{_bindir}/srch_strings # %{_mandir}/man1/blkcalc.1* %{_mandir}/man1/blkcat.1* %{_mandir}/man1/blkls.1* %{_mandir}/man1/blkstat.1* #{_mandir}/man1/disk_sreset.1* #{_mandir}/man1/disk_stat.1* %{_mandir}/man1/ffind.1* %{_mandir}/man1/fls.1* %{_mandir}/man1/fsstat.1* %{_mandir}/man1/hfind.1* %{_mandir}/man1/icat.1* %{_mandir}/man1/ifind.1* %{_mandir}/man1/ils.1* %{_mandir}/man1/img_cat.1* %{_mandir}/man1/img_stat.1* %{_mandir}/man1/istat.1* %{_mandir}/man1/jcat.1* %{_mandir}/man1/jls.1* %{_mandir}/man1/mactime.1* %{_mandir}/man1/mmcat.1* %{_mandir}/man1/mmls.1* %{_mandir}/man1/mmstat.1* %{_mandir}/man1/sigfind.1* %{_mandir}/man1/sorter.1* %dir %{_datadir}/tsk3 %{_datadir}/tsk3/sorter/ %{_bindir}/tsk_comparedir %{_bindir}/tsk_gettimes %{_bindir}/tsk_loaddb %{_bindir}/tsk_recover %{_mandir}/man1/tsk_comparedir.1.gz %{_mandir}/man1/tsk_gettimes.1.gz %{_mandir}/man1/tsk_loaddb.1.gz %{_mandir}/man1/tsk_recover.1.gz %files -n libtsk3%sosuffix %defattr(-,root,root,-) # CPL and IBM %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) # CPL and IBM %{_includedir}/tsk3/ %{_libdir}/*.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor