]> git.pld-linux.org Git - SPECS.git/blob - rpm.cgi.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / rpm.cgi.spec
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
3 Name:           rpm.cgi
4 Version:        0.27
5 Release:        1
6 License:        GPL v2
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
15 BuildArch:      noarch
16
17 %define         _rpmcgihtml     /home/services/httpd/html/rpm_cgi
18 %define         _rpmcgiscripts  /home/services/httpd/cgi-bin/rpm_cgi
19
20 %description
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.
27
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,
32 właściciele).
33
34 %prep
35 %setup -q -n rpm_cgi
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_rpmcgiscripts},%{_rpmcgihtml}}
40
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}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
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
56 %dir %{_rpmcgihtml}
57 %{_rpmcgihtml}/*
This page took 0.26004 seconds and 3 git commands to generate.