1 |
############################################ |
2 |
# Warning |
3 |
# This package must be handled |
4 |
# via /svn/soft/build_system/iurt/trunk/ |
5 |
############################################ |
6 |
|
7 |
|
8 |
Name: iurt |
9 |
Version: 0.8.2 |
10 |
Release: %mkrel 1 |
11 |
License: GPLv2+ |
12 |
Summary: Packages rebuilder |
13 |
Group: Development/Other |
14 |
URL: https://svnweb.mageia.org/soft/build_system/iurt/trunk/ |
15 |
Source: %{name}-%{version}.tar.xz |
16 |
Source1: cauldron.conf |
17 |
|
18 |
BuildArch: noarch |
19 |
Requires: sudo |
20 |
# for testsuite: |
21 |
BuildRequires: perl(RPM4) |
22 |
BuildRequires: perl(File::lockf) |
23 |
BuildRequires: mdv-distrib-tools |
24 |
BuildRequires: perl-MIME-tools |
25 |
BuildRequires: perl(File::NCopy) |
26 |
BuildRequires: perl(Mkcd::Commandline) |
27 |
BuildRequires: perl(String::Escape) |
28 |
BuildRequires: perl(Sys::Load) |
29 |
|
30 |
|
31 |
%description |
32 |
iurt is a collection of tools to create an automatic rebuild system. It |
33 |
contains the rebuild script, iurt, as well as the scheduler, ulri, and the |
34 |
upload script, emi. |
35 |
|
36 |
%prep |
37 |
%autosetup -p1 |
38 |
|
39 |
%install |
40 |
%makeinstall DESTDIR=$RPM_BUILD_ROOT |
41 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/iurt/build/ |
42 |
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/iurt/build/cauldron.conf |
43 |
|
44 |
%check |
45 |
make check |
46 |
# (tv) check that iurt loads OK: |
47 |
perl -Ilib ./iurt --help > /dev/null |
48 |
|
49 |
%files |
50 |
%doc NEWS README |
51 |
%{_bindir}/emi |
52 |
%{_bindir}/iurt |
53 |
%{_bindir}/ulri |
54 |
%{_sbindir}/iurt_root_command |
55 |
%{perl_vendorlib}/Iurt |
56 |
%dir %{_sysconfdir}/iurt |
57 |
%config(noreplace) %{_sysconfdir}/iurt/* |