]> git.pld-linux.org Git - packages/deltarpm.git/blob - deltarpm.spec
- Add deltarpm request by. PLD-DEVEL - Mateusz Murawski matowy@tlen.pl
[packages/deltarpm.git] / deltarpm.spec
1 Summary:        Create deltas between rpms
2 Name:           deltarpm
3 Version:        3.4
4 Release:        5
5 License:        BSD
6 Group:          Base
7 URL:            http://www.novell.com/products/linuxpackages/professional/deltarpm.html
8
9 Source0:        ftp://ftp.suse.com/pub/projects/deltarpm/%{name}-%{version}.tar.bz2
10 # Source0-md5:  cac779a18a1bc256fb6497526a83ac82
11
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 BuildRequires:  bzip2-devel
15 BuildRequires:  rpm-devel
16
17 Patch0:         %{name}-3.4-multilib-workaround.patch
18 Patch1:         %{name}-3.4-multilib-include-colored.patch
19 Patch2:         %{name}-3.4-prelink-bugfix.patch
20 Patch3:         %{name}-3.4-no-skip-doc.patch
21 Patch4:         %{name}-3.4-pld.patch
22
23 %description
24 A deltarpm contains the difference between an old and a new version of
25 a rpm, which makes it possible to recreate the new rpm from the
26 deltarpm and the old one. You don't have to have a copy of the old
27 rpm, deltarpms can also work with installed rpms.
28
29 %prep
30 %setup -q
31 %patch0 -p0 
32 %patch1 -p1 
33 %patch2 -p1 
34 %patch3 -p1 
35 %patch4 -p1
36
37 %build
38 %{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
39         bindir=%{_bindir} mandir=%{_mandir} prefix=%{_prefix}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc LICENSE.BSD README
52 %{_mandir}/man8/*
53 %attr(755,root,root) %{_bindir}/applydeltaiso
54 %attr(755,root,root) %{_bindir}/applydeltarpm
55 %attr(755,root,root) %{_bindir}/combinedeltarpm
56 %attr(755,root,root) %{_bindir}/drpmsync
57 %attr(755,root,root) %{_bindir}/fragiso
58 %attr(755,root,root) %{_bindir}/makedeltaiso
59 %attr(755,root,root) %{_bindir}/makedeltarpm
60 %attr(755,root,root) %{_bindir}/rpmdumpheader
This page took 0.027178 seconds and 4 git commands to generate.