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