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