1 |
%define name rootfiles |
2 |
%define version 11.0 |
3 |
%define release %mkrel 7 |
4 |
|
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
Summary: The basic required files for the root user's directory |
9 |
License: Public Domain |
10 |
Group: System/Base |
11 |
Source: %name-%version.tar.bz2 |
12 |
BuildRoot: %_tmppath/%name-%version-%release-root |
13 |
BuildArch: noarch |
14 |
|
15 |
%description |
16 |
The rootfiles package contains basic required files that are placed |
17 |
in the root user's account. |
18 |
|
19 |
%prep |
20 |
%setup -q |
21 |
|
22 |
%install |
23 |
rm -rf %{buildroot} |
24 |
install -d %buildroot/root |
25 |
make install DESTDIR=%buildroot |
26 |
|
27 |
%clean |
28 |
rm -rf %{buildroot} |
29 |
|
30 |
%files |
31 |
%defattr(-,root,root) |
32 |
%doc ChangeLog |
33 |
%config(noreplace) /root/.Xdefaults |
34 |
%config(noreplace) /root/.bash_logout |
35 |
%config(noreplace) /root/.bash_profile |
36 |
%config(noreplace) /root/.bash_completion |
37 |
%config(noreplace) /root/.bashrc |
38 |
%config(noreplace) /root/.cshrc |
39 |
%config(noreplace) /root/.tcshrc |
40 |
%config(noreplace) /root/.vimrc |
41 |
%attr(0700,root,root) /root/tmp/ |
42 |
|
43 |
|
44 |
|
45 |
|