/[packages]/cauldron/mga-youri-submit/current/SPECS/mga-youri-submit.spec
ViewVC logotype

Contents of /cauldron/mga-youri-submit/current/SPECS/mga-youri-submit.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 941583 - (show annotations) (download)
Sat Feb 6 01:14:58 2016 UTC (8 years, 2 months ago) by blino
File size: 1659 byte(s)
update URL

1 %define rname youri-submit
2 #define svn 20100401
3 %define svn 0
4 %define rel 1
5
6 %if %{svn}
7 %define release %mkrel 2.%{svn}.%{rel}
8 %define distname %{rname}-%{version}-%{svn}
9 %else
10 %define release %mkrel %{rel}
11 %define distname %{rname}-%{version}
12 %endif
13
14 Name: mga-%{rname}
15 Version: 0.9.4
16 Release: %{release}
17 Summary: Youri submit tool
18 License: GPL or Artistic
19 Group: Development/Other
20 # Generate tarball with: cd SOURCES; ./gettarball.sh $version
21 Source: %{distname}.tar.gz
22 Url: http://gitweb.mageia.org/software/build-system/mga-youri-submit
23 BuildRequires: perl(Youri::Utils)
24 BuildRequires: perl(Youri::Package::RPM::Test)
25 BuildRequires: perl(Youri::Package::RPM::Generator)
26 BuildRequires: perl(Youri::Repository::Test)
27 BuildRequires: perl(Test::Exception)
28 BuildArch: noarch
29 Requires: rpmlint
30
31 %description
32 YOURI stands for "Youri Offers an Upload & Repository Infrastucture". It aims
33 to build tools making management of a coherent set of packages easier.
34
35 youri-submit is a generic package submission tool. It first runs a list of
36 tests on each submitted package, and if no one fails, runs a list of actions on
37 those packages.
38
39 %prep
40 %setup -q -n %{distname}
41
42 %build
43 %{__perl} Makefile.PL \
44 INSTALLDIRS=vendor \
45 INSTALLVENDORSCRIPT=%{_datadir}/%{name}/bin \
46 INSTALLVENDORLIB=%{_datadir}/%{name}/lib \
47 INSTALLVENDORMAN3DIR=%{_mandir}/man3 \
48 INSTALLVENDORMAN1DIR=%{_mandir}/man1
49 %make pure_all
50
51 %install
52 %make DESTDIR=%{buildroot} pure_install
53
54 %files
55 %doc ChangeLog README
56 %{_datadir}/%{name}/bin/%{rname}*
57 %{_datadir}/%{name}/bin/mga-*
58 %{_datadir}/%{name}/lib/Youri
59 %{_datadir}/%{name}/lib/auto/%{rname}
60 %{_mandir}/man1/*
61 %{_mandir}/man3/*

  ViewVC Help
Powered by ViewVC 1.1.30