/[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 232771 - (show annotations) (download)
Sun Apr 22 23:55:57 2012 UTC (12 years ago) by blino
File size: 1112 byte(s)
fix iwlagn firmware package installation (#5549)
1 %define name meta-task
2 %define version 2
3 %define release %mkrel 43
4
5 Epoch: 1
6
7 Summary: Meta task listing packages by group
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 License: GPL
12 Group: System/Configuration/Other
13 Source: rpmsrate-raw
14 Source1: check-rpmsrate
15 Source2: compssUsers.pl
16 Source3: prefer.vendor.list
17 Source4: README
18 BuildArch: noarch
19 BuildRequires: drakxtools-backend
20
21 %description
22 prefer.vendor.list is used by urpmi, rpmdrake and installer to prefer some
23 packages when there is a choice.
24
25 "rpmsrate" and "compsUsers.pl" are used by installer and rpmdrake to choose
26 packages to install.
27
28 %build
29 cp %{SOURCE1} .
30 cp %{SOURCE4} .
31
32 %install
33 install -d %{buildroot}%{_datadir}/%{name}
34 install -m644 %{SOURCE0} %{buildroot}%{_datadir}/%{name}
35 install -m644 %{SOURCE2} %{buildroot}%{_datadir}/%{name}
36 install -d %{buildroot}%{_sysconfdir}/urpmi
37 install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/urpmi
38
39 %check
40 ERR=`./check-rpmsrate %{buildroot}%{_datadir}/%{name}/rpmsrate-raw 2>&1`
41 [ -z "$ERR" ]
42
43 %files
44 %doc README
45 %config(noreplace) %{_sysconfdir}/urpmi/prefer.vendor.list
46 %{_datadir}/%{name}

  ViewVC Help
Powered by ViewVC 1.1.30