1 |
# $Id$ |
2 |
|
3 |
Summary: e-smith tools for building RPMs |
4 |
%define name e-smith-devtools |
5 |
Name: %{name} |
6 |
%define version 2.2.0 |
7 |
%define release 1 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
15 |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
16 |
AutoReqProv: no |
17 |
|
18 |
%changelog |
19 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
20 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
21 |
|
22 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
23 |
- Clean up spec so package can be built by koji/plague |
24 |
|
25 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
26 |
- Update to new release naming. No functional changes. |
27 |
- Make Packager generic |
28 |
|
29 |
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-01 |
30 |
- Roll stable stream version. [SME: 1016] |
31 |
|
32 |
* Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.1-08 |
33 |
- Remove % from changelog items - sigh it's a comment! |
34 |
|
35 |
* Tue Jan 24 2006 Charlie Brady <charlieb@e-smith.com> 1.13.1-07 |
36 |
- Remove /root/.vimrc [SME: 562] |
37 |
|
38 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.1-06 |
39 |
- Bump release number only |
40 |
|
41 |
* Mon Jun 27 2005 Charlie Brady <charlieb@e-smith.com> |
42 |
- [1.13.1-05] |
43 |
- Fix file permissions (properly) inside /etc/cron.d. [SF: 1226700] |
44 |
|
45 |
* Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com> |
46 |
- [1.13.1-04] |
47 |
- Fix file permissions inside /etc/cron.d. [SF: 1226700] |
48 |
|
49 |
* Thu Jan 20 2005 Charlie Brady <charlieb@e-smith.com> |
50 |
- [1.13.1-03] |
51 |
- Add safe_touch() and templates2events() functions to support use |
52 |
of the generic_template_expand action. [MN00064130] |
53 |
|
54 |
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
55 |
- [1.13.1-02] |
56 |
- Updated requires with new perl dependencies. [msoulier MN00040240] |
57 |
|
58 |
* Thu Feb 5 2004 Michael Soulier <msoulier@e-smith.com> |
59 |
- [1.13.1-01] |
60 |
- Rolling as-source. [msoulier] |
61 |
|
62 |
* Thu Feb 5 2004 Michael Soulier <msoulier@e-smith.com> |
63 |
- [1.13.0-03] |
64 |
- Added esmith::Build::CreateLinks to this package. [msoulier 10992] |
65 |
|
66 |
* Mon Dec 22 2003 Michael Soulier <msoulier@e-smith.com> |
67 |
- [1.13.0-02] |
68 |
- Updating .vimrc settings. [msoulier 5740] |
69 |
|
70 |
* Mon Dec 22 2003 Michael Soulier <msoulier@e-smith.com> |
71 |
- [1.13.0-01] |
72 |
- rolling to dev - 1.13.0 |
73 |
|
74 |
* Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com> |
75 |
- [1.12.0-02] |
76 |
- Updated file list to handle /etc/rc.d/init.d/supervise and it's files. |
77 |
[msoulier 10648] |
78 |
|
79 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
80 |
- [1.12.0-01] |
81 |
- Changing version to stable stream number - 1.12.0 |
82 |
|
83 |
* Wed Jun 11 2003 Charlie Brady <charlieb@e-smith.com> |
84 |
- [1.11.0-12] |
85 |
- Enhance genfilelist to take command line options to extend its internal |
86 |
databases. Add /usr/lib/perl5/site_perl (and its components) to list |
87 |
of ignored directories. Reformat ignoredirs list to make it easier to extend. |
88 |
Strip trailing spaces from spec for dirs and files, and add it to the output |
89 |
print statements (so that we don't need a trailing space for every extra spec. |
90 |
[charlieb 7719] |
91 |
|
92 |
* Mon May 26 2003 Gordon Rowell <gordonr@e-smith.com> |
93 |
- [1.11.0-11] |
94 |
- Add missing cd .. after processing a .po directory [gordonr 8828] |
95 |
|
96 |
* Thu Apr 10 2003 Michael Soulier <msoulier@e-smith.com> |
97 |
- [1.11.0-10] |
98 |
- Updated the files list to pick up the .vimrc file. [msoulier 8044] |
99 |
|
100 |
* Thu Apr 10 2003 Michael Soulier <msoulier@e-smith.com> |
101 |
- [1.11.0-09] |
102 |
- Added a standard .vimrc file for the root user. [msoulier 8044] |
103 |
|
104 |
* Wed Apr 2 2003 Michael Soulier <msoulier@e-smith.com> |
105 |
- [1.11.0-08] |
106 |
- Added support for /sbin/e-smith/console-screens. [msoulier 7968] |
107 |
|
108 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
109 |
- [1.11.0-07] |
110 |
- Added support for /home/e-smith/files/samba/netlogon [gordonr 5241] |
111 |
|
112 |
* Tue Mar 25 2003 Tony Clayton <apc@e-smith.com> |
113 |
- [1.11.0-06] |
114 |
- small fix to update-po usage() function [tonyc 7794] |
115 |
|
116 |
* Tue Mar 25 2003 Tony Clayton <apc@e-smith.com> |
117 |
- [1.11.0-05] |
118 |
- Add update-po to install/files sections [tonyc 7794] |
119 |
|
120 |
* Tue Mar 25 2003 Tony Clayton <apc@e-smith.com> |
121 |
- [1.11.0-04] |
122 |
- Add update-po script [tonyc 7794] |
123 |
|
124 |
* Thu Mar 6 2003 Gordon Rowell <gordonr@e-smith.com> |
125 |
- [1.11.0-03] |
126 |
- And add generate-lexicons to install and files [gordonr 7578] |
127 |
|
128 |
* Thu Mar 6 2003 Gordon Rowell <gordonr@e-smith.com> |
129 |
- [1.11.0-02] |
130 |
- Added initial generate-lexicons [gordonr 7578] |
131 |
|
132 |
* Wed Nov 6 2002 Michael Soulier <msoulier@e-smith.com> |
133 |
- [1.11.0-01] |
134 |
- need new dev version to 1.11.0 |
135 |
|
136 |
* Wed Nov 6 2002 Michael Soulier <msoulier@e-smith.com> |
137 |
- [1.10.1-02] |
138 |
- Added /usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ to the fileperms |
139 |
hash to set the panel libs to 0644 permissions. [msoulier 5516] |
140 |
|
141 |
* Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com> |
142 |
- [1.10.1-01] |
143 |
- Roll new version to fix tagging problem |
144 |
|
145 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
146 |
- [1.10.0-01] |
147 |
- Roll to maintained version number to 1.10.0 |
148 |
|
149 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
150 |
- [1.10.0-01] |
151 |
- Roll to maintained version number to 1.10.0 |
152 |
|
153 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
154 |
- [1.9.0-01] |
155 |
- Changing version to maintained stream number to 1.9.0 |
156 |
|
157 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
158 |
- [1.8.0-01] |
159 |
- Changing version to maintained stream number to 1.8.0 |
160 |
|
161 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
162 |
- [1.7.6-01] |
163 |
- RPM rebuild forced by cvsroot2rpm |
164 |
|
165 |
* Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com> |
166 |
- [1.7.5-01] |
167 |
- Sigh. Hash-bang line brokenness. [gordonr 3155] |
168 |
|
169 |
* Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com> |
170 |
- [1.7.4-01] |
171 |
- Forced attributes on scripts so we don't rely on the repository |
172 |
[gordonr 3155] |
173 |
|
174 |
* Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com> |
175 |
- [1.7.3-01] |
176 |
- Actually copy validate-lexicon to the correct place [gordonr 3155] |
177 |
|
178 |
* Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com> |
179 |
- [1.7.2-01] |
180 |
- Added validate-lexicon which exits non-zero if the lexicon |
181 |
doesn't parse properly [gordonr 3155] |
182 |
|
183 |
* Sat Apr 05 2002 Gordon Rowell <gordonr@e-smith.com> |
184 |
- [1.7.1-01] |
185 |
- New development stream. Added /sbin/e-smith/quicktest [gordonr] |
186 |
|
187 |
* Wed Apr 03 2002 Gordon Rowell <gordonr@e-smith.com> |
188 |
- [1.6.10-01] |
189 |
- /var/run/named -> /home/dns/var/run/named for chroot() [gordonr #3019] |
190 |
|
191 |
* Wed Apr 03 2002 Gordon Rowell <gordonr@e-smith.com> |
192 |
- [1.6.9-01] |
193 |
- Added /var/run/named [gordonr #3019] |
194 |
|
195 |
* Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com> |
196 |
- [1.6.8-01] |
197 |
- Botched the spec file. :( |
198 |
|
199 |
* Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com> |
200 |
- [1.6.7-01] |
201 |
- Adding smoketest's permissions from e-smith-test. |
202 |
|
203 |
* Fri Feb 22 2002 Charlie Brady <charlieb@e-smith.com> |
204 |
- [1.6.6-01] |
205 |
- Fix permissions on /var/spool/fax/faxrunqd directory (sticky, not setgid). |
206 |
|
207 |
* Fri Feb 22 2002 Charlie Brady <charlieb@e-smith.com> |
208 |
- [1.6.5-01] |
209 |
- Add specifications for directories and run scripts for mgetty's faxrunqd. |
210 |
|
211 |
* Thu Feb 21 2002 Kirrily Robert <skud@e-smith.com> |
212 |
- [1.6.4-01] |
213 |
- Added buildtests to filelist so it actually installs. Bah. |
214 |
|
215 |
* Thu Feb 21 2002 Kirrily Robert <skud@e-smith.com> |
216 |
- [1.6.3-01] |
217 |
- Added buildtests script for building a package's test suite |
218 |
|
219 |
* Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com> |
220 |
- [1.6.2-01] |
221 |
- Imported to CVS; testing that it worked. |
222 |
|
223 |
* Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com> |
224 |
- [1.6.1-01] |
225 |
- rollRPM: Rolled version number to 1.6.1-01. Includes patches up to 1.6.0-02. |
226 |
|
227 |
* Wed Jan 02 2002 Charlie Brady <charlieb@e-smith.com> |
228 |
- [1.6.0-02] |
229 |
- Add execute permissions to files under /etc/cron.daily and /etc/cron.weekly. |
230 |
|
231 |
* Tue Dec 11 2001 Adrian Chung <mac@e-smith.com> |
232 |
- [1.6.0-01] |
233 |
- rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-07. |
234 |
|
235 |
* Thu Dec 06 2001 Charlie Brady <charlieb@e-smith.com> |
236 |
- [1.5.0-07] |
237 |
- Add missing trailing / to /etc/diald/scripts, to make scripts there |
238 |
executable. |
239 |
|
240 |
* Tue Dec 04 2001 Charlie Brady <charlieb@e-smith.com> |
241 |
- [1.5.0-06] |
242 |
- Add specs for /var/lock/fetchmail and /etc/diald/scripts/*. |
243 |
- Add execute permission for /etc/cron.d/* fragments |
244 |
- Add spec for /home/e-smith/files/netlogon/netlogon.bat, for when we |
245 |
need it. |
246 |
|
247 |
* Fri Nov 30 2001 Gordon Rowell <gordonr@e-smith.com> |
248 |
- [1.5.0-05] |
249 |
- Made /home/e-smith/files/samba/profiles 02750,admin,shared to allow |
250 |
users to search that directory when accessing their profile subdirectory |
251 |
|
252 |
* Tue Nov 20 2001 Gordon Rowell <gordonr@e-smith.com> |
253 |
- [1.5.0-04] |
254 |
- Make /etc/e-smith/events/actions/create-machine-account 06554,root,root |
255 |
to allow "admin" to create machine accounts through Samba |
256 |
|
257 |
* Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com> |
258 |
- [1.5.0-03] |
259 |
- Explicitly list printer driver and profiles directories |
260 |
- Returned /home/e-smith/files/samba to default ownership by root |
261 |
|
262 |
* Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com> |
263 |
- [1.5.0-02] |
264 |
- Made /home/e-smith/files/samba 02755,admin,admin to allow admin write |
265 |
access to the printer drivers share |
266 |
|
267 |
* Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com> |
268 |
- [1.5.0-01] |
269 |
- Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-02. |
270 |
|
271 |
* Mon Sep 3 2001 Charlie Brady <charlieb@e-smith.com> |
272 |
- [1.4.0-02] |
273 |
- Include /var/named, plus lots of other directories which are from the |
274 |
filesystem RPM. |
275 |
|
276 |
* Thu Aug 23 2001 Gordon Rowell <gordonr@e-smith.com> |
277 |
- [1.4.0-01] |
278 |
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-02. |
279 |
|
280 |
* Thu Aug 16 2001 Charlie Brady <charlieb@e-smith.com> |
281 |
- [1.3.0-02] |
282 |
- Configure a list of directories to omit from RPMs - e.g., RedHat supplied |
283 |
directories.A |
284 |
- Fix permissions/ownership of ~admin and ~admin/home |
285 |
- Add space between %attr() and directory name |
286 |
|
287 |
* Thu Aug 16 2001 Charlie Brady <charlieb@e-smith.com> |
288 |
- [1.3.0-01] |
289 |
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-05. |
290 |
|
291 |
* Fri Jul 27 2001 Charlie Brady <charlieb@e-smith.com> |
292 |
- [1.2.0-05] |
293 |
- Fix up misplaced defattr, so that files are root owned, unless stated |
294 |
otherwise (rather than by the developer building the package). |
295 |
|
296 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
297 |
- [1.2.0-04] |
298 |
- Changed license to GPL |
299 |
|
300 |
* Sat May 05 2001 Paul Nesbit <pkn@e-smith.com> |
301 |
- [1.2.0-03] |
302 |
- Corrected permission in genfilelist. |
303 |
|
304 |
* Mon Jan 29 2001 Charlie Brady <charlieb@e-smith.com> |
305 |
- [1.2.0-02] |
306 |
- Mark netlogon.bat as a noreplace config file. |
307 |
- Add some horde config files rules, and rule for /root/.ssh |
308 |
directory |
309 |
- Add e-smith Maildir rules |
310 |
- Give admin ownership of admin home directory |
311 |
|
312 |
* Fri Jan 26 2001 Peter Samuel <peters@e-smith.com> |
313 |
- [1.2.0-01] |
314 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-3. |
315 |
|
316 |
* Sat Jan 06 2001 Charlie Brady <charlieb@e-smith.com> |
317 |
- [1.1.0-3] |
318 |
- Remove "other" execute permission for console and action scripts |
319 |
- Add execute permission rule for /sbin/e-smith/dynamic-dns/*. |
320 |
- Add permission rules for /etc/cron.d/* and /etc/profile.d/* files |
321 |
|
322 |
* Mon Dec 18 2000 Charlie Brady <charlieb@e-smith.com> |
323 |
- [1.1.0-2] |
324 |
- Include ownership and permission for netlogon share |
325 |
|
326 |
* Wed Dec 13 2000 Gordon Rowell <gordonr@e-smith.com> |
327 |
- [1.1.0-1] |
328 |
- Rolled version and tarball including patches to 0.1-11 |
329 |
|
330 |
* Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com> |
331 |
- Added settings for /home/dns/var/run and /home/dns/var/named |
332 |
|
333 |
* Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com> |
334 |
- Added default permissions setting for directories |
335 |
|
336 |
* Tue Sep 12 2000 Adrian Chung <mac@e-smith.com> |
337 |
- Changed /sbin/e-smith/web to /etc/e-smith/web. |
338 |
|
339 |
* Mon Sep 11 2000 Adrian Chung <mac@e-smith.com> |
340 |
- Changed permissions on functions dir to 4750. |
341 |
|
342 |
* Thu Aug 31 2000 Adrian Chung <mac@e-smith.com> |
343 |
- Added executable permissions to index.cgi. |
344 |
|
345 |
* Thu Aug 31 2000 Adrian Chung <mac@e-smith.com> |
346 |
- Modified all panel directories to root,admin. |
347 |
|
348 |
* Wed Aug 30 2000 Adrian Chung <mac@e-smith.com> |
349 |
- Modified web directories to (root,admin) permissions. |
350 |
|
351 |
* Wed Aug 30 2000 Adrian Chung <mac@e-smith.com> |
352 |
- Moved %defattr below to under files section. |
353 |
- Changed genfilelist for new web permissions. |
354 |
- Changed genfilelist for new permissions on some other |
355 |
files. |
356 |
|
357 |
* Tue Aug 29 2000 Charlie Brady <charlieb@e-smith.net> |
358 |
- Fix another stupid ordering problem - can't get ordered searching of |
359 |
hash. We only need to key by file and containing directory anyway. |
360 |
|
361 |
* Fri Aug 25 2000 Charlie Brady <charlieb@e-smith.net> |
362 |
- Fix ordering problem with using hash before defined. |
363 |
|
364 |
* Thu Aug 24 2000 Charlie Brady <charlieb@e-smith.net> |
365 |
- initial release |
366 |
|
367 |
%description |
368 |
Tools for use in building RPMs for the e-smith serverand gateway. |
369 |
|
370 |
Use "genfilelist" to create a filelist file with correct ownerships and |
371 |
permissions. |
372 |
|
373 |
%prep |
374 |
%setup |
375 |
|
376 |
%build |
377 |
|
378 |
%install |
379 |
rm -rf $RPM_BUILD_ROOT |
380 |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
381 |
mkdir -p $RPM_BUILD_ROOT/root |
382 |
mkdir -p $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/esmith/Build |
383 |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
384 |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
385 |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
386 |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
387 |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
388 |
cp CreateLinks.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/esmith/Build |
389 |
|
390 |
%clean |
391 |
rm -rf $RPM_BUILD_ROOT |
392 |
|
393 |
%pre |
394 |
%preun |
395 |
%post |
396 |
%postun |
397 |
|
398 |
%files |
399 |
%defattr(-,root,root) |
400 |
%attr(0755,root,root) /sbin/e-smith/genfilelist |
401 |
%attr(0755,root,root) /sbin/e-smith/buildtests |
402 |
%attr(0755,root,root) /sbin/e-smith/validate-lexicon |
403 |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
404 |
%attr(0755,root,root) /sbin/e-smith/update-po |
405 |
%attr(-,root,root) %dir /sbin |
406 |
%attr(-,root,root) %dir /sbin/e-smith |
407 |
%attr(0644,root,root) /usr/lib/perl5/site_perl/esmith/Build/CreateLinks.pm |
408 |
%doc COPYING |