|
1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
|
2 |
|
3 Name: isomd5sum |
|
4 Version: 1.0.7 |
|
5 Release: MSvB_1 |
|
6 License: GPLv2+ |
|
7 Summary: Utilities for working with md5sum hashes in ISO images |
|
8 Url: http://git.fedorahosted.org/git/?p=isomd5sum.git |
|
9 Group: Applications/System |
|
10 Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2 |
|
11 BuildRequires: gcc, python-devel, popt-devel |
|
12 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
13 |
|
14 %description |
|
15 The isomd5sum package contains utilities for implanting |
|
16 and verifying md5sum hashes embedded in ISO9660 images. |
|
17 |
|
18 %prep |
|
19 %setup -q |
|
20 |
|
21 %build |
|
22 make %{?_smp_mflags} |
|
23 |
|
24 %install |
|
25 rm -rf $RPM_BUILD_ROOT |
|
26 %make_install |
|
27 chmod -x %{buildroot}%{_mandir}/man*/* |
|
28 rm -f %{buildroot}%{_includedir}/* |
|
29 rm -f %{buildroot}%{_libdir}/lib*.a |
|
30 rm -f %{buildroot}%{_libdir}/lib*.so* |
|
31 |
|
32 %clean |
|
33 %{?buildroot:%__rm -rf "%{buildroot}"} |
|
34 |
|
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 |
|
43 %changelog |
|
44 * Sat May 21 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 1.0.7 |
|
45 - Introduction for meeting dependency in liveusb-creator |
|
46 |