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