/[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 94185 - (show annotations) (download)
Sun May 1 22:53:18 2011 UTC (12 years, 11 months ago) by tmb
File size: 1244 byte(s)
SILENT: bump release
1 %define name meta-task
2 %define version 1
3 %define release %mkrel 25
4 Epoch: 1
5
6 Summary: Meta task listing packages by group
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}
10 License: GPL
11 Group: System/Configuration/Other
12 Source: rpmsrate-raw
13 Source1: check-rpmsrate
14 Source2: compssUsers.pl
15 Source3: prefer.vendor.list
16 Source4: README
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
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 rm -rf %{buildroot}
34 install -d %{buildroot}%{_datadir}/%{name}
35 install -m644 %{SOURCE0} %{buildroot}%{_datadir}/%{name}
36 install -m644 %{SOURCE2} %{buildroot}%{_datadir}/%{name}
37 install -d %{buildroot}%{_sysconfdir}/urpmi
38 install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/urpmi
39
40 %check
41 ERR=`./check-rpmsrate %{buildroot}%{_datadir}/%{name}/rpmsrate-raw 2>&1`
42 [ -z "$ERR" ]
43
44 %clean
45 rm -rf %{buildroot}
46
47 %files
48 %defattr(-,root,root)
49 %doc README
50 %config(noreplace) %{_sysconfdir}/urpmi/prefer.vendor.list
51 %{_datadir}/%{name}

  ViewVC Help
Powered by ViewVC 1.1.30