isomd5sum-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Summary: Utilities for working with md5sum implanted in ISO images
  3. Summary(ja): ISO イメージに埋め込まれた md5sum を処理するためのユーティリティ
  4. Name: isomd5sum
  5. Version: 1.0.7
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: Applications/System
  9. URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary
  10. Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: python-devel
  13. BuildRequires: popt-devel
  14. %description
  15. The isomd5sum package contains utilities for implanting and verifying
  16. an md5sum implanted into an ISO9660 image.
  17. %package devel
  18. Summary: Development headers and library for using isomd5sum
  19. Summary(ja): Development headers and library for using isomd5sum
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. This contains header files and a library for working with the isomd5sum
  24. implanting and checking.
  25. %prep
  26. %setup -q
  27. %build
  28. sed -i "s/-Werror/-Werror -Wno-error=unused-but-set-variable/" Makefile
  29. make
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make DESTDIR=$RPM_BUILD_ROOT install
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc COPYING
  38. /usr/bin/implantisomd5
  39. /usr/bin/checkisomd5
  40. %{_mandir}/man*/*
  41. %{python_sitearch}/pyisomd5sum.so
  42. %files devel
  43. %defattr(-,root,root,-)
  44. %{_includedir}/*.h
  45. %{_libdir}/*.a
  46. %changelog
  47. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  48. - update to 1.0.7
  49. * Fri Apr 09 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.5-1
  50. - updated isomd5sum to 1.0.5
  51. * Wed Apr 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-2
  52. - changed devel Group to Development/Libraries
  53. * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  54. - initial build for Vine Linux
  55. * Thu Feb 7 2008 Jeremy Katz <katzj@redhat.com> - 1:1.0.4-1
  56. - Add man pages from Ryan Finnie (ryan AT finnie DOT org)
  57. - Use popt in checkisomd5 (Ryan Finnie)
  58. - Fix verbose/gauge interactions (Ryan Finnie)
  59. - A few other little janitorial things (Ryan Finnie)
  60. * Mon Dec 10 2007 Jeremy Katz <katzj@redhat.com> - 1:1.0.2-1
  61. - The "fix the build after changing the API" release
  62. * Mon Dec 10 2007 Jeremy Katz <katzj@redhat.com> - 1:1.0.1-1
  63. - Add some simple callback support in the library
  64. * Fri Dec 7 2007 Jeremy Katz <katzj@redhat.com> - 1.0-1
  65. - Initial build.