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 Patch3: python-install.patch
14 URL: http://www.novell.com/products/linuxpackages/opensuse/deltarpm.html
15 BuildRequires: bzip2-devel
16 BuildRequires: popt-devel
17 BuildRequires: python-devel
18 BuildRequires: rpm-devel
19 BuildRequires: rpm-pythonprov
20 BuildRequires: rpmbuild(macros) >= 1.219
21 BuildRequires: xz-devel
22 BuildRequires: zlib-static
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 A deltarpm contains the difference between an old and a new version of
27 a rpm, which makes it possible to recreate the new rpm from the
28 deltarpm and the old one. You don't have to have a copy of the old
29 rpm, deltarpms can also work with installed rpms.
31 %description -l pl.UTF-8
32 Deltarpm zawiera różnice pomiędzy starą i nową wersją pakietu RPM,
33 pozwalając na stworzenie nowej wersji na podstawie delty i starej
34 wersji. Nie jest konieczne posiadanie kopii starego pakietu RPM,
35 deltarpm obsługuje także już zainstalowane pakiety.
38 Summary: Sync a file tree with deltarpms
39 Summary(pl.UTF-8): Synchronizacja drzewa plików deltarpm
41 Requires: %{name} = %{version}-%{release}
44 %description -n drpmsync
45 This package contains a tool to sync a file tree with deltarpms.
47 %description -n drpmsync -l pl.UTF-8
48 Ten pakiet zawiera narzędzie do synchronizacji drzewa plików deltarpm.
51 Summary: Create deltas between isos containing rpms
52 Summary(pl.UTF-8): Tworzenie różnic między obrazami ISO zawierającymi pakiety RPM
54 Requires: %{name} = %{version}-%{release}
56 %description -n deltaiso
57 This package contains tools for creating and using deltaisos, a
58 difference between an old and a new iso containing rpms.
60 %description -n deltaiso -l pl.UTF-8
61 Ten pakiet zawiera narzędzia do tworzenia i wykorzystywania plików
62 deltaiso - różnic między starymi a nowymi obrazami ISO zawierającymi
65 %package -n python-deltarpm
66 Summary: Python bindings for deltarpm
67 Summary(pl.UTF-8): Wiązania Pythona do deltarpm
69 # does not require base package
71 %description -n python-deltarpm
72 This package contains Python bindings for deltarpm.
74 %description -n python-deltarpm -l pl.UTF-8
75 Ten pakiet zawiera wiązania Pythona do deltarpm.
84 %{__sed} -i -e 's/python3//' Makefile
89 CFLAGS="%{rpmcflags} -I/usr/include/rpm" \
100 CFLAGS="%{rpmcflags}" \
110 rm -rf $RPM_BUILD_ROOT
112 DESTDIR=$RPM_BUILD_ROOT
114 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
115 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
119 rm -rf $RPM_BUILD_ROOT
122 %defattr(644,root,root,755)
123 %doc LICENSE.BSD README
124 %attr(755,root,root) %{_bindir}/applydeltarpm
125 %attr(755,root,root) %{_bindir}/combinedeltarpm
126 %attr(755,root,root) %{_bindir}/makedeltarpm
127 %attr(755,root,root) %{_bindir}/rpmdumpheader
128 %{_mandir}/man8/applydeltarpm.8*
129 %{_mandir}/man8/combinedeltarpm.8*
130 %{_mandir}/man8/makedeltarpm.8*
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/applydeltaiso
135 %attr(755,root,root) %{_bindir}/fragiso
136 %attr(755,root,root) %{_bindir}/makedeltaiso
137 %{_mandir}/man8/applydeltaiso.8*
138 %{_mandir}/man8/fragiso.8*
139 %{_mandir}/man8/makedeltaiso.8*
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_bindir}/drpmsync
144 %{_mandir}/man8/drpmsync.8*
146 %files -n python-deltarpm
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{py_sitedir}/_deltarpmmodule.so
149 %{py_sitedir}/deltarpm.py[co]