libewf-vl.spec 5.3 KB

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