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