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