]> git.pld-linux.org Git - packages/deltarpm.git/blame - deltarpm.spec
- drop obsolete files (with r1.6 commit by cactus)
[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
e9ebb178 4Version: 3.5
e9717127 5Release: 6
ec871032
JS
6License: BSD
7Group: Base
ec871032 8Source0: ftp://ftp.suse.com/pub/projects/deltarpm/%{name}-%{version}.tar.bz2
e9ebb178
BZ
9# Source0-md5: df656d5cbba98e4cc1fc8e18a31f1f3b
10Patch0: %{name}-3.4-no-skip-doc.patch
11Patch1: %{name}-3.4-pld.patch
a37405e2 12Patch2: %{name}-rpmdumpheader.patch
29b147f7
AG
13URL: http://www.novell.com/products/linuxpackages/professional/deltarpm.html
14BuildRequires: bzip2-devel
15BuildRequires: rpm-devel
e9ebb178 16BuildRequires: zlib-static
29b147f7 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ec871032
JS
18
19%description
20A deltarpm contains the difference between an old and a new version of
21a rpm, which makes it possible to recreate the new rpm from the
22deltarpm and the old one. You don't have to have a copy of the old
23rpm, deltarpms can also work with installed rpms.
24
29b147f7
AG
25%description -l pl.UTF-8
26Deltarpm zawiera różnice pomiędzy starą i nową wersją pakietu rpm,
5b29bdd5
JB
27pozwalając na stworzenie nowej wersji na podstawie delty i starej
28wersji. Nie jest konieczne posiadanie kopii starego pakietu rpm,
29deltarpm obsługuje także już zainstalowane pakiety.
29b147f7 30
ec871032
JS
31%prep
32%setup -q
e9ebb178 33%patch0 -p1
29b147f7 34%patch1 -p1
a37405e2 35%patch2 -p1
ec871032
JS
36
37%build
a37405e2 38%{__make} \
e9ebb178 39 CFLAGS="%{rpmcflags} -I/usr/include/rpm" zlibdir=%{_libdir}\
b571e27b 40 CC="%{__cc}"
ec871032
JS
41
42%install
43rm -rf $RPM_BUILD_ROOT
29b147f7 44
ec871032
JS
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc LICENSE.BSD README
bedf0e2b 54%attr(755,root,root) %{_bindir}/*
ec871032 55%{_mandir}/man8/*
This page took 0.091889 seconds and 4 git commands to generate.