Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
sleuthkit
sleuthkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sleuthkit.spec of Package sleuthkit
# # spec file for package sleuthkit # # Copyright (c) 2014 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 10 Name: sleuthkit Version: 4.1.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+ Group: System/Monitoring Url: http://www.sleuthkit.org/ Source0: http://downloads.sourceforge.net/sleuthkit/%{name}-%{version}.tar.gz # PATCH-FEATURE-UPSTREAM sleuthkit-4.1.3-python-tsk.patch - Python-tsk provides a python interface, but it needs a small patch to the source code Patch0: sleuthkit-4.1.3-python-tsk.patch BuildRequires: gcc-c++ BuildRequires: libopenssl-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: libtool # libewf - Newer versions are plain BSD (older are BSD with advertising) BuildRequires: libewf-devel Requires: file Requires: libtsk%sosuffix = %{version} Requires: mac-robber # fiwalk has been incorporated into sleuthkit. Last standalone version was 0.6.16 Provides: fiwalk = %{version} Obsoletes: fiwalk < %{version} %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 libtsk%sosuffix Summary: Library for %{name} Group: System/Libraries %description -n libtsk%sosuffix The libtsk%sosuffix package contains library for %{name}. The name of the library was changed from libtsk3 to libtsk %package devel Summary: Development files for %{name} Group: Development/Libraries/Other Requires: libtsk%sosuffix = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p0 %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} make install DESTDIR=%{buildroot} INSTALL="install -p" %else %make_install INSTALL="install -p" %endif find %{buildroot} -name '*.la' -exec rm -f {} ';' mkdir -p %{buildroot}/%{_datadir}/sleuthkit cp --archive bindings %{buildroot}/%{_datadir}/sleuthkit/bindings %post -n libtsk%sosuffix -p /sbin/ldconfig %postun -n libtsk%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}/fcat %{_bindir}/ffind %{_bindir}/fiwalk %{_bindir}/fls %{_bindir}/fsstat %{_bindir}/hfind %{_bindir}/icat %{_bindir}/ifind %{_bindir}/ils %{_bindir}/img_cat %{_bindir}/img_stat %{_bindir}/istat %{_bindir}/jcat %{_bindir}/jls %{_bindir}/jpeg_extract # 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}/tsk %{_datadir}/tsk/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 libtsk%sosuffix %defattr(-,root,root,-) # CPL and IBM %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) # CPL and IBM %{_includedir}/tsk/ %{_libdir}/*.so %{_datadir}/sleuthkit %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