/[packages]/cauldron/meta-task/current/SPECS/meta-task.spec
ViewVC logotype

Contents of /cauldron/meta-task/current/SPECS/meta-task.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389212 - (show annotations) (download)
Thu Jan 17 21:28:45 2013 UTC (9 years ago) by tv
File size: 1180 byte(s)
fix checking for multiples packages (mga#8719)
1 Epoch: 1
2
3 Summary: Meta task listing packages by group
4 Name: meta-task
5 Version: 3
6 Release: %mkrel 27
7 License: GPL
8 Group: System/Configuration/Other
9 Source: rpmsrate-raw
10 Source1: check-rpmsrate
11 Source2: compssUsers.pl
12 Source3: prefer.vendor.list
13 Source4: README
14 BuildArch: noarch
15 BuildRequires: drakxtools-backend mgatools
16
17 %description
18 prefer.vendor.list is used by urpmi, rpmdrake and installer to prefer some
19 packages when there is a choice.
20
21 "rpmsrate" and "compsUsers.pl" are used by installer and rpmdrake to choose
22 packages to install.
23
24 %build
25 cp %{SOURCE1} .
26 cp %{SOURCE4} .
27
28 %install
29 install -d %{buildroot}%{_datadir}/%{name}
30 install -m644 %{SOURCE0} %{buildroot}%{_datadir}/%{name}
31 install -m644 %{SOURCE2} %{buildroot}%{_datadir}/%{name}
32 install -d %{buildroot}%{_sysconfdir}/urpmi
33 install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/urpmi
34
35 %check
36 ERR=`./check-rpmsrate %{buildroot}%{_datadir}/%{name}/rpmsrate-raw 2>&1`
37 [ -z "$ERR" ]
38 # clean-rpmsrate is using different code, check that it works too
39 clean-rpmsrate %{buildroot}%{_datadir}/%{name}/rpmsrate-raw -o foo .
40
41 %files
42 %doc README
43 %config(noreplace) %{_sysconfdir}/urpmi/prefer.vendor.list
44 %{_datadir}/%{name}

  ViewVC Help
Powered by ViewVC 1.1.28