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