73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
Name: isomd5sum
|
|
Version: 1.0.10
|
|
Release: 1mamba
|
|
Summary: ISO9660 checksum utilities
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.finnie.org/software/isomd5sum
|
|
Source: http://git.fedorahosted.org/cgit/isomd5sum.git/snapshot/isomd5sum-%{version}.tar.bz2
|
|
#Source: https://fedorahosted.org/releases/i/s/isomd5sum/isomd5sum-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libpopt-devel
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
isomd5sum is a collection of utilities for implanting and checking MD5 checksums within an ISO9660 image. A checksum is implanted in an image using the implantisomd5 utility, and the corresponding checkisomd5 utility can be used to verify burned CDs are error-free. Also included is a Python extension for performing these tasks.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%make CPPFLAGS+="-Wno-format"
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%ifarch x86_64
|
|
install -d %{buildroot}%{_prefix}/lib/
|
|
mv %{buildroot}%{_libdir}/python* %{buildroot}%{_prefix}/lib/
|
|
%endif
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/checkisomd5
|
|
%{_bindir}/implantisomd5
|
|
%{python_sitearch}/pyisomd5sum.so
|
|
%{_mandir}/man1/checkisomd5.1.gz
|
|
%{_mandir}/man1/implantisomd5.1.gz
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libcheckisomd5.h
|
|
%{_includedir}/libimplantisomd5.h
|
|
%{_libdir}/libcheckisomd5.a
|
|
%{_libdir}/libimplantisomd5.a
|
|
|
|
%changelog
|
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-1mamba
|
|
- update to 1.0.10
|
|
|
|
* Thu Nov 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
|
|
- package created by autospec
|