libewf-vl.spec 5.2 KB

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