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.0 |
10 |
Release: %mkrel 2 |
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 |
Patch0: 0001-iurt-Fix-buildreqs.nosrc.rpm-filename-on-Mageia-buil.patch |
18 |
|
19 |
BuildArch: noarch |
20 |
Requires: sudo |
21 |
# for testsuite: |
22 |
BuildRequires: perl(RPM4) |
23 |
BuildRequires: perl(File::lockf) |
24 |
BuildRequires: mdv-distrib-tools |
25 |
BuildRequires: perl-MIME-tools |
26 |
BuildRequires: perl(File::NCopy) |
27 |
BuildRequires: perl(Mkcd::Commandline) |
28 |
BuildRequires: perl(String::Escape) |
29 |
BuildRequires: perl(Sys::Load) |
30 |
|
31 |
|
32 |
%description |
33 |
iurt is a collection of tools to create an automatic rebuild system. It |
34 |
contains the rebuild script, iurt, as well as the scheduler, ulri, and the |
35 |
upload script, emi. |
36 |
|
37 |
%prep |
38 |
%autosetup -p1 |
39 |
|
40 |
%install |
41 |
%makeinstall DESTDIR=$RPM_BUILD_ROOT |
42 |
install -d -m 0755 %{buildroot}%{_sysconfdir}/iurt/build/ |
43 |
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/iurt/build/cauldron.conf |
44 |
|
45 |
%check |
46 |
make check |
47 |
# (tv) check that iurt loads OK: |
48 |
perl -Ilib ./iurt --help > /dev/null |
49 |
|
50 |
%files |
51 |
%doc NEWS README |
52 |
%{_bindir}/emi |
53 |
%{_bindir}/iurt |
54 |
%{_bindir}/ulri |
55 |
%{_sbindir}/iurt_root_command |
56 |
%{perl_vendorlib}/Iurt |
57 |
%dir %{_sysconfdir}/iurt |
58 |
%config(noreplace) %{_sysconfdir}/iurt/* |