source: projects/specs/branches/6/lib/libe/libewf/libewf-vl.spec @ 2602

Revision 2602, 5.3 KB checked in by Takemikaduchi, 13 years ago (diff)

libXtst: add Requires, libewf,testdisk: rebuild with openssl-1.0.0c, others: new upstream release

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Summary: Library to support the Expert Witness Compression Format
4Name: libewf
5Version: 20100226
6Release: 2%{?_dist_release}
7License: LGPL
8Group: System Environment/Libraries
9URL: http://libewf.sourceforge.net
10
11Source0: %{name}-%{version}.tar.gz
12Source1: mount_ewf-20090113.py
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16Requires:   zlib
17BuildRequires:   zlib-devel
18BuildRequires:   libuuid-devel
19BuildRequires:   openssl-devel
20BuildRequires:   python-devel
21
22%description
23libewf is a library for support of the Expert Witness Compression Format (EWF).
24libewf allows you to read media information of EWF files in the SMART (EWF-S01)
25format and the EnCase (EWF-E01) format. libewf allows to read files created by
26EnCase 1 to 6, linen and FTK Imager.
27
28%package devel
29Summary: Header files and libraries for developing applications for libewf
30Group: Development/Libraries
31Requires: libewf = %{version}-%{release}
32
33%description devel
34Header files and libraries for developing applications for libewf.
35
36%package tools
37Summary: Several tools for reading and writing EWF files
38Group: Applications/System
39Requires: openssl e2fsprogs-devel libewf = %{version}-%{release}
40BuildRequires: zlib-devel openssl-devel e2fsprogs-devel
41
42%description tools
43Several tools for reading and writing EWF files.
44It 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
55make %{?_smp_mflags}
56
57%install
58rm -rf ${RPM_BUILD_ROOT}
59make DESTDIR=${RPM_BUILD_ROOT} install
60
61mkdir -p ${RPM_BUILD_ROOT}/sbin
62install -pm 0755 %{SOURCE1} ${RPM_BUILD_ROOT}/sbin/mount.ewf
63ln -s mount.ewf ${RPM_BUILD_ROOT}/sbin/umount.ewf
64
65find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} ';'
66
67%clean
68rm -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* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-2
101- rebuild with openssl-1.0.0c
102
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
Note: See TracBrowser for help on using the repository browser.