1 |
%define name youri-submit |
2 |
%define version 0.10 |
3 |
%define release %mkrel 6 |
4 |
|
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
Summary: Youri submit tool |
9 |
License: GPL or Artistic |
10 |
Group: Development/Other |
11 |
Source: http://youri.zarb.or/download/%{name}-%{version}.tar.bz2 |
12 |
Url: http://youri.zarb.org |
13 |
BuildRequires: perl(Youri::Utils) |
14 |
BuildRequires: perl(Youri::Package::RPM::Test) |
15 |
BuildRequires: perl(Youri::Package::RPM::Generator) |
16 |
BuildRequires: perl(Youri::Repository::Test) |
17 |
BuildRequires: perl(Test::Exception) |
18 |
BuildArch: noarch |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
20 |
|
21 |
%description |
22 |
YOURI stands for "Youri Offers an Upload & Repository Infrastucture". It aims |
23 |
to build tools making management of a coherent set of packages easier. |
24 |
|
25 |
youri-submit is a generic package submission tool. It first runs a list of |
26 |
tests on each submitted package, and if no one fails, runs a list of actions on |
27 |
those packages. |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
|
32 |
%build |
33 |
%configure2_5x |
34 |
%make |
35 |
|
36 |
%check |
37 |
%__make check |
38 |
|
39 |
%install |
40 |
rm -rf %{buildroot} |
41 |
%makeinstall_std |
42 |
|
43 |
%clean |
44 |
rm -rf %{buildroot} |
45 |
|
46 |
%files |
47 |
%defattr(-,root,root) |
48 |
%doc ChangeLog README |
49 |
%config(noreplace) %{_sysconfdir}/youri |
50 |
%{_bindir}/youri-submit* |
51 |
%{_mandir}/man1/* |
52 |
%{_mandir}/man3/* |
53 |
%{_datadir}/youri |
54 |
%{_sysconfdir}/bash_completion.d/%{name} |
55 |
|
56 |
|