1 |
############################################ |
2 |
# Warning |
3 |
# This package must be handled |
4 |
# via /svn/soft/build_system/iurt/trunk/ |
5 |
############################################ |
6 |
|
7 |
%define name iurt |
8 |
%define release %mkrel 1 |
9 |
|
10 |
Name: %{name} |
11 |
Version: 0.6.19 |
12 |
Release: %{release} |
13 |
License: GPLv2+ |
14 |
Summary: Packages rebuilder |
15 |
Group: Development/Other |
16 |
URL: svn://svn.mageia.org/svn/soft/build_system/iurt/trunk |
17 |
Source: %{name}-%{version}.tar.xz |
18 |
BuildArch: noarch |
19 |
Requires: sudo |
20 |
# for testsuite: |
21 |
BuildRequires: perl-RPM4 perl-File-Lockf mdv-distrib-tools perl-MIME-tools |
22 |
BuildRequires: perl-File-NCopy perl-Mkcd-Commandline perl-String-Escape |
23 |
BuildRequires: perl-Sys-Load |
24 |
|
25 |
|
26 |
%description |
27 |
iurt is a collection of tools to create an automatic rebuild system. It |
28 |
contains the rebuild script, iurt, as well as the scheduler, ulri, and the |
29 |
upload script, emi. |
30 |
|
31 |
%prep |
32 |
%setup -q -n %{name}-%{version} |
33 |
|
34 |
%install |
35 |
rm -rf $RPM_BUILD_ROOT |
36 |
%makeinstall DESTDIR=$RPM_BUILD_ROOT |
37 |
|
38 |
%check |
39 |
# (tv) check that iurt loads OK: |
40 |
perl -Ilib ./iurt --help |
41 |
|
42 |
%files |
43 |
%defattr(-,root,root) |
44 |
%{_bindir}/emi |
45 |
%{_bindir}/iurt |
46 |
%{_bindir}/ulri |
47 |
%{_sbindir}/iurt_root_command |
48 |
%{perl_vendorlib}/Iurt |
49 |
|