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