]>
Commit | Line | Data |
---|---|---|
e84dcb8c | 1 | %define githash 0954132a190c6303acc84d1b5891daa2d42a531c |
32cec63c JB |
2 | Summary: Tool for sending PLD-specific build requests |
3 | Summary(pl.UTF-8): Narzędzie do wysyłania żądań budowania specyficznych dla PLD | |
84cf86c4 | 4 | Name: make-request |
e84dcb8c JP |
5 | Version: 1.90 |
6 | Release: 1 | |
84cf86c4 | 7 | License: GPL |
8 | Group: Development/Tools | |
1994cc3f | 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 |
e84dcb8c | 10 | # Source0-md5: cb8a487f482d810eafcc900bbc34f8eb |
05f791db | 11 | URL: http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=summary |
b3025229 | 12 | Requires: gnupg |
76cfb6bd | 13 | Suggests: /usr/lib/sendmail |
c64f5dc4 JP |
14 | Suggests: python3 |
15 | Suggests: python3-modules | |
21c9865a | 16 | Obsoletes: pld-builder-client |
84cf86c4 | 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 | |
32cec63c | 22 | parameters given to it, generates an XML-formated build request, which |
84cf86c4 | 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 | ||
32cec63c JB |
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 | ||
84cf86c4 | 50 | %prep |
51 | ||
1994cc3f ER |
52 | %build |
53 | ver=$(awk -F= '/^VERSION=/{print $2}' %{SOURCE0}) | |
54 | test "$ver" = %{version} | |
55 | ||
84cf86c4 | 56 | %install |
57 | rm -rf $RPM_BUILD_ROOT | |
84cf86c4 | 58 | install -d $RPM_BUILD_ROOT%{_bindir} |
05f791db | 59 | install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name} |
84cf86c4 | 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} |