/[smeserver]/rpms/e-smith-devtools/sme10/e-smith-devtools.spec
ViewVC logotype

Contents of /rpms/e-smith-devtools/sme10/e-smith-devtools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Feb 7 10:02:27 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-2_el7_sme
Changes since 1.1: +9 -2 lines
* Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
- Don't add %dir and %attr in genfilelist for symlinks, code from
  Charlie Brady [SME: 9232]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed