Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F
guymager
guymager.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File guymager.spec of Package guymager
# # spec file for package guymager # # Copyright (c) 2011 Sebastien Braun. # # 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. # norootforbuild %define libguytools_version 2.1.0 Name: guymager Version: 0.8.11 Release: 1 License: GPL-2.0 Summary: Forensic imager for media acquisition Url: http://guymager.sourceforge.net/ Group: System/Filesystems Source0: https://sourceforge.net/projects/guymager/files/guymager/LatestSource/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: https://sourceforge.net/projects/libguytools/files/libguytools/LatestSource/tools-%{libguytools_version}.tar.gz#/libguytools-%{libguytools_version}.tar.gz Patch1: guymager-0.7.4-formatting_fix.patch BuildRequires: libewf-devel BuildRequires: libbfio-devel BuildRequires: afflib-devel BuildRequires: libqt5-linguist-devel BuildRequires: libqt5-qtbase-devel BuildRequires: parted-devel BuildRequires: libopenssl-devel BuildRequires: libudev-devel BuildRequires: dpkg-devel Requires: udisks2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description guymager is a free forensic imager for media acquisition. Its main features are: - Easy user interface in different languages - Runs under Linux - Really fast, due to multi-threaded, pipelined design and multi-threaded data compression - Makes full usage of multi-processor machines - Generates flat (dd), EWF (E01) and AFF images, supports disk cloning - Free of charges, completely open source %prep %setup -q -c -T -a 0 -a 1 # we don't need those one-app-only shared libs in our system dir=$(cd tools-%{libguytools_version} && pwd) cd %{name}-%{version} sed -i \ -e "s:-lguytools:${dir}/lib/libguytools.a:g" \ -e "s:/usr/include/libguytools2:${dir}/include:g" \ guymager.pro # fixing screwed up default config file (https://forensics.cert.org/3-all_announcements.html) sed --in-place 's/\\$/ /' %{name}.cfg %build cd tools-%{libguytools_version} echo "VERSION = %{libguytools_version}" > tools_version.pro.inc %qmake5 toolsstatic.pro %{__make} %{?jobs:-j%jobs} cd ../%{name}-%{version} date '+const char *pCompileInfoTimestamp = "%%Y-%%m-%%d-%%H.%%M.%%S";' > compileinfo.cpp echo 'const char *pCompileInfoVersion = "%{version}";' >> compileinfo.cpp %qmake5 guymager.pro %{__make} %{?jobs:-j%jobs} cd manuals ./rebuild.sh %install cd %{name}-%{version} install -d %{buildroot}%{_bindir} \ %{buildroot}%{_sysconfdir}/%{name} \ %{buildroot}%{_datadir}/%{name} \ %{buildroot}%{_mandir}/man1 install -m 0755 -p -s -t %{buildroot}%{_bindir} guymager install -m 0644 -p -t %{buildroot}%{_sysconfdir}/%{name} guymager.cfg lrelease-qt5 -compress %{name}.pro install -m 0644 -p -t %{buildroot}%{_datadir}/%{name} *.qm install -m 0644 -p -t %{buildroot}%{_mandir}/man1 manuals/%{name}.1 %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %{_sysconfdir}/%{name} %{_sysconfdir}/%{name}/%{name}.cfg %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/%{name}/*.qm %{_mandir}/man1/*
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