/[smeserver]/rpms/e-smith-turba/sme8/e-smith-turba.spec
ViewVC logotype

Annotation of /rpms/e-smith-turba/sme8/e-smith-turba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Wed Apr 2 20:39:04 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-turba-1_7_0-17_el5_sme
Changes since 1.1: +9 -1 lines
* Tue Apr 1 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-17
- Patch that changes the file 40mysql.create.turba in
  /etc/e-smith/templates/etc/e-smith/sql/init to now call turba.mysql.sql which
  replaces the obsoleted turba_objects.mysql.sql file.  Change was originally
  made in turba 2.1.6 but 2.1.6 was never released for SME Server   [SME: 4095]

1 slords 1.1 Summary: e-smith module to configure Turba 1.0
2     %define name e-smith-turba
3     Name: %{name}
4     %define version 1.7.0
5 slords 1.2 %define release 17
6 slords 1.1 Version: %{version}
7     Release: %{release}%{?dist}
8     License: GPL
9     Group: Networking/Daemons
10     Source: %{name}-%{version}.tar.gz
11     Patch0: e-smith-turba-1.7-01.conf_php.patch
12     Patch1: e-smith-turba-1.7-02.sources_php.patch
13     Patch2: e-smith-turba-1.7-03.prefs_php.patch
14     Patch3: e-smith-turba-1.7-04.createlinks.patch
15     Patch4: e-smith-turba-1.7-05.menuarray.patch
16     Patch5: e-smith-turba-1.7-06.freebusy.patch
17     Patch6: e-smith-turba-1.7-07.turba_horde_registry_php.patch
18     Patch7: e-smith-turba-1.7-08.remove_bigfoot_entry
19     Patch8: e-smith-turba-1.7-11.shared_addressbooks.patch
20     Patch9: e-smith-turba-1.7-13.turba214_prefs.php.patch
21     Patch10: e-smith-turba-1.7-14.ldap_dn.patch
22     Patch11: e-smith-turba-1.7.0-ldap_charset.patch
23 slords 1.2 Patch12: e-smith-turba-1.7.0-17.turba.mysql.sql.patch
24 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25     BuildRequires: e-smith-devtools
26     BuildArchitectures: noarch
27     Requires: e-smith-base, e-smith-lib, e-smith >= 4.1
28     Requires: turba-h3 >= 2.1
29     AutoReqProv: no
30     Obsoletes: dcb-e-smith-turba
31     Obsoletes: Obsoletes: smeserver-turba-menuarray
32    
33     %changelog
34 slords 1.2 * Tue Apr 1 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-17
35     - Patch that changes the file 40mysql.create.turba in
36     /etc/e-smith/templates/etc/e-smith/sql/init to now call turba.mysql.sql which
37     replaces the obsoleted turba_objects.mysql.sql file. Change was originally
38     made in turba 2.1.6 but 2.1.6 was never released for SME Server [SME: 4095]
39    
40 slords 1.1 * Sat Jun 9 2007 Shad L. Lords <slords@mail.com> 1.7.0-16
41     - Fix last patch (add comma) [SME: 2938]
42    
43     * Fri Jun 08 2007 Stephen Noble <support@dungog.net> 1.7.0-15
44     - change ldap charset to UTF-8 [SME: 2938]
45    
46     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
47     - Clean up spec so package can be built by koji/plague
48    
49     * Thu Apr 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-14
50     - Patch to 50LocalLDAP template that adds a base dn to turba's sources.php.
51     This works for SME 7 and SME 8 [SME: 2939]
52    
53     * Wed Mar 28 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-13
54     - Update turba prefs.php templates per turba 2.1.4 [SME: 2787]
55    
56     * Wed Jan 31 2007 Shad L. Lords <slords@mail.com> 1.7.0-12
57     - Fix instructions in changelog and respin.
58    
59     * Tue Jan 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-11
60     - Added the ability to enable shared address books. To activate
61     config setprop horde SharedAddressBooks enabled ; signal-event email-update [SME: 2218]
62    
63     * Fri Dec 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-10
64     - Re-apply of patch four which removes the 100Conf.orig file that is bogus.
65    
66     * Sat Dec 09 2006 Shad L. Lords <slords@mail.com>
67     - Update to new release naming. No functional changes.
68     - Make Packager generic
69    
70     * Fri Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-08
71     - Turba 2.1.3 formally removed the bigfoot ldap search entry. e-smith-turba had
72     this entry as a 0 byte file, this change is to note that.
73    
74     * Thu Oct 5 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-07
75     - Added turba specific horde/config/registry.php settings. These were previously
76     kept in the e-smith-horde rpm.
77    
78     * Mon Oct 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-06
79     - Added a section to the template file 50LocalLDAP that will look for a db setting
80     which will give the ability to enable or disable the storing of freebusy information
81     for horde to the ldap database.
82     - This should help a lot in setting up a company wide directory with Free/Busy information
83     already populated in the LDAP DB which should eliminate the need for each user to have to
84     setup a personal address book with everyone's name that they want to do free/busy searches
85     against.
86     - To activate - config setprop horde freebusy enabled.
87     Default is disabled. If you install the smeserver-kronolith that I maintain, then this
88     setting will be changed to enabled after a post-upgrade ; reboot.
89    
90     * Sat Sep 23 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-05
91     - Modified conf.php templates and added an includes statement to 120Menusettings
92     that will grab the information in horde/conf.menu.apps.php. This way each of
93     the individual horde modules don't have to repeatedly process the same template
94     for the menu array section in conf.php.
95     - Added the ability to enable or disable turba menu icon from showing up on the main
96     webmail screen. To initially enable - config set turba service MenuArray disabled|enabled
97     After the DB entry is created you can enable or disable this by
98     config setprop turba MenuArray disabled|enabled
99    
100     * Fri Sep 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-04
101     - Patch to createlinks that moves symlink create function from spec file
102     to createlinks section.
103    
104     * Fri Sep 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-03
105     - Patch that templates turba's prefs.php for turba 2.1.2
106    
107     * Fri Sep 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-02
108     - Patch to update turba templates in sources.php for turba 2.1.2
109    
110     * Wed Sep 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-01
111     - Patch to update turba templates in conf.php for turba 2.1.2
112    
113     * Tue Sep 19 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.7.0-00
114     - Rolled to new dev stream to reflect work done for turba 2.1.2
115    
116     * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.6.0-01
117     - Roll stable stream version. [SME: 1016]
118    
119     * Tue Feb 28 2006 Charlie Brady <charlie_brady@mitel.com> 1.5.1-12
120     - Back out menusettings changes for now. We'll probably do them later.
121     [SME: 883]
122    
123     * Sat Feb 25 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.5.1-11
124     - Removed menu-apps line from 100Conf and added 120MenuSettings.
125     - added %post and %postun lines to spec file that add/remove db settings
126     that 120MenuSettings will reference. [SME: 883]
127    
128     * Wed Feb 8 2006 1.5.1-10
129     - Change default group of included files from www to root. [SME: 700]
130    
131     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.5.1-09
132     - Bump release number only
133    
134     * Tue Aug 2 2005 Shad Lords <slords@email.com>
135     - [1.5.1-08]
136     - Update requires (turba-h3 replaces turba).
137    
138     * Tue Aug 2 2005 Charlie Brady <charlieb@e-smith.com>
139     - [1.5.1-07]
140     - Purge deprecated esmith::config and esmith::db APIs
141     from template fragments.
142    
143     * Wed Jul 6 2005 Charlie Brady <charlieb@e-smith.com>
144     - [1.5.1-06]
145     - Mark ldap address book as readonly. [SF: 1189640]
146    
147     * Sun May 1 2005 Charlie Brady <charlieb@e-smith.com>
148     - [1.5.1-05]
149     - Switch from localldap to localsql addressbook
150    
151     * Tue Apr 19 2005 Charlie Brady <charlieb@e-smith.com>
152     - [1.5.1-04]
153     - Fix a few small probs in combined upgrade script and template which
154     calls it.
155    
156     * Tue Apr 19 2005 Charlie Brady <charlieb@e-smith.com>
157     - [1.5.1-03]
158     - Combine 1.1->1.2 and 1.2->2.0 upgrade scripts. Fix path in turba db
159     create script. Don't bother running migrate-imp-to-turba unless there
160     is an imp address book table (very old hat now).
161    
162     * Mon Apr 18 2005 Charlie Brady <charlieb@e-smith.com>
163     - [1.5.1-02]
164     - Horde 3 config updates, courtesy of Greg Swallow.
165    
166     * Mon Apr 18 2005 Charlie Brady <charlieb@e-smith.com>
167     - [1.5.1-01]
168     - Roll to new development stream for horde 3 update - 1.5.1
169    
170     * Mon Apr 18 2005 Charlie Brady <charlieb@e-smith.com>
171     - [1.5.0-05]
172     - Fix mysql.init shell script name and paths to template expand.
173    
174     * Mon Apr 18 2005 Charlie Brady <charlieb@e-smith.com>
175     - [1.5.0-04]
176     - Add templates.metadata files so that ownership and perms of conf.php
177     and sources.php is correct.
178     - Replace conf-turba-startup with templated shell scripts.
179    
180     * Mon Jan 17 2005 Charlie Brady <charlieb@e-smith.com>
181     - [1.5.0-03]
182     - Add migrate fragment missing from last change. [MN00064391]
183    
184     * Mon Jan 17 2005 Charlie Brady <charlieb@e-smith.com>
185     - [1.5.0-02]
186     - Obsolete conf-turba action by using generic_template_expand action and
187     default db fragments. Update e-smith-lib dependency. [MN00064130]
188     - Delete redundent db key deletion code in conf-turba-startup. [MN00064391]
189    
190     * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
191     - [1.5.0-01]
192     - rolling to dev - 1.5.0
193    
194     * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
195     - [1.4.0-01]
196     - rolling to stable - 1.4.0
197    
198     * Wed Nov 26 2003 Michael Soulier <msoulier@e-smith.com>
199     - [1.3.0-06]
200     - Fixed typo. s/Config/ConfigDB. [msoulier 4796]
201    
202     * Wed Nov 26 2003 Michael Soulier <msoulier@e-smith.com>
203     - [1.3.0-05]
204     - Updated two actions to fetch the horde db password from configuration.
205     [msoulier 4796]
206    
207     * Fri Nov 21 2003 Mark Knox <markk@e-smith.com>
208     - [1.3.0-04]
209     - Fetch the horde db password from configuration [markk 4796]
210    
211     * Fri Sep 12 2003 Charlie Brady <charlieb@e-smith.com>
212     - [1.3.0-03]
213     - Explicitly check for existence of turba_objects columns before attempting
214     to add them. Don't try to create an owner_id index if one already
215     exists. [charlieb 9971]
216    
217     * Wed Sep 10 2003 Charlie Brady <charlieb@e-smith.com>
218     - [1.3.0-02]
219     - Do not skip turba table update if imp address book table does
220     not exist (it usually won't exist). [charlieb 9971]
221    
222     * Fri Aug 22 2003 Charlie Brady <charlieb@e-smith.com>
223     - [1.3.0-01]
224     - Changing version to development stream number - 1.3.0
225    
226     * Thu Jul 17 2003 Mark Knox <markk@e-smith.com>
227     - [1.2.2-01]
228     - Rolling as source to pick up missing files - again [markk 9279]
229    
230     * Wed Jul 16 2003 Charlie Brady <charlieb@e-smith.com>
231     - [1.2.1-02]
232     - Unlink sql/init symlinks before creating new ones, in case
233     symlink exists and points to the wrong place. [charlieb 9476]
234     - Replace Copyright header with License header.
235    
236     * Fri Jul 4 2003 Mark Knox <markk@e-smith.com>
237     - [1.2.1-01]
238     - Bug 9279: Repackage to include missing files from 1.1.1-05 - 1.2.1
239    
240     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
241     - [1.2.0-01]
242     - Changing version to stable stream number - 1.2.0
243    
244     * Thu Jun 5 2003 Mark Knox <markk@e-smith.com>
245     - [1.1.1-05]
246     - Fixed up indenting slightly and added two missing fields to turba_objects
247     insert statement [markk 8834]
248    
249     * Thu Jun 5 2003 Lijie Deng <lijied@e-smith.com>
250     - [1.1.1-04]
251     - Added drop imp_addr table statement [lijied 8834]
252    
253     * Fri May 30 2003 Mark Knox <markk@e-smith.com>
254     - [1.1.1-03]
255     - Added further wraps around turba db creation [markk 8581]
256    
257     * Wed May 21 2003 Mark Knox <markk@e-smith.com>
258     - [1.1.1-02]
259     - Converted mysql_upgrade_1.1_to_1.2 to perl and linked as
260     50turba_upgrade_1.1_to_1.2 [markk 8581]
261     - Added wrapper around turba db creation [markk 8581]
262    
263     * Wed Apr 23 2003 Gordon Rowell <gordonr@e-smith.com>
264     - [1.1.1-01]
265     - Include changes from Dan Brown's e-smith-turba-1.1.0-05db [gordonr 7794]
266     * Sun Apr 6 2003 Dan Brown <dan@familybrown.org>
267     - [1.1.0-05db]
268     - changed menu settings to dynamically include all installed
269     horde modules
270     - created horde-update event
271     * Wed Mar 26 2003 Dan Brown <dan@familybrown.org>
272     - [1.1.0-04db]
273     - uncommented objectclass and version lines in sources.php
274     - added comma to 'root' line in sources.php
275     * Sun Mar 23 2003 Dan Brown <dan@familybrown.org>
276     - [1.1.0-03db]
277     - commented out objectclass and version lines in sources.php
278     for local LDAP. Don't know why, but they break all sources.
279     * Sun Mar 23 2003 Dan Brown <dan@familybrown.org>
280     - [1.1.0-02db]
281     - added objectclass definition to sources.php
282     * Wed Mar 12 2003 Dan Brown <dan@familybrown.org>
283     - [1.1.0-01db]
284     - Update sources.php for compatibility with Turba 1.2
285     - Add link to mysql_upgrade_1.1_to_1.2.sql
286     - Updated Requires: line for turba to >= 1.2 [gordonr 7794]
287     - Moved symlink noted in 1.1.0-01db0 into the %build section (from %post)
288    
289     * Sat Apr 19 2003 Charlie Brady <charlieb@e-smith.com>
290     - [1.1.0-01]
291     - Roll development stream to 1.1.0
292    
293     * Tue Mar 18 2003 Lijie Deng <lijied@e-smith.com>
294     - [1.0.0-02]
295     - Deleted ./httpd/html/horde/turba/config/{conf.php, sources.php}
296     /template-{begin,end}, modified %build code [lijied 3295]
297    
298     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
299     - [1.0.0-01]
300     - Roll to maintained version number to 1.0.0
301    
302     * Wed Sep 25 2002 Charlie Brady <charlieb@e-smith.com>
303     - [0.21.3-05]
304     - Rename migrate-imap-to-turba to migrate-imp-to-turba. We had the
305     correct symlink name, but wrong filename [charlieb 4782]
306    
307     * Wed Sep 25 2002 Charlie Brady <charlieb@e-smith.com>
308     - [0.21.3-04]
309     - Always run migrate-imp-to-turba script in mysql.init after
310     install/upgrade/restore. [charlieb 4782]
311    
312     * Thu Sep 19 2002 Charlie Brady <charlieb@e-smith.com>
313     - [0.21.3-03]
314     - Add conf-turba action to bootstrap-console-save event. [charlieb 4782]
315    
316     * Fri Sep 6 2002 Charlie Brady <charlieb@e-smith.com>
317     - [0.21.3-02]
318     - Move migrate-imp-to-turba into events/actions, and set up symlink into
319     /etc/e-smith/init/sql so that mysql.init can run the script [charlieb 4782]
320     - Greatly simplify conf-turba and conf-turba-startup scripts, and
321     remove duplication between them. Leave it to mysql.init to do the
322     grunt work [charlieb 4782]
323    
324     * Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com>
325     - [0.21.3-01]
326     - Don't set deprecated InitscriptsOrder property, it's already implicit in
327     the rc7.d symlink [charlieb 4458]
328    
329     * Mon Jul 8 2002 Mark Knox <markk@e-smith.com>
330     - [0.21.2-01]
331     - Small fix to prevent migration failure when imp_addr is empty [markk 4228]
332    
333     * Wed Jun 19 2002 Mark Knox <markk@e-smith.com>
334     - [0.21.1-01]
335     - Expand turba templates even if we create a new address book [markk 3920]
336    
337     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
338     - [0.21.0-01]
339     - Changing version to development stream number to 0.21.0
340    
341     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
342     - [0.20.0-01]
343     - Changing version to maintained stream number to 0.20.0
344    
345     * Thu May 30 2002 Tony Clayton <apc@e-smith.com>
346     - [0.19.4-01]
347     - rework the conf-turba-startup script, and add a conf-turba script in the
348     email-update event in order to handle every upgrade scenario. lots of inline
349     comments. [tonyc 3751]
350    
351     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
352     - [0.19.3-01]
353     - RPM rebuild forced by cvsroot2rpm
354    
355     * Sat May 18 2002 Mark Knox <markk@e-smith.com>
356     - [0.19.2-01]
357     - Don't run the migration script (and disable it) if there's no imp_addr
358     table, or if webmail is disabled. [markk 3197]
359    
360     * Sat May 18 2002 Gordon Rowell <gordonr@e-smith.com>
361     - [0.19.1-01]
362     - Change version to match our numbering standards [gordonr 3528]
363    
364     * Fri May 17 2002 Mark Knox <markk@e-smith.com>
365     - [0.18-01]
366     - Move action to post-{install,upgrade} and detect proper db migration based
367     on event [markk 3197]
368    
369     * Fri May 17 2002 Mark Knox <markk@e-smith.com>
370     - [0.17-01]
371     - Make sure we have a link to the migration script in the rpm [markk 3197]
372    
373     * Fri May 17 2002 Mark Knox <markk@e-smith.com>
374     - [0.16-01]
375     - Be more verbose during conversion [markk 3197]
376    
377     * Fri May 17 2002 Mark Knox <markk@e-smith.com>
378     - [0.15-01]
379     - Logic error in system() fixed. Delete BASH_ENV too. [markk 3197]
380    
381     * Fri May 17 2002 Mark Knox <markk@e-smith.com>
382     - [0.14-01]
383     - Need to ensure that horde db is created (by running mysql.init) before we
384     try to add tables. [markk 3197]
385    
386     * Thu May 16 2002 Mark Knox <markk@e-smith.com>
387     - [0.13-01]
388     - Create turba tables in migrate script instead of conf action. We can't use
389     mysql.init to create them because it runs after the migrate script.
390     [markk 3197]
391    
392     * Thu May 16 2002 Mark Knox <markk@e-smith.com>
393     - [0.12-01]
394     - Change service name in migrate-imp-to-turba script as well, and don't run
395     unless the service is enabled [markk 3197]
396    
397     * Thu May 16 2002 Mark Knox <markk@e-smith.com>
398     - [0.11-01]
399     - Rename "turba" service to more accurate "migrate-imp-to-turba" [markk 3197]
400    
401     * Thu May 16 2002 Mark Knox <markk@e-smith.com>
402     - [0.10-01]
403     - Changes to support running addressbook migration as an initscript
404     [markk 3197]
405     - Removed migrate-imp-to-turba from events and moved into init.d [markk 3197]
406    
407     * Wed May 15 2002 Mark Knox <markk@e-smith.com>
408     - [0.9-01]
409     - Another try at fixing addressbook migration on upgrades: create sql fragment
410     and let mysql.init import it [markk 3197]
411    
412     * Tue May 7 2002 Mark Knox <markk@e-smith.com>
413     - [0.8-01]
414     - Fixed address book migration problem [markk 2825]
415    
416     * Tue Apr 23 2002 Mark Knox <markk@e-smith.com>
417     - [0.7-01]
418     - Removed links to 'foreign' address books (Netscape, Bigfoot, Verisign)
419     [markk 3229]
420    
421     * Fri Apr 19 2002 Mark Knox <markk@e-smith.com>
422     - [0.6-01]
423     - Added 'equals 0' test to system call in conf-turba-startup. Action was
424     failing before expading templates due to bad test logic. [markk 3197]
425    
426     * Wed Apr 10 2002 Mark Knox <markk@e-smith.com>
427     - [0.5-01]
428     - Added action to migrate address book [markk 2825]
429    
430     * Tue Apr 9 2002 Mark Knox <markk@e-smith.com>
431     - [0.4-01]
432     - Removed %preun and %post scripts [markk]
433     - Added new action conf-turba-startup to configure mysql and expand config
434     files. This is called via bootstrap-console-save. [markk]
435    
436     * Mon Apr 8 2002 Mark Knox <markk@e-smith.com>
437     - [0.3-01]
438     - rollRPM: Rolled version number to 0.3-01. Includes patches up to 0.2-03.
439     - Prepared for CVS import.
440    
441     * Mon Apr 08 2002 Mark Knox <markk@e-smith.com>
442     - [0.2-03]
443     - Renamed to e-smith-turba for import into 5.5 distribution. Obsoletes
444     equivalent dcb package. Renamed tarball and BUILD directory.
445     - Removed events directory and example action.
446    
447     * Mon Feb 11 2002 Dan Brown <dan@familybrown.org>
448     - 0.2 release 3
449     - run turba.sql script at installation using mysql.init service
450    
451     * Sun Feb 10 2002 Dan Brown <dan@familybrown.org>
452     - Release 0.2-2
453     - Broke apart template fragments for sources.php
454     - Added support for local LDAP server in sources.php
455     - Added template for conf.php
456     - Added link to IMP in top menu
457    
458     * Sun Feb 10 2002 Dan Brown <dan@familybrown.org>
459     - Initial release for Turba 1.0
460    
461     * Sat Jan 6 2001 Charlie Brady <charlieb@e-smith.com>
462     - Make dependent on e-smith-devtools
463    
464     * Sat Jun 17 2000 Charlie Brady <charlieb@e-smith.com>
465     - initial release
466    
467     %description
468     e-smith server enhancement to configure Turba 1.2 (address book
469     application for horde/IMP)
470    
471     %prep
472     %setup
473    
474     %patch0 -p1
475     %patch1 -p1
476     %patch2 -p1
477     %patch3 -p1
478     %patch4 -p1
479     %patch5 -p1
480     %patch6 -p1
481     %patch7 -p1
482     %patch8 -p1
483     %patch9 -p1
484     %patch10 -p1
485     %patch11 -p1
486 slords 1.2 %patch12 -p1
487 slords 1.1
488     %build
489     for i in bootstrap-console-save post-install post-upgrade email-update
490     do
491     mkdir root/etc/e-smith/events/$i
492     done
493     mkdir -p root/etc/rc.d/rc7.d
494     perl createlinks
495    
496    
497     %install
498     rm -rf $RPM_BUILD_ROOT
499     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
500     rm -f %{name}-%{version}-filelist
501     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
502     echo "%doc COPYING" >> %{name}-%{version}-filelist
503    
504     %clean
505     rm -rf $RPM_BUILD_ROOT
506    
507     %files -f %{name}-%{version}-filelist
508     %defattr(-,root,root)
509    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed