commit libewf for openSUSE:Factory

2020-01-26 Thread root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2020-01-27 00:22:57

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new.26092 (New)


Package is "libewf"

Mon Jan 27 00:22:57 2020 rev:16 rq:767317 version:0~20140808

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2019-04-20 
17:13:37.342964939 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new.26092/libewf.changes 2020-01-27 
00:23:29.965527011 +0100
@@ -1,0 +2,17 @@
+Sun Jan 26 04:11:53 UTC 2020 - Greg Freemyer 
+- update to libewf-20140808
+* 2014 is the stable branch. 20140808 was released Dec 25, 2019
+* update libyal packages to Jan 2019 versions
+* Added deflate and adler32 fallback implementations
+* Removed dependency on libcstring and libcsystem
+* Added Python 3 support for pyewf
+- add %sosuffix variable and set it to 2
+- update URL and Source fields to current web locations
+- use separate libyal packages, not internal copies
+
+---
+Fri Jan 17 14:05:36 CET 2020 - Matej Cepl 
+- Switch on building of python3 bindings, and make building of
+  python2 bindings conditional (default off).
+
+---

Old:

  libewf-20140608.tar.gz

New:

  libewf-20140808.tar.gz
  libewf-20140808.tar.gz.asc



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.ncy5u4/_old  2020-01-27 00:23:31.461527716 +0100
+++ /var/tmp/diff_new_pack.ncy5u4/_new  2020-01-27 00:23:31.465527718 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,31 +12,44 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define lname  libewf2
-%define timestamp 20140608
+%define modnamelibewf
+%define timestamp 20140808
+%define sosuffix 2
+%bcond_with python2
+
 Name:   libewf
 Version:0~%{timestamp}
 Release:0
 Summary:Library for the Expert Witness Compression Format (EWF)
-License:LGPL-3.0+ and GFDL-1.3+
+License:LGPL-3.0-or-later AND GFDL-1.3-or-later
 Group:  Productivity/File utilities
-Url:http://code.google.com/p/libewf/
-#DL-URL:
https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz
-Source: %{name}-%{timestamp}.tar.gz
+URL:https://github.com/libyal/lib
+Source: 
https://github.com/libyal/libewf-legacy/releases/download/20140808/%{name}-%{timestamp}.tar.gz
+Source1:
https://github.com/libyal/libewf-legacy/releases/download/20140808/%{name}-%{timestamp}.tar.gz.asc
 Source2:http://downloads.sf.net/libewf/mount_ewf-20090113.py
 Source3:Expert_Witness_Compression_Format_EWF.pdf
 Source4:Expert_Witness_Compression_Format_2_EWF2.pdf
 Patch1: remove_date_time_macros.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  flex
+BuildRequires:  fuse-devel
 # Needed for language translation support
 BuildRequires:  gettext
-BuildRequires:  pkg-config
+BuildRequires:  git
+BuildRequires:  libopenssl-devel
+BuildRequires:  libtool
+BuildRequires:  pkgconfig
+%if %{with python2}
 BuildRequires:  python-devel
+%endif
+BuildRequires:  python3-devel
+BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(bzip2) >= 1.0
 BuildRequires:  pkgconfig(fuse) >= 2.6
 BuildRequires:  pkgconfig(libcaes) >= 20120425
@@ -54,18 +67,15 @@
 BuildRequires:  pkgconfig(uuid) >= 2.20
 BuildRequires:  pkgconfig(zlib) >= 1.2.5
 # build fails if libyal package from OBS is used
