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