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