Name: libewf Version: 20140608 Release: 12%{?dist} Summary: Library for the Expert Witness Compression Format (EWF) License: LGPLv3+ URL: http://sourceforge.net/projects/libewf/ Source0: https://53efc0a7187d0baa489ee347026b8278fe4020f6.googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: fuse-devel BuildRequires: libuuid-devel BuildRequires: openssl-devel BuildRequires: zlib-ng-devel #Needed for mount.ewf(.py) support BuildRequires: python2-devel %description Libewf is a library for support of the Expert Witness Compression Format (EWF), it support both the SMART format (EWF-S01) and the EnCase format (EWF-E01). Libewf allows you to read and write media information within the EWF files. %package -n ewftools Summary: Utilities for the Expert Witness Compression Format (EWF) Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-tools = %{version}-%{release} Obsoletes: %{name}-tools <= %{version}-%{release} Requires: python2-fuse >= 0.2 #Requires: disktype %description -n ewftools Several tools for reading and writing EWF files. It contains tools to acquire, verify and export EWF files. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: zlib-ng-devel Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build # FIXME: Package suffers from c11/inline issues # Workaround by appending -std=gnu89 to CFLAGS # Proper fix would be to fix the source-code %configure --disable-static \ --enable-wide-character-type \ --enable-python \ %if "%{version}" <= "20140608" CFLAGS="${RPM_OPT_FLAGS} -std=gnu89" %endif # Remove rpath from libtool sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i '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 %make_build %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets %files %doc AUTHORS NEWS %license COPYING %{_libdir}/*.so.* %files -n ewftools %{_bindir}/ewf* %{_mandir}/man1/*.gz %{python2_sitearch}/pyewf.so %files devel %{_includedir}/libewf.h %{_includedir}/libewf/ %{_libdir}/*.so %{_libdir}/pkgconfig/libewf.pc %{_mandir}/man3/*.gz %changelog * Tue Jul 17 2018 Nicolas Chauvet - 20140608-12 - Few cleanup * Fri Jul 13 2018 Fedora Release Engineering - 20140608-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 20140608-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 23 2017 Nicolas Chauvet - 20140608-9 - Fix python2-fuse dependency - Spec file update * Thu Aug 03 2017 Fedora Release Engineering - 20140608-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 20140608-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 20140608-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 20140608-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 20140608-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jul 13 2015 Ralf Corsépius - 20140608-3 - Append -stdc=gnu89 to CFLAGS (Fix F23FTBFS, RHBZ#1239643). * Wed Jun 17 2015 Fedora Release Engineering - 20140608-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 25 2014 Michal Ambroz - 20140608-1 - Update to 20140608 * Sun Aug 17 2014 Fedora Release Engineering - 20130416-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 20130416-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 20130416-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat May 18 2013 Nicolas Chauvet - 20130416-1 - Update to 20130416 * Thu Feb 28 2013 Nicolas Chauvet - 20130128-1 - Update to 20130128 - Switch to LGPLv3+ - Add BR fuse-devel - Spec clean-up * Thu Feb 14 2013 Fedora Release Engineering - 20100226-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 20100226-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 20100226-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 20100226-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 20100226-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Mon Mar 8 2010 Nicolas Chauvet - 20100226-1 - Update to 20100226 - Avoid version on python module. * Fri Aug 21 2009 Tomas Mraz - 20080501-9 - rebuilt with new openssl * Fri Jul 24 2009 Fedora Release Engineering - 20080501-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 29 2009 kwizart < kwizart at gmail.com > - 20080501-7 - Switch to libuuid-devel usage over e2fsprogs-devel * Wed Feb 25 2009 Fedora Release Engineering - 20080501-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 15 2009 kwizart < kwizart at gmail.com > - 20080501-5 - Update mount_ewf to 20090113 * Sat Dec 27 2008 kwizart < kwizart at gmail.com > - 20080501-4 - Fix for python2.6 * Mon Sep 15 2008 kwizart < kwizart at gmail.com > - 20080501-3 - Update mount_ewf to 20080910 - Switch URL to sourceforge site * Sat Jun 7 2008 kwizart < kwizart at gmail.com > - 20080501-2 - Update mount_ewf to 20080513 * Thu May 1 2008 kwizart < kwizart at gmail.com > - 20080501-1 - Update to 20080501 (bugfix) - Patch for pkg-config was merged with this release - Improve ewftools description. * Tue Apr 29 2008 kwizart < kwizart at gmail.com > - 20080322-3 - Add disktype Requires for ewftools (required for mount.ewf support). - Patch libewf.pc to export only the needed libs * Tue Apr 22 2008 kwizart < kwizart at gmail.com > - 20080322-2 - Add support for mount.ewf with fuse-python * Wed Mar 26 2008 kwizart < kwizart at gmail.com > - 20080322-1 - Update to 20080322 (Stable) - License update: the BSD advertisement clause was removed. * Mon Mar 17 2008 kwizart < kwizart at gmail.com > - 20080315-1 - Update to 20080315 (beta) - Change versionning scheme (use date for version). * Mon Nov 5 2007 kwizart < kwizart at gmail.com > - 0-2.20070512 - Update License to BSD with advertising * Fri Nov 2 2007 kwizart < kwizart at gmail.com > - 0-1.20070512 - Initial package for Fedora