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 |
---|
6 | Release: 4%{?_dist_release} |
---|
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 |
---|
100 | * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-4 |
---|
101 | - rebuild with openssl-1.0.2 |
---|
102 | |
---|
103 | * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-3 |
---|
104 | - rebuild with python-2.7.2 |
---|
105 | |
---|
106 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-2 |
---|
107 | - rebuild with openssl-1.0.0c |
---|
108 | |
---|
109 | * Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-1 |
---|
110 | - initial build for Vine Linux |
---|
111 | |
---|
112 | |
---|
113 | * Sat Nov 14 2009 Joachim Metz <forensics@hoffmannbv.nl> 20091114-1 |
---|
114 | - Removed ewfalter and ewfdebug exclusion for stable release |
---|
115 | |
---|
116 | * Fri Aug 28 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090828-1 |
---|
117 | - Added dynamic support for libuuid requires and build requires |
---|
118 | |
---|
119 | * Sun Apr 5 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090405-1 |
---|
120 | - Added exclusion for ewfdebug |
---|
121 | - Added default v2 API support |
---|
122 | |
---|
123 | * Sat Mar 7 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090307-1 |
---|
124 | - Changed libuca into libuna |
---|
125 | - Added support for libbfio |
---|
126 | |
---|
127 | * Tue Sep 2 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080902-1 |
---|
128 | - Changed project website |
---|
129 | - Added support for libuca |
---|
130 | |
---|
131 | * Sat Aug 9 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080809-1 |
---|
132 | - Changed license |
---|
133 | |
---|
134 | * Sun May 11 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080511-1 |
---|
135 | - Fixed a typo |
---|
136 | |
---|
137 | * Thu May 1 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080501-1 |
---|
138 | - Added some addition text to the description of the tools package |
---|
139 | |
---|
140 | * Wed Mar 12 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080312-1 |
---|
141 | - Added requirement for e2fsprogs-devel package for libuuid |
---|
142 | |
---|
143 | * Sat Dec 29 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071229-1 |
---|
144 | - Updated URL |
---|
145 | |
---|
146 | * Sun Dec 9 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071209-1 |
---|
147 | - Moved pkgconfig file from excluded to development |
---|
148 | - Adjustments to Requires and BuildRequires |
---|
149 | - Adjusted description of library package removed tools |
---|
150 | - Corrected groups |
---|
151 | |
---|
152 | * Sat Sep 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070915-1 |
---|
153 | - Adjustment to text |
---|
154 | - library and tools are now stored in seperate packages |
---|
155 | |
---|
156 | * Mon Jan 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070115-1 |
---|
157 | - Added ewfacquirestream to package |
---|
158 | |
---|
159 | * Fri Dec 29 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061229-1 |
---|
160 | - Added exclusion of new expirimental addtitions |
---|
161 | |
---|
162 | * Tue Dec 26 2006 Christophe Grenier <grenier@cgsecurity.org> 20061223-2 |
---|
163 | - Made small correction to the spec file, removed abundant Requires line |
---|
164 | |
---|
165 | * Sat Dec 23 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061223-1 |
---|
166 | - Made small corrections to the spec file input by Christophe Grenier |
---|
167 | - Added --libdir to ./configure to correct for /usr/lib64 |
---|
168 | |
---|
169 | * Tue Dec 19 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061219-1 |
---|
170 | - Made small corrections to the spec file input by Christophe Grenier |
---|
171 | - The library source package no longer contains a release number |
---|
172 | |
---|
173 | * Sat Dec 16 2006 Christophe Grenier <grenier@cgsecurity.org> 20061213-2 |
---|
174 | - Fixed the spec file |
---|
175 | |
---|
176 | * Sat Dec 9 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061213-1 |
---|
177 | - Initial version |
---|
178 | |
---|