1 Summary: RPM.CGI is a CGI interface to the Redhat Package Management System
2 Summary(pl.UTF-8): Interfejs CGI do zarządcy pakietów RPM
7 Group: Applications/WWW
8 Vendor: Abdul-Wahid Paterson <eesa@webstar.co.uk>
9 #ftp://eesa.webstar.co.uk/pub/rpm_cgi doesn't work
10 Source0: http://rpmfind.net/linux/linuxPPC/contrib/unpackaged/%{name}-%{version}.tar.gz
11 # Source0-md5: 8d4b6f4a4b578e646ef111e21eac63e8
12 URL: http://eesa.webstar.co.uk/rpm_cgi/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Requires: webserver = apache
17 %define _rpmcgihtml /home/services/httpd/html/rpm_cgi
18 %define _rpmcgiscripts /home/services/httpd/cgi-bin/rpm_cgi
21 RPM.CGI is a CGI frontend to the Redhat Package Mangement System. It
22 provides a means to browse information about packages that are
23 installed on the system and to look at the information that is stored
24 about the package in the RPM database. It also allows browsing of the
25 files to see if md5 checksums, file size, file ownership etc. have
26 been changed since install time.
28 %description -l pl.UTF-8
29 RPM.CGI jest frontendem CGI na RPM. Pozwala przeglądać informacje o
30 zainstalowanych pakietach w systemie, a także sprawdzać, czy od czasu
31 zainstalowania nie zmieniły się pliki (sumy MD5, rozmiary,
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_rpmcgiscripts},%{_rpmcgihtml}}
41 sed 's/home\/httpd/home\/services\/httpd/' config.pm > config.pm.tmp
42 mv -f config.pm.tmp config.pm
43 install rpm.cgi text_conv.pm config.pm $RPM_BUILD_ROOT%{_rpmcgiscripts}
44 install images/*.{jpg,gif} $RPM_BUILD_ROOT%{_rpmcgihtml}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc TODO README ChangeLog BUGS
52 %dir %{_rpmcgiscripts}
53 %attr(755,root,root) %{_rpmcgiscripts}/rpm.cgi
54 %{_rpmcgiscripts}/text_conv.pm
55 %config(noreplace) %verify(not md5 mtime size) %{_rpmcgiscripts}/config.pm