]> git.pld-linux.org Git - packages/make-request.git/blob - make-request.spec
uses python3 now
[packages/make-request.git] / make-request.spec
1 %define         githash 0954132a190c6303acc84d1b5891daa2d42a531c
2 Summary:        Tool for sending PLD-specific build requests
3 Summary(pl.UTF-8):      Narzędzie do wysyłania żądań budowania specyficznych dla PLD
4 Name:           make-request
5 Version:        1.90
6 Release:        1
7 License:        GPL
8 Group:          Development/Tools
9 Source0:        http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=blob_plain;f=client/make-request.sh;hb=%{githash};/%{name}-%{version}.sh
10 # Source0-md5:  cb8a487f482d810eafcc900bbc34f8eb
11 URL:            http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=summary
12 Requires:       gnupg
13 Suggests:       /usr/lib/sendmail
14 Suggests:       python3
15 Suggests:       python3-modules
16 Obsoletes:      pld-builder-client
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A tool which, based on the way it's configured and on the cmdline
22 parameters given to it, generates an XML-formated build request, which
23 it then signs with the requester's PGP key (using the gpg utility) and
24 then sends it to the source builder via a sendmail compatible command
25 line application (by default invoking "sendmail -t").
26
27 Two modes of operation are:
28 - sending requests to build chosen package(s) on a specified group of
29   builders
30 - sending a chosen command to be executed on a specified group of
31   builders
32
33 It works with PLD (or compatible) package builders.
34
35 %description -l pl.UTF-8
36 Narzędzie, które w zależności od konfiguracji i parametrów linii
37 poleceń, generuje żądanie budowania w formacie XML, podpisuje je
38 kluczem PGP zlecającego (przy użyciu narzędzia gpg), a następnie
39 wysyła na builder źródłowy przy użyciu polecenia sendmail (domyślnie
40 "sendmail -t").
41
42 Dostępne są dwa tryby operacji:
43 - wysyłanie żądań zbudowania określonych pakietów na określonej grupie
44   builderów
45 - wysłanie podanego polecenia do wykonania na określonej grupie
46   builderów
47
48 Narzędzie działa z builderami pakietów PLD (lub kompatybilnymi).
49
50 %prep
51
52 %build
53 ver=$(awk -F= '/^VERSION=/{print $2}' %{SOURCE0})
54 test "$ver" = %{version}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_bindir}
59 install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/%{name}
This page took 0.108248 seconds and 3 git commands to generate.