libewf-vl.spec 5.4 KB

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