1 Summary: Create deltas between rpms
2 Summary(pl.UTF-8): Generowanie różnic między pakietami rpm
8 Source0: ftp://ftp.suse.com/pub/projects/deltarpm/%{name}-%{version}.tar.bz2
9 # Source0-md5: 2cc2690bd1088cfc3238c25e59aaaec1
10 Patch0: %{name}-3.4-no-skip-doc.patch
11 Patch1: %{name}-3.4-pld.patch
12 Patch2: %{name}-rpm5.patch
13 URL: http://www.novell.com/products/linuxpackages/opensuse/deltarpm.html
14 BuildRequires: bzip2-devel
15 BuildRequires: popt-devel
16 BuildRequires: python-devel
17 BuildRequires: rpm-devel
18 BuildRequires: rpm-pythonprov
19 BuildRequires: rpmbuild(macros) >= 1.219
20 BuildRequires: xz-devel
21 BuildRequires: zlib-static
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 A deltarpm contains the difference between an old and a new version of
26 a rpm, which makes it possible to recreate the new rpm from the
27 deltarpm and the old one. You don't have to have a copy of the old
28 rpm, deltarpms can also work with installed rpms.
30 %description -l pl.UTF-8
31 Deltarpm zawiera różnice pomiędzy starą i nową wersją pakietu RPM,
32 pozwalając na stworzenie nowej wersji na podstawie delty i starej
33 wersji. Nie jest konieczne posiadanie kopii starego pakietu RPM,
34 deltarpm obsługuje także już zainstalowane pakiety.
37 Summary: Sync a file tree with deltarpms
38 Summary(pl.UTF-8): Synchronizacja drzewa plików deltarpm
40 Requires: %{name} = %{version}-%{release}
43 %description -n drpmsync
44 This package contains a tool to sync a file tree with deltarpms.
46 %description -n drpmsync -l pl.UTF-8
47 Ten pakiet zawiera narzędzie do synchronizacji drzewa plików deltarpm.
50 Summary: Create deltas between isos containing rpms
51 Summary(pl.UTF-8): Tworzenie różnic między obrazami ISO zawierającymi pakiety RPM
53 Requires: %{name} = %{version}-%{release}
55 %description -n deltaiso
56 This package contains tools for creating and using deltaisos, a
57 difference between an old and a new iso containing rpms.
59 %description -n deltaiso -l pl.UTF-8
60 Ten pakiet zawiera narzędzia do tworzenia i wykorzystywania plików
61 deltaiso - różnic między starymi a nowymi obrazami ISO zawierającymi
64 %package -n python-deltarpm
65 Summary: Python bindings for deltarpm
66 Summary(pl.UTF-8): Wiązania Pythona do deltarpm
68 # does not require base package
70 %description -n python-deltarpm
71 This package contains Python bindings for deltarpm.
73 %description -n python-deltarpm -l pl.UTF-8
74 Ten pakiet zawiera wiązania Pythona do deltarpm.
82 %{__sed} -i -e 's/python3//' Makefile
87 CFLAGS="%{rpmcflags} -I/usr/include/rpm" \
98 CFLAGS="%{rpmcflags}" \
108 rm -rf $RPM_BUILD_ROOT
110 DESTDIR=$RPM_BUILD_ROOT
112 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
113 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
117 rm -rf $RPM_BUILD_ROOT
120 %defattr(644,root,root,755)
121 %doc LICENSE.BSD README
122 %attr(755,root,root) %{_bindir}/applydeltarpm
123 %attr(755,root,root) %{_bindir}/combinedeltarpm
124 %attr(755,root,root) %{_bindir}/makedeltarpm
125 %attr(755,root,root) %{_bindir}/rpmdumpheader
126 %{_mandir}/man8/applydeltarpm.8*
127 %{_mandir}/man8/combinedeltarpm.8*
128 %{_mandir}/man8/makedeltarpm.8*
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_bindir}/applydeltaiso
133 %attr(755,root,root) %{_bindir}/fragiso
134 %attr(755,root,root) %{_bindir}/makedeltaiso
135 %{_mandir}/man8/applydeltaiso.8*
136 %{_mandir}/man8/fragiso.8*
137 %{_mandir}/man8/makedeltaiso.8*
140 %defattr(644,root,root,755)
141 %attr(755,root,root) %{_bindir}/drpmsync
142 %{_mandir}/man8/drpmsync.8*
144 %files -n python-deltarpm
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{py_sitedir}/_deltarpmmodule.so
147 %{py_sitedir}/deltarpm.py[co]