]>
Commit | Line | Data |
---|---|---|
1994cc3f | 1 | %define githash 044d04b |
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 |
1994cc3f | 5 | Version: 1.87 |
e11de811 | 6 | Release: 1 |
84cf86c4 | 7 | License: GPL |
8 | Group: Development/Tools | |
1994cc3f ER |
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: c191c8b460f0cb47edf1ca51d926b833 | |
05f791db | 11 | URL: http://git.pld-linux.org/?p=projects/pld-builder.new.git;a=summary |
1994cc3f | 12 | Requires: /usr/lib/sendmail |
b3025229 | 13 | Requires: gnupg |
21c9865a | 14 | Obsoletes: pld-builder-client |
84cf86c4 | 15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | A tool which, based on the way it's configured and on the cmdline | |
32cec63c | 20 | parameters given to it, generates an XML-formated build request, which |
84cf86c4 | 21 | it then signs with the requester's PGP key (using the gpg utility) and |
22 | then sends it to the source builder via a sendmail compatible command | |
23 | line application (by default invoking "sendmail -t"). | |
24 | ||
25 | Two modes of operation are: | |
26 | - sending requests to build chosen package(s) on a specified group of | |
27 | builders | |
28 | - sending a chosen command to be executed on a specified group of | |
29 | builders | |
30 | ||
32cec63c JB |
31 | It works with PLD (or compatible) package builders. |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Narzędzie, które w zależności od konfiguracji i parametrów linii | |
35 | poleceń, generuje żądanie budowania w formacie XML, podpisuje je | |
36 | kluczem PGP zlecającego (przy użyciu narzędzia gpg), a następnie | |
37 | wysyła na builder źródłowy przy użyciu polecenia sendmail (domyślnie | |
38 | "sendmail -t"). | |
39 | ||
40 | Dostępne są dwa tryby operacji: | |
41 | - wysyłanie żądań zbudowania określonych pakietów na określonej grupie | |
42 | builderów | |
43 | - wysłanie podanego polecenia do wykonania na określonej grupie | |
44 | builderów | |
45 | ||
46 | Narzędzie działa z builderami pakietów PLD (lub kompatybilnymi). | |
47 | ||
84cf86c4 | 48 | %prep |
49 | ||
1994cc3f ER |
50 | %build |
51 | ver=$(awk -F= '/^VERSION=/{print $2}' %{SOURCE0}) | |
52 | test "$ver" = %{version} | |
53 | ||
84cf86c4 | 54 | %install |
55 | rm -rf $RPM_BUILD_ROOT | |
84cf86c4 | 56 | install -d $RPM_BUILD_ROOT%{_bindir} |
05f791db | 57 | install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name} |
84cf86c4 | 58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_bindir}/%{name} |