/[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.3 - (show annotations) (download)
Fri Mar 18 13:35:42 2016 UTC (8 years, 7 months ago) by vip-ire
Branch: MAIN
Changes since 1.2: +6 -1 lines
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
- Ignore more system directories [SME: 9347]

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

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