1 Summary: RPM packages management helper tool
2 Summary(pl): Pomocnicze narzêdzie do zarz±dzania pakietami RPM
7 Group: Applications/System
8 Group(de): Applikationen/System
9 Group(pl): Aplikacje/System
10 Source0: http://team.pld.org.pl/~mis/poldek/download/%{name}/%{name}-%{version}.tar.gz
11 Requires: trurlib >= 0.43.3
13 BuildRequires: bzip2-devel
14 BuildRequires: db3-devel >= 3.1.14-2
15 BuildRequires: curl-devel >= 7.8
16 BuildRequires: rpm-devel >= 3.0.5
17 BuildRequires: popt-static
18 BuildRequires: openssl-devel
19 BuildRequires: readline-devel
20 BuildRequires: trurlib-devel >= 0.43.3
21 BuildRequires: zlib-devel
22 BuildRequires: /usr/bin/pod2man
23 BuildRequires: pcre-devel
24 %{?BOOT:BuildRequires: bzip2-static}
25 %{?BOOT:BuildRequires: curl-static}
26 %{?BOOT:BuildRequires: openssl-static}
27 %{?BOOT:BuildRequires: rpm-static}
28 %{?BOOT:BuildRequires: trurlib-static}
29 %{?BOOT:BuildRequires: zlib-static}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 poldek is an RPM package management tool which allows you to easily
34 perform package verification, installation (including system
35 installation from scratch), upgrading, and removal.
37 Program can be used in batch (like apt-get from Debian's
38 APT) or interactive mode. The interactive mode puts you into a
39 readline interface with command line autocompletion and history,
40 similar to the shell mode of Perl's CPAN.
43 poldek jest narzêdziem linii poleceñ s³u¿±cym do weryfikacji,
44 instalacji i aktualizacji pakietów.
46 %if %{?BOOT:1}%{!?BOOT:0}
48 Summary: poldek for bootdisk
49 Group: Applications/System
50 Group(de): Applikationen/System
51 Group(pl): Aplikacje/System
54 poldek is a cmdline tool which can be used to verify, install and
55 upgrade given package sets. This version is for boot disk.
63 %if %{?BOOT:1}%{!?BOOT:0}
64 %configure --enable-static --disable-imode
65 %{__make} CFLAGS="-O0 -g"
66 mv -f %{name} %{name}-BOOT
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_sysconfdir}
77 %if %{?BOOT:1}%{!?BOOT:0}
78 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
79 install %{name}-BOOT $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/%{name}
82 # no strip cause program's alpha stage and core may be useful
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85 sed "s/i686/%{_target_cpu}/g" < poldekrc.sample-pld > $RPM_BUILD_ROOT/etc/%{name}.conf
87 gzip -9nf README* *sample* NEWS TODO
90 rm -rf $RPM_BUILD_ROOT
93 %defattr(644,root,root,755)
94 %attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/%{name}.conf
95 %attr(755,root,root) %{_bindir}/*
96 %{_mandir}/man1/%{name}*
99 %if %{?BOOT:1}%{!?BOOT:0}
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/bootdisk/sbin/poldek