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