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