]> git.pld-linux.org Git - packages/deltarpm.git/blame - deltarpm.spec
- x32 rebuild
[packages/deltarpm.git] / deltarpm.spec
CommitLineData
ec871032 1Summary: Create deltas between rpms
29b147f7 2Summary(pl.UTF-8): Generowanie różnic między pakietami rpm
ec871032 3Name: deltarpm
17c4044f 4Version: 3.6
4bdab77e 5Release: 2
ec871032
JS
6License: BSD
7Group: Base
803d1305
ER
8Source0: ftp://ftp.suse.com/pub/projects/deltarpm/%{name}-%{version}.tar.bz2
9# Source0-md5: 2cc2690bd1088cfc3238c25e59aaaec1
e9ebb178
BZ
10Patch0: %{name}-3.4-no-skip-doc.patch
11Patch1: %{name}-3.4-pld.patch
0db6ec97 12Patch2: %{name}-rpm5.patch
17c4044f 13URL: http://www.novell.com/products/linuxpackages/opensuse/deltarpm.html
29b147f7 14BuildRequires: bzip2-devel
17c4044f
ER
15BuildRequires: popt-devel
16BuildRequires: python-devel
29b147f7 17BuildRequires: rpm-devel
17c4044f
ER
18BuildRequires: rpm-pythonprov
19BuildRequires: rpmbuild(macros) >= 1.219
20BuildRequires: xz-devel
e9ebb178 21BuildRequires: zlib-static
29b147f7 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ec871032
JS
23
24%description
25A deltarpm contains the difference between an old and a new version of
26a rpm, which makes it possible to recreate the new rpm from the
27deltarpm and the old one. You don't have to have a copy of the old
28rpm, deltarpms can also work with installed rpms.
29
29b147f7
AG
30%description -l pl.UTF-8
31Deltarpm zawiera różnice pomiędzy starą i nową wersją pakietu rpm,
5b29bdd5
JB
32pozwalając na stworzenie nowej wersji na podstawie delty i starej
33wersji. Nie jest konieczne posiadanie kopii starego pakietu rpm,
34deltarpm obsługuje także już zainstalowane pakiety.
29b147f7 35
17c4044f
ER
36%package -n drpmsync
37Summary: Sync a file tree with deltarpms
38Group: Base
39Requires: %{name} = %{version}-%{release}
9f363761 40Suggests: deltaiso
17c4044f
ER
41
42%description -n drpmsync
43This package contains a tool to sync a file tree with deltarpms.
44
45%package -n deltaiso
46Summary: Create deltas between isos containing rpms
47Group: Base
48Requires: %{name} = %{version}-%{release}
49
50%description -n deltaiso
51This package contains tools for creating and using deltasisos, a
52difference between an old and a new iso containing rpms.
53
54%package -n python-deltarpm
55Summary: Python bindings for deltarpm
56Group: Base
8ac71a9c 57# does not require base package
17c4044f
ER
58
59%description -n python-deltarpm
60This package contains python bindings for deltarpm.
61
ec871032 62%prep
803d1305 63%setup -q
e9ebb178 64%patch0 -p1
29b147f7 65%patch1 -p1
a37405e2 66%patch2 -p1
ec871032 67
17c4044f
ER
68%{__sed} -i -e 's/python3//' Makefile
69
ec871032 70%build
17c4044f
ER
71%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags} -I/usr/include/rpm" \
72 bindir=%{_bindir} libdir=%{_libdir} mandir=%{_mandir} prefix=%{_prefix} \
73 zlibbundled='' zlibldflags='-lz' zlibcppflags=''
74
75%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags}" \
76 bindir=%{_bindir} libdir=%{_libdir} mandir=%{_mandir} prefix=%{_prefix} \
77 zlibbundled='' zlibldflags='-lz' zlibcppflags='' \
78 python
ec871032
JS
79
80%install
81rm -rf $RPM_BUILD_ROOT
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
17c4044f
ER
85%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
86%py_comp $RPM_BUILD_ROOT%{py_sitedir}
87%py_postclean
88
ec871032
JS
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%files
93%defattr(644,root,root,755)
94%doc LICENSE.BSD README
17c4044f
ER
95%attr(755,root,root) %{_bindir}/applydeltarpm
96%attr(755,root,root) %{_bindir}/combinedeltarpm
97%attr(755,root,root) %{_bindir}/makedeltarpm
98%attr(755,root,root) %{_bindir}/rpmdumpheader
99%{_mandir}/man8/applydeltarpm.8*
100%{_mandir}/man8/combinedeltarpm.8*
101%{_mandir}/man8/makedeltarpm.8*
102
103%files -n deltaiso
104%defattr(644,root,root,755)
105%attr(755,root,root) %{_bindir}/applydeltaiso
106%attr(755,root,root) %{_bindir}/fragiso
107%attr(755,root,root) %{_bindir}/makedeltaiso
108%{_mandir}/man8/applydeltaiso*
803d1305 109%{_mandir}/man8/fragiso.8*
17c4044f
ER
110%{_mandir}/man8/makedeltaiso*
111
112%files -n drpmsync
113%defattr(644,root,root,755)
114%attr(755,root,root) %{_bindir}/drpmsync
115%{_mandir}/man8/drpmsync*
116
117%files -n python-deltarpm
118%defattr(644,root,root,755)
119%attr(755,root,root) %{py_sitedir}/_deltarpmmodule.so
120%{py_sitedir}/deltarpm.py[co]
This page took 0.092382 seconds and 4 git commands to generate.