[2314] | 1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
| 2 | |
---|
| 3 | Summary: Library to support the Expert Witness Compression Format |
---|
| 4 | Name: libewf |
---|
| 5 | Version: 20100226 |
---|
[2602] | 6 | Release: 2%{?_dist_release} |
---|
[2314] | 7 | License: LGPL |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: http://libewf.sourceforge.net |
---|
| 10 | |
---|
| 11 | Source0: %{name}-%{version}.tar.gz |
---|
| 12 | Source1: mount_ewf-20090113.py |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | |
---|
| 16 | Requires: zlib |
---|
| 17 | BuildRequires: zlib-devel |
---|
| 18 | BuildRequires: libuuid-devel |
---|
| 19 | BuildRequires: openssl-devel |
---|
| 20 | BuildRequires: python-devel |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | libewf is a library for support of the Expert Witness Compression Format (EWF). |
---|
| 24 | libewf allows you to read media information of EWF files in the SMART (EWF-S01) |
---|
| 25 | format and the EnCase (EWF-E01) format. libewf allows to read files created by |
---|
| 26 | EnCase 1 to 6, linen and FTK Imager. |
---|
| 27 | |
---|
| 28 | %package devel |
---|
| 29 | Summary: Header files and libraries for developing applications for libewf |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | Requires: libewf = %{version}-%{release} |
---|
| 32 | |
---|
| 33 | %description devel |
---|
| 34 | Header files and libraries for developing applications for libewf. |
---|
| 35 | |
---|
| 36 | %package tools |
---|
| 37 | Summary: Several tools for reading and writing EWF files |
---|
| 38 | Group: Applications/System |
---|
| 39 | Requires: openssl e2fsprogs-devel libewf = %{version}-%{release} |
---|
| 40 | BuildRequires: zlib-devel openssl-devel e2fsprogs-devel |
---|
| 41 | |
---|
| 42 | %description tools |
---|
| 43 | Several tools for reading and writing EWF files. |
---|
| 44 | It contains tools to acquire, verify and export EWF files. |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | %configure \ |
---|
| 51 | --disable-static \ |
---|
| 52 | --enable-v2-api=yes \ |
---|
| 53 | --enable-wide-character-type \ |
---|
| 54 | --enable-python |
---|
| 55 | make %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 59 | make DESTDIR=${RPM_BUILD_ROOT} install |
---|
| 60 | |
---|
| 61 | mkdir -p ${RPM_BUILD_ROOT}/sbin |
---|
| 62 | install -pm 0755 %{SOURCE1} ${RPM_BUILD_ROOT}/sbin/mount.ewf |
---|
| 63 | ln -s mount.ewf ${RPM_BUILD_ROOT}/sbin/umount.ewf |
---|
| 64 | |
---|
| 65 | find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} ';' |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 69 | |
---|
| 70 | %post -p /sbin/ldconfig |
---|
| 71 | |
---|
| 72 | %postun -p /sbin/ldconfig |
---|
| 73 | |
---|
| 74 | %files |
---|
| 75 | %defattr(644,root,root,755) |
---|
| 76 | %doc AUTHORS COPYING NEWS README |
---|
| 77 | %attr(755,root,root) %{_libdir}/*.so.* |
---|
| 78 | |
---|
| 79 | %files devel |
---|
| 80 | %defattr(644,root,root,755) |
---|
| 81 | %doc AUTHORS COPYING NEWS README ChangeLog |
---|
| 82 | %{_libdir}/*.so |
---|
| 83 | %{_libdir}/pkgconfig/libewf.pc |
---|
| 84 | %{_includedir}/* |
---|
| 85 | %{_mandir}/man3/* |
---|
| 86 | |
---|
| 87 | %files tools |
---|
| 88 | %defattr(644,root,root,755) |
---|
| 89 | %doc AUTHORS COPYING NEWS README |
---|
| 90 | %attr(755,root,root) %{_bindir}/ewfacquire |
---|
| 91 | %attr(755,root,root) %{_bindir}/ewfacquirestream |
---|
| 92 | %attr(755,root,root) %{_bindir}/ewfexport |
---|
| 93 | %attr(755,root,root) %{_bindir}/ewfinfo |
---|
| 94 | %attr(755,root,root) %{_bindir}/ewfverify |
---|
| 95 | %attr(755,root,root) /sbin/*.ewf |
---|
| 96 | %{python_sitearch}/pyewf.so* |
---|
| 97 | %{_mandir}/man1/* |
---|
| 98 | |
---|
| 99 | %changelog |
---|
[2602] | 100 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-2 |
---|
| 101 | - rebuild with openssl-1.0.0c |
---|
| 102 | |
---|
[2314] | 103 | * Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-1 |
---|
| 104 | - initial build for Vine Linux |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | * Sat Nov 14 2009 Joachim Metz <forensics@hoffmannbv.nl> 20091114-1 |
---|
| 108 | - Removed ewfalter and ewfdebug exclusion for stable release |
---|
| 109 | |
---|
| 110 | * Fri Aug 28 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090828-1 |
---|
| 111 | - Added dynamic support for libuuid requires and build requires |
---|
| 112 | |
---|
| 113 | * Sun Apr 5 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090405-1 |
---|
| 114 | - Added exclusion for ewfdebug |
---|
| 115 | - Added default v2 API support |
---|
| 116 | |
---|
| 117 | * Sat Mar 7 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090307-1 |
---|
| 118 | - Changed libuca into libuna |
---|
| 119 | - Added support for libbfio |
---|
| 120 | |
---|
| 121 | * Tue Sep 2 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080902-1 |
---|
| 122 | - Changed project website |
---|
| 123 | - Added support for libuca |
---|
| 124 | |
---|
| 125 | * Sat Aug 9 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080809-1 |
---|
| 126 | - Changed license |
---|
| 127 | |
---|
| 128 | * Sun May 11 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080511-1 |
---|
| 129 | - Fixed a typo |
---|
| 130 | |
---|
| 131 | * Thu May 1 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080501-1 |
---|
| 132 | - Added some addition text to the description of the tools package |
---|
| 133 | |
---|
| 134 | * Wed Mar 12 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080312-1 |
---|
| 135 | - Added requirement for e2fsprogs-devel package for libuuid |
---|
| 136 | |
---|
| 137 | * Sat Dec 29 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071229-1 |
---|
| 138 | - Updated URL |
---|
| 139 | |
---|
| 140 | * Sun Dec 9 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071209-1 |
---|
| 141 | - Moved pkgconfig file from excluded to development |
---|
| 142 | - Adjustments to Requires and BuildRequires |
---|
| 143 | - Adjusted description of library package removed tools |
---|
| 144 | - Corrected groups |
---|
| 145 | |
---|
| 146 | * Sat Sep 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070915-1 |
---|
| 147 | - Adjustment to text |
---|
| 148 | - library and tools are now stored in seperate packages |
---|
| 149 | |
---|
| 150 | * Mon Jan 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070115-1 |
---|
| 151 | - Added ewfacquirestream to package |
---|
| 152 | |
---|
| 153 | * Fri Dec 29 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061229-1 |
---|
| 154 | - Added exclusion of new expirimental addtitions |
---|
| 155 | |
---|
| 156 | * Tue Dec 26 2006 Christophe Grenier <grenier@cgsecurity.org> 20061223-2 |
---|
| 157 | - Made small correction to the spec file, removed abundant Requires line |
---|
| 158 | |
---|
| 159 | * Sat Dec 23 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061223-1 |
---|
| 160 | - Made small corrections to the spec file input by Christophe Grenier |
---|
| 161 | - Added --libdir to ./configure to correct for /usr/lib64 |
---|
| 162 | |
---|
| 163 | * Sat Dec 19 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061219-1 |
---|
| 164 | - Made small corrections to the spec file input by Christophe Grenier |
---|
| 165 | - The library source package no longer contains a release number |
---|
| 166 | |
---|
| 167 | * Sat Dec 16 2006 Christophe Grenier <grenier@cgsecurity.org> 20061213-2 |
---|
| 168 | - Fixed the spec file |
---|
| 169 | |
---|
| 170 | * Sat Dec 9 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061213-1 |
---|
| 171 | - Initial version |
---|
| 172 | |
---|