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