summaryrefslogtreecommitdiffstats
path: root/rootfiles.spec
blob: 804eeebedb5d93b859cabccbc6ceb13a2efb61db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
%define version 7.1
%define release 6mdk
%define name rootfiles

Summary: The basic required files for the root user's directory.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: public domain
Group: System/Base
Source: %{name}-%{version}.tar.bz2
BuildRoot: /var/tmp/%{name}-root
BuildArchitectures: noarch

%description
The rootfiles package contains basic required files that are placed
in the root user's account.  These files are basically the same
as the files found in the etcskel package, which are placed in regular
users' home directories.

%prep
%setup -q

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/root
make install RPM_BUILD_ROOT=$RPM_BUILD_ROOT/

%clean
rm -rf $RPM_BUILD_ROOT

%pre
# we used to put .Xclients in this package -- back it up if it's been
# customized
cd /root
if [ -f .Xclients -a -x /bin/awk ]; then
    m=`md5sum .Xclients | awk '{ print $1 }'`
    if [ $m != "506b9496f2853fc9fee6c6b1c5f3ee48" ]; then
	mv .Xclients .Xclients.rpmsave
    fi
fi

%files
%defattr(-,root,root)
%doc ChangeLog 
%config /root/.[A-z]*
%config /root/Desktop/
%attr(0700,root,root) /root/tmp/

%changelog
* Mon May 08 2000 dam's <damien@mandrakesoft.com> 7.1-6mdk
- added no wrap in vimrc

* Sun Apr 30 2000 dam's <damien@mandrakesoft.com> 7.1-5mdk
- re-added XKill in Desktop

* Thu Apr 27 2000 dam's <damien@mandrakesoft.com> 7.1-4mdk
- kde/share/config/kpanelrc :removed DesktopButton section to fix empty panel in root session

* Wed Apr 26 2000 dam's <damien@mandrakesoft.com> 7.1-3mdk
- Desktop : cleaned up kdelnk files.

* Thu Mar 23 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 7.1-2mdk
- tcshrc: define hard PATH.
- cshrc: define hard PATH.
- rootfiles.spec: adjust groups.
- rootfiles.spec: Add ChangeLog in %doc
- bashrc: cleanup.

* Wed Mar 22 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 7.1-1mdk
- Remove .emacs (moved to his package).
- Remove .zshrc (moved to his package).

* Mon Jan 10 2000 Pixel <pixel@mandrakesoft.com>
- added a kfmrc (for Templates directory)

* Tue Jan 04 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Sync .kdelnk.

* Tue Dec 28 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- add kppp icons for kde.
- True makefile and cvs.

* Wed Dec 22 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- fix vimrc with vim-minimal.

* Tue Dec 21 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- put ~/tmp as 700.

* Sat Dec 18 1999 Pixel <pixel@mandrakesoft.com>
- added .netscape/(cache|archive)

* Thu Dec 16 1999 François PONS <fpons@mandrakesoft.com>
- removed Cd-Rom.kdelnk and floppy.kdelnk, since handled by DrakX.

* Thu Dec 16 1999 Pixel <pixel@mandrakesoft.com>
- moved Templates from Desktop to .kde
- better .emacs (especially gnu-emacs)

* Fri Dec 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Syn Desktop.

* Thu Dec 02 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Alias df to -x supermount.

* Wed Dec 01 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Remove the export XAUTHORITY for root.

* Sat Nov 27 1999 Pixel <pixel@linux-mandrake.com>
- .vimrc: `syntax on' only if vim-common is there

* Mon Nov 15 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Add hwiz.kdelnk in Autostart of kde package.

* Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Fix .emacs (<c> Chmouel All right reserved).

* Mon Oct 25 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- fix stupid path in .bashrc (thanks john).

* Tue Sep 07 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Add Desktop directory.
- Kde in English.

* Tue Sep 07 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Insert kde configuration and Desktop of kde directly here.

* Fri Aug 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Fix typo.

* Fri Aug 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Bind Windows key to (K)menu.

* Sun Aug  8 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- zshrc: by defaut we launch the completion machine.

* Thu Aug 05 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Fix typo in .vimrc.

* Mon Aug  2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Syn on only with enhanced vim.
- Add statusbar for vim
- New alias in bashrc.

* Tue Jun 15 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Tmp for root.

* Tue May 18 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Fix locales bug rapport by Jean Michel <jmdault@netrevolution.com>


* Wed May 12 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Security path for root.
- Suppr work now for root.

* Tue May 11 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- a /sbin and /usr/sbin for root even for telnet.

* Sun May 09 1999 Gaël Duval <gael@linux-mandrake.com>

- Added .kderc for root 
- changed the version number (5.2->6.0)

* Sun May 09 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Mandrake adaptations.

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 5)

* Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
- add %clean (#719)

* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
- build for 6.0

* Wed Oct  9 1998 Bill Nottingham <notting@redhat.com>
- remove /root from %files (it's in filesystem)

* Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com>
- portability fix for .cshrc (problem #235)
- change version to be same as release.

* Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package

* Thu Mar 20 1997 Erik Troan <ewt@redhat.com>
- Removed .Xclients and .Xsession from package, added %pre to back up old
  .Xclients if necessary.