isomd5sum/isomd5sum.spec

changeset 15
5ae423a55bed
parent 14
bc3cd9a53ab5
     1.1 --- a/isomd5sum/isomd5sum.spec	Thu May 26 15:49:15 2011 +0200
     1.2 +++ b/isomd5sum/isomd5sum.spec	Thu May 26 15:50:52 2011 +0200
     1.3 @@ -0,0 +1,46 @@
     1.4 +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
     1.5 +
     1.6 +Name:           isomd5sum
     1.7 +Version:        1.0.7
     1.8 +Release:        MSvB_1
     1.9 +License:        GPLv2+
    1.10 +Summary:        Utilities for working with md5sum hashes in ISO images
    1.11 +Url:            http://git.fedorahosted.org/git/?p=isomd5sum.git
    1.12 +Group:          Applications/System
    1.13 +Source0:        http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2
    1.14 +BuildRequires:  gcc, python-devel, popt-devel
    1.15 +BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    1.16 +
    1.17 +%description
    1.18 +The isomd5sum package contains utilities for implanting
    1.19 +and verifying md5sum hashes embedded in ISO9660 images.
    1.20 +
    1.21 +%prep
    1.22 +%setup -q
    1.23 +
    1.24 +%build
    1.25 +make %{?_smp_mflags}
    1.26 +
    1.27 +%install
    1.28 +rm -rf $RPM_BUILD_ROOT
    1.29 +%make_install
    1.30 +chmod -x %{buildroot}%{_mandir}/man*/*
    1.31 +rm -f %{buildroot}%{_includedir}/*
    1.32 +rm -f %{buildroot}%{_libdir}/lib*.a
    1.33 +rm -f %{buildroot}%{_libdir}/lib*.so*
    1.34 +
    1.35 +%clean
    1.36 +%{?buildroot:%__rm -rf "%{buildroot}"}
    1.37 +
    1.38 +%files
    1.39 +%defattr(-,root,root)
    1.40 +%doc COPYING
    1.41 +/usr/bin/implantisomd5
    1.42 +/usr/bin/checkisomd5
    1.43 +%{_mandir}/man*/*
    1.44 +%{python_sitearch}/pyisomd5sum.so
    1.45 +
    1.46 +%changelog
    1.47 +* Sat May 21 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 1.0.7
    1.48 +- Introduction for meeting dependency in liveusb-creator
    1.49 +

mercurial