summaryrefslogtreecommitdiffstats
path: root/rootfiles.spec
blob: d9ea06c150904ee300e6c119d3fcc8300f8d0ed1 (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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# MODIFY IN THE CVS !!
%define name	rootfiles
%define version 10.2
%define release 2mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	The basic required files for the root user's directory
License:	Public Domain
Group:		System/Base
Source:		%name-%version.tar.bz2
BuildRoot:	%_tmppath/%name-%version-%release-root
BuildArch:	noarch

%description
The rootfiles package contains basic required files that are placed
in the root user's account.

%prep
%setup -q

%install
rm -rf %{buildroot}
install -d %buildroot/root
make install RPM_BUILD_ROOT=%buildroot

%clean
rm -rf %{buildroot}

%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(noreplace) /root/.Xdefaults
%config(noreplace) /root/.bash_logout
%config(noreplace) /root/.bash_profile
%config(noreplace) /root/.bash_completion
%config(noreplace) /root/.bashrc
%config(noreplace) /root/.cshrc
%config(noreplace) /root/.tcshrc
%config(noreplace) /root/.vimrc
%attr(0700,root,root) /root/tmp/

%changelog
* Mon Jun 13 2005 Guillaume Rousse <guillomovitch@mandrake.org> 10.2-2mdk
- add .bash_completion  
- drop explicit bash_completion sourcing from .bashrc
- spec cleanup

* Tue Jan 04 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 10.2-1mdk
- Modernize root's .vimrc
- Trim obsolete information from description

* Mon Jul 12 2004 Guillaume Rousse <guillomovitch@mandrake.org> 9.1-1mdk 
- enable bash-completion support in root .bashrc
- spec cleanup

* Sat Nov 30 2002 Yves Duret <yves@zarb.org> 9.1-0.1mdk
- bashrc: source /etc/bashrc after PATH redefinition (for bash_completion)
  thanks Guillaume Rousse.
- added clean, changelog rules in Makefile. enhanced version detection
  (with rpm -q) and toto rules.
- ChangeLog is now always uptodate.
- resync spec file with CVS one.

* Wed Aug 14 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 8.2-2mdk
- Automated rebuild with gcc 3.2-0.3mdk

* Fri Feb 15 2002 David BAUDENS <baudens@mandrakesoft.com> 8.2-1mdk
- Update version to 8.2

* Mon Oct 15 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 8.0-5mdk
- bashrc: remove obsoletes stuff.

* Thu Apr 12 2001 David BAUDENS <baudens@mandrakesoft.com> 8.0-4mdk
- Remove KDE stuff (provided by kdebase)
- Remove Netscape stuff (provided by netscape)

* Tue Mar 20 2001 Daouda Lo <daouda@mandrakesoft.com> 8.0-3mdk
- remove Drakconf workaround

* Tue Mar 20 2001 Daouda Lo <daouda@mandrakesoft.com> 8.0-2mdk
- workaround for DrakConf crash.

* Tue Mar 13 2001 Pixel <pixel@mandrakesoft.com> 8.0-1mdk
- vimrc: remove "Default tab for 4" (set ts=4)

* Thu Jan 18 2001 David BAUDENS <baudens@mandrakesoft.com> 7.3-1mdk
- Fix build on PPC
- Spec clean up

* Wed Nov 08 2000 David BAUDENS <baudens@mandrakesoft.com> 7.2-2mdk
- Use config(noreplace)

* Mon Oct  9 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 7.2-1mdk
- rebuild for 7.2

* Mon Jul 31 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 7.1-9mdk
- rootfiles.spec: BM.

* Wed May 24 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 7.1-8mdk
- Desktop/DrakConf.kdelnk: Don't launch with kdesu for root.

* Mon May 08 2000 dam's <damien@mandrakesoft.com> 7.1-7mdk
- corrected vimrc

* 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.