libewf-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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: 2%{?_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. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-2
  80. - rebuild with openssl-1.0.0c
  81. * Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-1
  82. - initial build for Vine Linux
  83. * Sat Nov 14 2009 Joachim Metz <forensics@hoffmannbv.nl> 20091114-1
  84. - Removed ewfalter and ewfdebug exclusion for stable release
  85. * Fri Aug 28 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090828-1
  86. - Added dynamic support for libuuid requires and build requires
  87. * Sun Apr 5 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090405-1
  88. - Added exclusion for ewfdebug
  89. - Added default v2 API support
  90. * Sat Mar 7 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090307-1
  91. - Changed libuca into libuna
  92. - Added support for libbfio
  93. * Tue Sep 2 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080902-1
  94. - Changed project website
  95. - Added support for libuca
  96. * Sat Aug 9 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080809-1
  97. - Changed license
  98. * Sun May 11 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080511-1
  99. - Fixed a typo
  100. * Thu May 1 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080501-1
  101. - Added some addition text to the description of the tools package
  102. * Wed Mar 12 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080312-1
  103. - Added requirement for e2fsprogs-devel package for libuuid
  104. * Sat Dec 29 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071229-1
  105. - Updated URL
  106. * Sun Dec 9 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071209-1
  107. - Moved pkgconfig file from excluded to development
  108. - Adjustments to Requires and BuildRequires
  109. - Adjusted description of library package removed tools
  110. - Corrected groups
  111. * Sat Sep 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070915-1
  112. - Adjustment to text
  113. - library and tools are now stored in seperate packages
  114. * Mon Jan 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070115-1
  115. - Added ewfacquirestream to package
  116. * Fri Dec 29 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061229-1
  117. - Added exclusion of new expirimental addtitions
  118. * Tue Dec 26 2006 Christophe Grenier <grenier@cgsecurity.org> 20061223-2
  119. - Made small correction to the spec file, removed abundant Requires line
  120. * Sat Dec 23 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061223-1
  121. - Made small corrections to the spec file input by Christophe Grenier
  122. - Added --libdir to ./configure to correct for /usr/lib64
  123. * Sat Dec 19 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061219-1
  124. - Made small corrections to the spec file input by Christophe Grenier
  125. - The library source package no longer contains a release number
  126. * Sat Dec 16 2006 Christophe Grenier <grenier@cgsecurity.org> 20061213-2
  127. - Fixed the spec file
  128. * Sat Dec 9 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061213-1
  129. - Initial version