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