deltarpm/deltarpm.spec

66 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: deltarpm
Version: 3.6
Release: 1mamba
Summary: Create deltas between rpms
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.novell.com/products/linuxpackages/professional/deltarpm.html
Source: ftp://ftp.suse.com/pub/projects/deltarpm/deltarpm-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: liblzma-devel
BuildRequires: perl-devel
BuildRequires: rpm-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A deltarpm contains the difference between an old and a new version of a rpm, which makes it possible to recreate the new rpm from the deltarpm and the old one. You don't have to have a copy of the old rpm, deltarpms can also work with installed rpms.
%debug_package
%prep
%setup -q
%build
%make \
CFLAGS="-I%{_includedir}/rpm" \
LDFLAGS="-lrpmdb"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
prefix=%{_prefix} \
mandir=%{_mandir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/applydeltaiso
%{_bindir}/applydeltarpm
%{_bindir}/combinedeltarpm
%{_bindir}/drpmsync
%{_bindir}/fragiso
%{_bindir}/makedeltaiso
%{_bindir}/makedeltarpm
%{_bindir}/rpmdumpheader
%{_mandir}/man8/applydeltaiso.8*
%{_mandir}/man8/applydeltarpm.8*
%{_mandir}/man8/combinedeltarpm.8*
%{_mandir}/man8/drpmsync.8*
%{_mandir}/man8/fragiso.8*
%{_mandir}/man8/makedeltaiso.8*
%{_mandir}/man8/makedeltarpm.8*
%doc LICENSE.BSD
#%doc NEWS README
%changelog
* Mon Feb 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6-1mamba
- package created using the webbuild interface