-# verified 1/10/2015
-#BuildRequires:  pkgconfig(libcstring) >= 20120425
-#BuildRequires:  pkgconfig(libcerror) >= 20120425
-#BuildRequires:  pkgconfig(libcdata) >= 20120425
-#BuildRequires:  pkgconfig(libbfio) >= 20120426
-#BuildRequires:  pkgconfig(libcsystem) >= 20120425
-#BuildRequires:  pkgconfig(libfcache) >= 20120405
-#BuildRequires:  pkgconfig(libfdata)
-#BuildRequires:  pkgconfig(libsmraw) >= 20120630
-#BuildRequires:  pkgconfig(libodraw) >= 20120630
-# verified 4/19/2019  -  libewf hasn't been updated in 5 years and it depends 
on old versions of libyal. :(
-#BuildRequires:  pkgconfig(libcpath) >= 20120701
+# verified 

commit libewf for openSUSE:Factory

2019-04-20 Thread root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2019-04-20 17:13:29

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new.5536 (New)


Package is "libewf"

Sat Apr 20 17:13:29 2019 rev:15 rq:696108 version:0~20140608

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2017-11-03 
16:23:14.707715786 +0100
+++ /work/SRC/openSUSE:Factory/.libewf.new.5536/libewf.changes  2019-04-20 
17:13:37.342964939 +0200
@@ -1,0 +2,12 @@
+Fri Apr 19 23:14:04 UTC 2019 - Greg Freemyer 
+
+- Use the built in version of libcpath
+   * libcpath has been updated and one of the functions renamed
+   * until libewf is updated the internal version of libcpath must be used
+
+---
+Sun Jan 14 19:31:05 UTC 2018 - greg.freem...@gmail.com
+
+- fix a problem with the python to python2 rename
+
+---



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.xYgDKZ/_old  2019-04-20 17:13:39.110967607 +0200
+++ /var/tmp/diff_new_pack.xYgDKZ/_new  2019-04-20 17:13:39.138967650 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,7 +44,6 @@
 BuildRequires:  pkgconfig(libcfile) >= 20120526
 BuildRequires:  pkgconfig(libclocale) >= 20120425
 BuildRequires:  pkgconfig(libcnotify) >= 20120425
-BuildRequires:  pkgconfig(libcpath) >= 20120701
 BuildRequires:  pkgconfig(libcsplit) >= 20120701
 BuildRequires:  pkgconfig(libcthreads) >= 20130723
 BuildRequires:  pkgconfig(libfvalue) >= 20120428
@@ -65,6 +64,8 @@
 #BuildRequires:  pkgconfig(libfdata)
 #BuildRequires:  pkgconfig(libsmraw) >= 20120630
 #BuildRequires:  pkgconfig(libodraw) >= 20120630
+# verified 4/19/2019  -  libewf hasn't been updated in 5 years and it depends 
on old versions of libyal. :(
+#BuildRequires:  pkgconfig(libcpath) >= 20120701
 # these packages not yet released by upstream
 #BuildRequires:  pkgconfig(libmfdata) >= 20120425
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -125,7 +126,8 @@
 Group:  Development/Libraries/Python
 Requires:   %{lname} = %{version}
 BuildRequires:  pkgconfig(python2)
-Obsoletes: python-%{name}
+Provides:   python-%{name} = %{version}
+Obsoletes:  python-%{name} < 20140608
 
 %description -n python2-%{name}
 Python 2 binding for libewf, which can create and read EnCase forensic




commit libewf for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2017-11-03 16:23:13

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf"

Fri Nov  3 16:23:13 2017 rev:14 rq:535309 version:0~20140608

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2015-01-30 
15:05:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2017-11-03 
16:23:14.707715786 +0100
@@ -1,0 +2,7 @@
+Wed Oct 11 20:10:55 UTC 2017 - greg.freem...@gmail.com
+
+- add skeleton python3 support - upstream doesn't have python 3 in the stable 
release
+- rename python-libewf to python2-libewf to be compatible with python 
singlespec
+- remove pyewf as it isn't versioned and isn't singlespec compatible
+
+---

Old:

  Expert_Witness_Compression_Format_(EWF).pdf
  Expert_Witness_Compression_Format_2_(EWF2).pdf

New:

  Expert_Witness_Compression_Format_2_EWF2.pdf
  Expert_Witness_Compression_Format_EWF.pdf



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.n4Z1oa/_old  2017-11-03 16:23:15.319693512 +0100
+++ /var/tmp/diff_new_pack.n4Z1oa/_new  2017-11-03 16:23:15.323693366 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,8 +28,8 @@
 #DL-URL:
https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz
 Source: %{name}-%{timestamp}.tar.gz
 Source2:http://downloads.sf.net/libewf/mount_ewf-20090113.py
-Source3:Expert_Witness_Compression_Format_(EWF).pdf
-Source4:Expert_Witness_Compression_Format_2_(EWF2).pdf
+Source3:Expert_Witness_Compression_Format_EWF.pdf
+Source4:Expert_Witness_Compression_Format_2_EWF2.pdf
 Patch1: remove_date_time_macros.patch
 BuildRequires:  bison
 BuildRequires:  flex
@@ -119,16 +119,27 @@
 This subpackage contains libraries and header files for developing
 applications that want to make use of %{name}.
 
-%package -n python-%{name}
-Summary:Python bindings for libewf, an Expert Witness Compression 
format library
+%package -n python2-%{name}
+Summary:Python 2 bindings for libewf, an Expert Witness Compression 
format library
 License:LGPL-3.0+
 Group:  Development/Libraries/Python
 Requires:   %{lname} = %{version}
-Requires:   python
-Provides:   pyewf = %{version}
+BuildRequires:  pkgconfig(python2)
+Obsoletes: python-%{name}
 
-%description -n python-%{name}
-Python binding for libewf, which can create and read EnCase forensic
+%description -n python2-%{name}
+Python 2 binding for libewf, which can create and read EnCase forensic
+images.
+
+%package -n python3-%{name}
+Summary:Python 3 bindings for libewf, an Expert Witness Compression 
format library
+License:LGPL-3.0+
+Group:  Development/Libraries/Python
+Requires:   %{lname} = %{version}
+BuildRequires:  pkgconfig(python3)
+
+%description -n python3-%{name}
+Python 3 binding for libewf, which can create and read EnCase forensic
 images.
 
 %prep
@@ -140,7 +151,7 @@
 #export CFLAGS="%optflags -fno-strict-aliasing"
 %configure --disable-static \
   --enable-wide-character-type \
-  --enable-python
+  --enable-python --enable-python3
 
 #Remove rpath from libtool
 #sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
@@ -192,9 +203,14 @@
 %{_libdir}/pkgconfig/libewf.pc
 %{_mandir}/man3/libewf.3*
 
-%files -n python-%{name}
+%files -n python2-%{name}
 %defattr(-,root,root)
 %doc AUTHORS COPYING NEWS README
 %{python_sitearch}/pyewf.so
 
+# this is a skeleton package with no actual binary.  Upstream doesn't have 
python3 support in stable
+%files -n python3-%{name}
+%defattr(-,root,root)
+%doc AUTHORS COPYING NEWS README
+
 %changelog




commit libewf for openSUSE:Factory

2015-01-30 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2015-01-30 15:05:37

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf"

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2014-09-03 
20:14:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2015-01-30 
15:05:38.0 +0100
@@ -1,0 +2,7 @@
+Sat Jan 10 20:05:58 UTC 2015 - greg.freem...@gmail.com
+
+- clean up buildrequires section
+- remove %if opensuse.  Not needed now that libyal is in security:forensics.
+- begin to use newly released libyal packages from OBS
+
+---



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.y1qknW/_old  2015-01-30 15:05:39.0 +0100
+++ /var/tmp/diff_new_pack.y1qknW/_new  2015-01-30 15:05:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -39,42 +39,35 @@
 BuildRequires:  python-devel
 BuildRequires:  pkgconfig(bzip2) >= 1.0
 BuildRequires:  pkgconfig(fuse) >= 2.6
-BuildRequires:  pkgconfig(openssl) >= 1.0.0
-BuildRequires:  pkgconfig(uuid) >= 2.20
-BuildRequires:  pkgconfig(zlib) >= 1.2.5
-# build fails if libyal factory package is used
-# verified 8/25/2014
-#BuildRequires:  pkgconfig(libsmraw) >= 20120630
-# verified 8/20/2014
-#BuildRequires:  pkgconfig(libodraw) >= 20120630
-#BuildRequires:  pkgconfig(libbfio) >= 20120426
-#BuildRequires:  pkgconfig(libcdata) >= 20120425
-#BuildRequires:  pkgconfig(libcerror) >= 20120425
-#not yet in factory, but released by upstream
-#BuildRequires:  pkgconfig(libcdatetime)
-# these packages not yet released by upstream
-#BuildRequires:  pkgconfig(libcstring) >= 20120425
-#BuildRequires:  pkgconfig(libcsystem) >= 20120425
-#BuildRequires:  pkgconfig(libfcache) >= 20120405
-#BuildRequires:  pkgconfig(libfvalue) >= 20120428
-#BuildRequires:  pkgconfig(libmfdata) >= 20120425
-#BuildRequires:pkgconfig(libfdata)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-#use the factory versions of these if building for factory
-%if 0%{?suse_version} > 1230
 BuildRequires:  pkgconfig(libcaes) >= 20120425
+BuildRequires:  pkgconfig(libcdatetime)
 BuildRequires:  pkgconfig(libcfile) >= 20120526
 BuildRequires:  pkgconfig(libclocale) >= 20120425
 BuildRequires:  pkgconfig(libcnotify) >= 20120425
 BuildRequires:  pkgconfig(libcpath) >= 20120701
 BuildRequires:  pkgconfig(libcsplit) >= 20120701
+BuildRequires:  pkgconfig(libcthreads) >= 20130723
+BuildRequires:  pkgconfig(libfvalue) >= 20120428
 BuildRequires:  pkgconfig(libhmac) >= 20120425
 BuildRequires:  pkgconfig(libsmdev) >= 20120630
 BuildRequires:  pkgconfig(libuna) >= 20120425
-%endif
-%if 0%{?suse_version} > 1310
-BuildRequires:  pkgconfig(libcthreads) >= 20130723
-%endif
+BuildRequires:  pkgconfig(openssl) >= 1.0.0
+BuildRequires:  pkgconfig(uuid) >= 2.20
+BuildRequires:  pkgconfig(zlib) >= 1.2.5
+# build fails if libyal package from OBS is used
+# verified 1/10/2015
+#BuildRequires:  pkgconfig(libcstring) >= 20120425
+#BuildRequires:  pkgconfig(libcerror) >= 20120425
+#BuildRequires:  pkgconfig(libcdata) >= 20120425
+#BuildRequires:  pkgconfig(libbfio) >= 20120426
+#BuildRequires:  pkgconfig(libcsystem) >= 20120425
+#BuildRequires:  pkgconfig(libfcache) >= 20120405
+#BuildRequires:  pkgconfig(libfdata)
+#BuildRequires:  pkgconfig(libsmraw) >= 20120630
+#BuildRequires:  pkgconfig(libodraw) >= 20120630
+# these packages not yet released by upstream
+#BuildRequires:  pkgconfig(libmfdata) >= 20120425
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 libewf is a library for support of the Expert Witness Compression

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libewf for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2014-09-03 18:22:45

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf"

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2014-08-25 
11:03:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2014-09-03 
20:14:18.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 25 18:32:05 UTC 2014 - greg.freem...@gmail.com
+
+- The latest update of libsmraw in factory is not building right in libewf.
+  - Use internal version instead
+- add a version number to Provides: pyewf
+
+---



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.aSLzY3/_old  2014-09-03 20:14:19.0 +0200
+++ /var/tmp/diff_new_pack.aSLzY3/_new  2014-09-03 20:14:19.0 +0200
@@ -43,6 +43,8 @@
 BuildRequires:  pkgconfig(uuid) >= 2.20
 BuildRequires:  pkgconfig(zlib) >= 1.2.5
 # build fails if libyal factory package is used
+# verified 8/25/2014
+#BuildRequires:  pkgconfig(libsmraw) >= 20120630
 # verified 8/20/2014
 #BuildRequires:  pkgconfig(libodraw) >= 20120630
 #BuildRequires:  pkgconfig(libbfio) >= 20120426
@@ -68,7 +70,6 @@
 BuildRequires:  pkgconfig(libcsplit) >= 20120701
 BuildRequires:  pkgconfig(libhmac) >= 20120425
 BuildRequires:  pkgconfig(libsmdev) >= 20120630
-BuildRequires:  pkgconfig(libsmraw) >= 20120630
 BuildRequires:  pkgconfig(libuna) >= 20120425
 %endif
 %if 0%{?suse_version} > 1310
@@ -131,7 +132,7 @@
 Group:  Development/Libraries/Python
 Requires:   %{lname} = %{version}
 Requires:   python
-Provides:   pyewf
+Provides:   pyewf = %{version}
 
 %description -n python-%{name}
 Python binding for libewf, which can create and read EnCase forensic

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libewf for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2014-08-25 11:03:20

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf"

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2014-02-04 
19:22:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2014-08-25 
11:03:52.0 +0200
@@ -1,0 +2,21 @@
+Wed Aug 20 19:19:32 UTC 2014 - greg.freem...@gmail.com
+
+- update to libewf-20140608
+   * worked on integrating multi threaded ewfacquire changes
+   * bug fix for utf16 header functions
+   * bug fix in ewfmount regarding logical files date and time values
+   * make pyewf_handle_open more strict to catch non-string objects
+ without the check the code will segfault on non-string objects
+   * bug fixes in empty block compression
+   * bug fix in libewf_read_io_handle_read_chunk_data error tolerance
+ code path
+   * bug fix in recent process status changes
+   * changed behavior of empty-block check
+- review BuildRequires for new external packages
+- use external packages where possible
+- added to python sub-package section
+   - Requires:   %{lname} = %{version"
+   - Provides:   pyewf
+- ran spec-cleaner
+
+---

Old:

  libewf-20140201.tar.gz

New:

  libewf-20140608.tar.gz



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.s7brrf/_old  2014-08-25 11:03:54.0 +0200
+++ /var/tmp/diff_new_pack.s7brrf/_new  2014-08-25 11:03:54.0 +0200
@@ -16,22 +16,20 @@
 #
 
 
-Name:   libewf
 %define lname  libewf2
-%define timestamp 20140201
-Version:0~%timestamp
+%define timestamp 20140608
+Name:   libewf
+Version:0~%{timestamp}
 Release:0
 Summary:Library for the Expert Witness Compression Format (EWF)
 License:LGPL-3.0+ and GFDL-1.3+
 Group:  Productivity/File utilities
 Url:http://code.google.com/p/libewf/
-
-#DL-URL:
https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-%{timestamp}.tar.gz
-Source: %name-%timestamp.tar.gz
+#DL-URL:
https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz
+Source: %{name}-%{timestamp}.tar.gz
 Source2:http://downloads.sf.net/libewf/mount_ewf-20090113.py
 Source3:Expert_Witness_Compression_Format_(EWF).pdf
 Source4:Expert_Witness_Compression_Format_2_(EWF2).pdf
-
 Patch1: remove_date_time_macros.patch
 BuildRequires:  bison
 BuildRequires:  flex
@@ -39,39 +37,43 @@
 BuildRequires:  gettext
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
-BuildRequires:  xz
 BuildRequires:  pkgconfig(bzip2) >= 1.0
 BuildRequires:  pkgconfig(fuse) >= 2.6
-BuildRequires:  pkgconfig(libcaes) >= 20120425
-#use the factory versions of these if building for factory
-%if 0%{?suse_version} > 1230
-BuildRequires:  pkgconfig(libcnotify) >= 20120425
-BuildRequires:  pkgconfig(libcpath) >= 20120701
-BuildRequires:  pkgconfig(libcsplit) >= 20120701
-# these are in filesystems, but not yet in factory so use the internal version
-#BuildRequires:  pkgconfig(libodraw) >= 20120630
-#BuildRequires:  pkgconfig(libsmdev) >= 20120630
-%endif
 BuildRequires:  pkgconfig(openssl) >= 1.0.0
 BuildRequires:  pkgconfig(uuid) >= 2.20
 BuildRequires:  pkgconfig(zlib) >= 1.2.5
 # build fails if libyal factory package is used
-# verified 7/31/2013
-#BuildRequires:  pkgconfig(libsmraw) >= 20120630
-#BuildRequires:  pkgconfig(libhmac) >= 20120425
-#BuildRequires:  pkgconfig(libclocale) >= 20120425
-#BuildRequires:  pkgconfig(libcerror) >= 20120425
+# verified 8/20/2014
+#BuildRequires:  pkgconfig(libodraw) >= 20120630
 #BuildRequires:  pkgconfig(libbfio) >= 20120426
 #BuildRequires:  pkgconfig(libcdata) >= 20120425
-#BuildRequires:  pkgconfig(libcfile) >= 20120526
-#BuildRequires:  pkgconfig(libuna) >= 20120425
+#BuildRequires:  pkgconfig(libcerror) >= 20120425
+#not yet in factory, but released by upstream
+#BuildRequires:  pkgconfig(libcdatetime)
 # these packages not yet released by upstream
 #BuildRequires:  pkgconfig(libcstring) >= 20120425
 #BuildRequires:  pkgconfig(libcsystem) >= 20120425
 #BuildRequires:  pkgconfig(libfcache) >= 20120405
 #BuildRequires:  pkgconfig(libfvalue) >= 20120428
 #BuildRequires:  pkgconfig(libmfdata) >= 20120425
+#BuildRequires:pkgconfig(libfdata)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+#use the factory versions of these if building for factory
+%if 0%{?suse_version} > 1230
+BuildRequires:  pkgconfig(libcaes) >= 20120

commit libewf for openSUSE:Factory

2014-02-04 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2014-02-04 19:22:29

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf"

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2013-08-05 
20:46:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2014-02-04 
19:22:30.0 +0100
@@ -1,0 +2,6 @@
+Mon Feb  3 11:36:48 UTC 2014 - varadgau...@gmail.com
+
+- update to libewf-20140201 
+- remove nonexistent README.dll from %doc
+
+---

Old:

  libewf-20130416.tar.gz

New:

  libewf-20140201.tar.gz



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.o1tdUR/_old  2014-02-04 19:22:31.0 +0100
+++ /var/tmp/diff_new_pack.o1tdUR/_new  2014-02-04 19:22:31.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -18,7 +18,7 @@
 
 Name:   libewf
 %define lname  libewf2
-%define timestamp 20130416
+%define timestamp 20140201
 Version:0~%timestamp
 Release:0
 Summary:Library for the Expert Witness Compression Format (EWF)
@@ -186,7 +186,7 @@
 
 %files devel
 %defattr(-,root,root)
-%doc AUTHORS ChangeLog COPYING NEWS README README.dll 
+%doc AUTHORS ChangeLog COPYING NEWS README
 %doc *.pdf
 %_includedir/libewf.h
 %_includedir/libewf/

++ libewf-20130416.tar.gz -> libewf-20140201.tar.gz ++
 116244 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libewf for openSUSE:Factory

2013-08-05 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2013-08-05 20:46:42

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf"

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2013-03-10 
08:25:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2013-08-05 
20:46:45.0 +0200
@@ -1,0 +2,29 @@
+Wed Jul 31 19:16:41 UTC 2013 - greg.freem...@gmail.com
+
+- update to 0~20130416
+   * changes to zlib.m4 for adler32 detection
+- add Obsoletes/Provides pair for ewftools.  That was the old name of the tool 
package.
+
+---
+Fri Apr  5 21:23:39 UTC 2013 - jeng...@inai.de
+
+- Cleanups: Set RPM group, license, summary and description
+  metadata; remove unused %py_requires; do not bloat shlib package
+  with documentation
+- Use system libraries instead of bundled ones where possible
+- Name the tools package according to upstream's recommendation
+- Drop unnecessary -fno-strict-aliasing
+
+---
+Wed Apr  3 17:26:26 UTC 2013 - greg.freem...@gmail.com
+
+- update to latest release 20130331
+   * more sync with experimental version
+   * improved error tolerance for issue 8
+   * updated libsmdev to fix issue 13
+- add 2 documentation files provided by upstream
+- fix a illegal group setting
+- update %files sections to match sample specfile in source tree
+- update Requires and BuildRequires to match sample specfile in source tree
+
+---

Old:

  libewf-20130128.tar.gz

New:

  Expert_Witness_Compression_Format_(EWF).pdf
  Expert_Witness_Compression_Format_2_(EWF2).pdf
  libewf-20130416.tar.gz



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.8NFLgM/_old  2013-08-05 20:46:46.0 +0200
+++ /var/tmp/diff_new_pack.8NFLgM/_new  2013-08-05 20:46:46.0 +0200
@@ -16,134 +16,187 @@
 #
 
 
-#
-%define soname 2
-%define timestamp 20130128
-
 Name:   libewf
-Version:0.0.0+%{timestamp}
+%define lname  libewf2
+%define timestamp 20130416
+Version:0~%timestamp
 Release:0
 Summary:Library for the Expert Witness Compression Format (EWF)
-License:LGPL-3.0+
-Group:  System/Libraries
+License:LGPL-3.0+ and GFDL-1.3+
+Group:  Productivity/File utilities
 Url:http://code.google.com/p/libewf/
-Source0:http://libewf.googlecode.com/files/libewf-20130128.tar.gz
-Source1:
http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py
-# PATCH-FIX-OPENSUSE remove_date_time_macros.patch greg.freem...@gmail.com -- 
rpmlint complains about the macros
-Patch0: remove_date_time_macros.patch
-BuildRequires:  e2fsprogs-devel
+
+#DL-URL:
https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-%{timestamp}.tar.gz
+Source: %name-%timestamp.tar.gz
+Source2:http://downloads.sf.net/libewf/mount_ewf-20090113.py
+Source3:Expert_Witness_Compression_Format_(EWF).pdf
+Source4:Expert_Witness_Compression_Format_2_(EWF2).pdf
+
+Patch1: remove_date_time_macros.patch
+BuildRequires:  bison
+BuildRequires:  flex
 # Needed for language translation support
 BuildRequires:  gettext
-BuildRequires:  libuuid-devel
-BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
-#Needed for mount.ewf(.py) support
-BuildRequires:  fuse-devel
 BuildRequires:  python-devel
-BuildRequires:  zlib-devel
-Requires:   zlib
-Recommends: fuse
+BuildRequires:  xz
+BuildRequires:  pkgconfig(bzip2) >= 1.0
+BuildRequires:  pkgconfig(fuse) >= 2.6
+BuildRequires:  pkgconfig(libcaes) >= 20120425
+#use the factory versions of these if building for factory
+%if 0%{?suse_version} > 1230
+BuildRequires:  pkgconfig(libcnotify) >= 20120425
+BuildRequires:  pkgconfig(libcpath) >= 20120701
+BuildRequires:  pkgconfig(libcsplit) >= 20120701
+# these are in filesystems, but not yet in factory so use the internal version
+#BuildRequires:  pkgconfig(libodraw) >= 20120630
+#BuildRequires:  pkgconfig(libsmdev) >= 20120630
+%endif
+BuildRequires:  pkgconfig(openssl) >= 1.0.0
+BuildRequires:  pkgconfig(uuid) >= 2.20
+BuildRequires:  pkgconfig(zlib) >= 1.2.5
+# build fails if libyal factory package is used
+# verified 7/31/2013
+#BuildRequires:  pkgconfig(libsmraw) >= 20120630
+#BuildRequires:  pkgconfig(libhmac) >= 20120425
+#BuildRequires:  pkgconfig(libclocale) >= 20120425
+#BuildRequires:  pkgconfig(libcerror) >= 20120425
+#BuildRequires:  pkgc

commit libewf for openSUSE:Factory

2013-03-09 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2013-03-10 08:25:15

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2013-03-04 
17:28:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2013-03-10 
08:25:17.0 +0100
@@ -1,0 +2,6 @@
+Fri Mar  8 23:08:41 UTC 2013 - greg.freem...@gmail.com
+
+- ensure fuse-devel is installed during build so the ./configure will find it
+- ewfmount fails in some circumstances without this
+
+---



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.BbSwf3/_old  2013-03-10 08:25:18.0 +0100
+++ /var/tmp/diff_new_pack.BbSwf3/_new  2013-03-10 08:25:18.0 +0100
@@ -38,9 +38,11 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 #Needed for mount.ewf(.py) support
+BuildRequires:  fuse-devel
 BuildRequires:  python-devel
 BuildRequires:  zlib-devel
 Requires:   zlib
+Recommends: fuse
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %py_requires
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libewf for openSUSE:Factory

2013-03-04 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2013-03-04 17:28:11

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2012-09-11 
11:25:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2013-03-04 
17:28:12.0 +0100
@@ -1,0 +2,18 @@
+Wed Feb 13 15:05:02 UTC 2013 - h...@urpla.net
+
+- update to libewf-20130128
+- more sync to closer match the experimental version
+- updated pyewf doc strings
+- updated examples
+- fix for zero sized section corruption scenario
+
+---
+Tue Dec 11 00:06:59 UTC 2012 - greg.freem...@gmail.com
+
+- update to libewf-20121209
+  removed memwatch and gettext
+- change license back to LGPL-3.0+
+- closes BNC# 778993
+- create new sub-package python-libewf with python bindings
+
+---

Old:

  libewf-20120813.tar.gz

New:

  libewf-20130128.tar.gz



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.7804R9/_old  2013-03-04 17:28:15.0 +0100
+++ /var/tmp/diff_new_pack.7804R9/_new  2013-03-04 17:28:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -18,18 +18,16 @@
 
 #
 %define soname 2
+%define timestamp 20130128
 
 Name:   libewf
-Version:0.0.0+20120813
+Version:0.0.0+%{timestamp}
 Release:0
-# Per website the code is LGPL-3.0+, but GPL code is present.
-# Upstream has been asked to resolve
-# License:LGPL-3.0+
 Summary:Library for the Expert Witness Compression Format (EWF)
-License:GPL-3.0+
+License:LGPL-3.0+
 Group:  System/Libraries
-Url:http://sourceforge.net/projects/libewf/
-Source0:
http://sourceforge.net/projects/libewf/files/libewf2/libewf-20120813/libewf-20120813.tar.gz
+Url:http://code.google.com/p/libewf/
+Source0:http://libewf.googlecode.com/files/libewf-20130128.tar.gz
 Source1:
http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py
 # PATCH-FIX-OPENSUSE remove_date_time_macros.patch greg.freem...@gmail.com -- 
rpmlint complains about the macros
 Patch0: remove_date_time_macros.patch
@@ -80,12 +78,22 @@
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+%package-n python-%{name}
+Summary:Python binding for libewf
+Group:  System Environment/Libraries
+#BuildRequires:  python-devel
+Requires:   libewf%{soname} = %{version}
+Requires:   python
+
+%description-n python-%{name}
+Python binding for libewf.  libewf can create and read EnCase forensic images.
+
 %prep
-%setup -q -n libewf-20120813
+%setup -q -n libewf-%{timestamp}
 %patch0 -p1
 
 %build
-export CFLAGS="%{optflags} -fno-strict-aliasing "
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 export CXXFLAGS="%{optflags}"
 %configure --disable-static \
   --enable-wide-character-type \
@@ -122,7 +130,6 @@
 %{_bindir}/ewf*
 %{_mandir}/man1/*.gz
 /sbin/*.ewf
-%{python_sitearch}/pyewf.so
 
 %files devel
 %defattr(-,root,root,-)
@@ -132,4 +139,9 @@
 %{_libdir}/pkgconfig/libewf.pc
 %{_mandir}/man3/*.gz
 
+%files -n python-%{name}
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
+%{python_sitearch}/*.so
+
 %changelog

++ libewf-20120813.tar.gz -> libewf-20130128.tar.gz ++
 395431 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libewf for openSUSE:Factory

2012-09-11 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2012-09-11 11:25:02

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/libewf/libewf.changes2012-02-16 
16:17:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2012-09-11 
11:25:05.0 +0200
@@ -1,0 +2,20 @@
+Thu Sep  6 22:19:56 UTC 2012 - greg.freem...@gmail.com
+
+- change license to GPL-3.0+ until upstream resolves LGPL-3.0+ status (BNC# 
778993)
+- run spec-cleaner
+- make soname a define
+- remove requires libewf from ewftools sub-package
+
+---
+Wed Sep  5 15:36:24 UTC 2012 - greg.freem...@gmail.com
+
+- upgrade to libewf-20120813
+  * Bug fixes and multiple enhancements
+  * soname update from 1 to 2
+  * see ChangeLog
+- remove pyver patch, now upstream
+- add remove_date_time_macros.patch to keep builds consistent
+- add zlib as requires as per sample specfile in tarball
+- Add SLES build support
+
+---

Old:

  libewf-20100226-pyver.patch
  libewf-20100226.tar.gz

New:

  libewf-20120813.tar.gz
  remove_date_time_macros.patch



Other differences:
--
++ libewf.spec ++
--- /var/tmp/diff_new_pack.ovotI3/_old  2012-09-11 11:25:07.0 +0200
+++ /var/tmp/diff_new_pack.ovotI3/_new  2012-09-11 11:25:07.0 +0200
@@ -16,23 +16,33 @@
 #
 
 
+#
+%define soname 2
+
 Name:   libewf
-Version:0.0.0+20100226
+Version:0.0.0+20120813
 Release:0
-License:LGPL-3.0+
+# Per website the code is LGPL-3.0+, but GPL code is present.
+# Upstream has been asked to resolve
+# License:LGPL-3.0+
 Summary:Library for the Expert Witness Compression Format (EWF)
-Url:http://sourceforge.net/projects/libewf/
+License:GPL-3.0+
 Group:  System/Libraries
-Source0:
http://sourceforge.net/projects/libewf/files/libewf/libewf-20100226/libewf-20100226.tar.gz
+Url:http://sourceforge.net/projects/libewf/
+Source0:
http://sourceforge.net/projects/libewf/files/libewf2/libewf-20120813/libewf-20120813.tar.gz
 Source1:
http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py
-Patch0: libewf-20100226-pyver.patch
+# PATCH-FIX-OPENSUSE remove_date_time_macros.patch greg.freem...@gmail.com -- 
rpmlint complains about the macros
+Patch0: remove_date_time_macros.patch
 BuildRequires:  e2fsprogs-devel
+# Needed for language translation support
+BuildRequires:  gettext
 BuildRequires:  libuuid-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 #Needed for mount.ewf(.py) support
 BuildRequires:  python-devel
 BuildRequires:  zlib-devel
+Requires:   zlib
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %py_requires
 
@@ -41,11 +51,11 @@
 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 libewf1
+%package -n libewf%{soname}
 Summary:Library to support the Expert Witness Compression Format
 Group:  System/Libraries
 
-%description -n libewf1
+%description -n libewf%{soname}
 libewf is a library for support of the Expert Witness Compression Format (EWF).
 libewf allows you to read media information of EWF files in the SMART (EWF-S01)
 format and the EnCase (EWF-E01) format. libewf allows to read files created by
@@ -54,7 +64,6 @@
 %package -n ewftools
 Summary:Utilities for the Expert Witness Compression Format (EWF)
 Group:  System/Filesystems
-Requires:   %{name}1 = %{version}
 Requires:   python-fuse >= 0.2
 
 %description -n ewftools
@@ -64,7 +73,7 @@
 %packagedevel
 Summary:Development files for %{name}
 Group:  Development/Libraries/C and C++
-Requires:   %{name}1 = %{version}
+Requires:   %{name}%{soname} = %{version}
 Requires:   pkg-config
 
 %descriptiondevel
@@ -72,8 +81,8 @@
 developing applications that use %{name}.
 
 %prep
-%setup -q -n libewf-20100226
-%patch0 -p1 -b .pyver
+%setup -q -n libewf-20120813
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing "
@@ -92,20 +101,20 @@
 make %{?_smp_mflags}
 
 %install
-%make_install
+# maintain SLES compatibility
+make install DESTDIR="%buildroot"
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
-mkdir -p %{buildroot}/sbin
-install -pm 0755 %{SOURCE1} %{buildroot}/sbin/mount.ewf
+install -D -pm 0755 %{SOURCE1} %{bui

commit libewf for openSUSE:Factory

2012-02-16 Thread h_root
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2012-02-16 16:17:45

Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and  /work/SRC/openSUSE:Factory/.libewf.new (New)


Package is "libewf", Maintainer is ""

Changes:

New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes   2012-02-16 
16:17:46.0 +0100
@@ -0,0 +1,27 @@
+---
+Wed Feb  8 09:39:32 UTC 2012 - sasc...@suse.de
+
+- Spec file cleanup:
+  * Provide sane versioning, this will break updates in the 'security'
+project now, but this is better than breaking Factory updates later.
+  * Don't "rm -rf %buildroot" in the %install section
+  * Use upstream tarballs
+  * Cleanup BuildRequires
+
+---
+Mon Feb  6 14:26:34 UTC 2012 - cfarr...@suse.com
+
+- license update: LGPL-3.0+
+  No indication that LGPL-3.0 is the license (i.e. only). Looks like
+  LGPL-3.0+
+
+---
+Sun Sep  4 12:32:17 UTC 2011 - tog...@opensuse.org
+
+- Reworked spec based on fedora package
+- TODO
+  +enable disktype for requires 
+
+Tue Sep 14 2010 - tog...@opensuse.org
+- Initial opensuse build service checkin
+

New:

  libewf-20100226-pyver.patch
  libewf-20100226.tar.gz
  libewf.changes
  libewf.spec
  mount_ewf-20090113.py



Other differences:
--
++ libewf.spec ++
#
# spec file for package libewf
#
# 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/
#


Name:   libewf
Version:0.0.0+20100226
Release:0
License:LGPL-3.0+
Summary:Library for the Expert Witness Compression Format (EWF)
Url:http://sourceforge.net/projects/libewf/
Group:  System/Libraries
Source0:
http://sourceforge.net/projects/libewf/files/libewf/libewf-20100226/libewf-20100226.tar.gz
Source1:
http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py
Patch0: libewf-20100226-pyver.patch
BuildRequires:  e2fsprogs-devel
BuildRequires:  libuuid-devel
BuildRequires:  openssl-devel
BuildRequires:  pkg-config
#Needed for mount.ewf(.py) support
BuildRequires:  python-devel
BuildRequires:  zlib-devel
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%py_requires

%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 libewf1
Summary:Library to support the Expert Witness Compression Format
Group:  System/Libraries

%description -n libewf1
libewf is a library for support of the Expert Witness Compression Format (EWF).
libewf allows you to read media information of EWF files in the SMART (EWF-S01)
format and the EnCase (EWF-E01) format. libewf allows to read files created by
EnCase 1 to 6, linen and FTK Imager.

%package -n ewftools
Summary:Utilities for the Expert Witness Compression Format (EWF)
Group:  System/Filesystems
Requires:   %{name}1 = %{version}
Requires:   python-fuse >= 0.2

%description -n ewftools
Several tools for reading and writing EWF files.
It contains tools to acquire, verify and export EWF files.

%packagedevel
Summary:Development files for %{name}
Group:  Development/Libraries/C and C++
Requires:   %{name}1 = %{version}
Requires:   pkg-config

%descriptiondevel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q -n libewf-20100226
%patch0 -p1 -b .pyver

%build
export CFLAGS="%{optflags} -fno-strict-aliasing "
export CXXFLAGS="%{optflags}"
%configure --disable-static \
  --enable-wide-character-type \
  --enable-python

#Remove rpath from libtool
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool