/[smeserver]/rpms/smeserver-locale/sme7/smeserver-locale.spec
ViewVC logotype

Annotation of /rpms/smeserver-locale/sme7/smeserver-locale.spec

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


Revision 1.7 - (hide annotations) (download)
Mon Jan 7 18:49:37 2008 UTC (16 years, 4 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-locale-1_2_0-31_el4_sme
Changes since 1.6: +6 -1 lines
Updates

1 slords 1.1 Summary: SME Server localisation module
2     %define name smeserver-locale
3     Name: %{name}
4     %define version 1.2.0
5 bytegw 1.7 %define release 31
6 slords 1.1 %define package_summary SME Server localisation module
7     %define group Applications/System
8     %define package_locales de es fr it sv
9     Version: %{version}
10     Release: %{release}%{?dist}
11     License: GPL
12     Group: Networking/Daemons
13     Source: %{name}-%{version}.tar.gz
14     Patch0: smeserver-locale-1.2.0-italian_rc1.patch
15     Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch
16     Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch
17     Patch3: smeserver-locale-1.2.0-bug263-01.patch
18     Patch4: smeserver-locale-1.2.0-germanupdates.patch
19     Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch
20     Patch6: smeserver-locale-1.2.0-germanupdates1.patch
21     Patch7: smeserver-locale-1.2.0-bug1001-01.patch
22     Patch8: smeserver-locale-1.2.0-italian_rc4.patch
23     Patch9: smeserver-locale-1.2.0-initialtext.patch
24     Patch10: smeserver-locale-1.2.0-initialtext.patch2
25     Patch11: smeserver-locale-1.2.0-initialtext.patch3
26     Patch12: smeserver-locale-1.2.0-initialtext-fr.patch
27     patch13: smeserver-locale-1.2.0-novirtual.patch
28     Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch
29     Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch
30     Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch
31     Patch17: smeserver-locale-1.2.0-spanishupdates2.patch
32     Patch18: smeserver-locale-1.2.0-spanishupdates3.patch
33     Patch19: smeserver-locale-1.2.0-germanupdates2.patch
34     Patch20: smeserver-locale-1.2.0-germanupdates3.patch
35 slords 1.2 Patch21: smeserver-locale-1.2.0-spanishupdates4.patch
36 slords 1.3 Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch
37     Patch23: smeserver-locale-1.2.0-italian_standby.patch
38 slords 1.4 Patch24: smeserver-locale-1.2.0-frmenusplit.patch
39 bytegw 1.6 Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch
40     Patch27: smeserver-locale-it-1.2.0-SystemPasswordTextChange.patch
41 bytegw 1.7 Patch28: smeserver-locale-1.2.0-sshportfrde.patch
42 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
43     BuildArchitectures: noarch
44     BuildRequires: perl
45     BuildRequires: e-smith-devtools >= 1.13.1-03
46     BuildRequires: gettext
47     BuildRequires: dos2unix
48     AutoReqProv: no
49    
50     %description
51     SME Server localisation module
52    
53     %changelog
54 bytegw 1.7 * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
55     - Add SSH_PORT for fr and de [SME: 3215]
56    
57 bytegw 1.6 * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
58     - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
59    
60     * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
61     - Add missing localization again. (Thanks Federico). [SME: 3149]
62    
63 slords 1.5 * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
64     - Add missing localization (Thanks Federico). [SME: 3149]
65    
66 slords 1.4 * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27
67     - Update French clamav lexicon [SME: 3012]
68    
69 slords 1.3 * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26
70     - Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937]
71    
72     * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-25
73     - Updated backupusb console Translation. (Thanks Federico) [SME: 2937]
74    
75 slords 1.2 * Tue Jun 12 2007 Gavin Weight <gweight@gmail.com> 1.2.0-24
76     - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]
77    
78 slords 1.1 * Sat May 05 2007 Gavin Weight <gweight@gmail.com> 1.2.0-23
79     - Updated German Translations. (Thanks Dietmar ) [SME: 711]
80    
81     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
82     - Clean up spec so package can be built by koji/plague
83    
84     * Sat Apr 07 2007 Gavin Weight <gweight@gmail.com> 1.2.0-22
85     - Updated German Translations/Console. (Thanks Dietmar ) [SME: 711]
86    
87     * Fri Mar 02 2007 Gavin Weight <gweight@gmail.com> 1.2.0-21
88     - Updated Spanish Translations. (Thanks Normando) [SME: 2501]
89    
90     * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 1.2.0-20
91     - Updated Spanish Translations. (Thanks Normando) [SME: 2287]
92    
93     * Sun Feb 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-19
94     - New Swedish Translations for console. (Thanks Chrille). [SME: 911]
95    
96     * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 1.2.0-18
97     - Remove references to virtual from sv,it,fr panels [SME: 2297]
98    
99     * Tue Feb 06 2007 Gavin Weight <gweight@gmail.com> 1.2.0-17
100     - New Swedish Translations for server-manager (Thanks Chrille). [SME: 911]
101    
102     * Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.2.0-16
103     - Remove references to virtual from panels [SME: 1517]
104    
105     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
106     - Update to new release naming. No functional changes.
107     - Make Packager generic
108    
109     * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15
110     - Update French translation - Merci Franck Pierre [SME: 1659]
111    
112     * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14
113     - Change donate link to www.smeserver.org/donate/ [SME: 1668]
114    
115     * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13
116     - Change new window target to _blank rather than "new" [SME: 1613]
117    
118     * Wed Jun 28 2006 Gavin Weight <gweight@gmail.com> 1.2.0-12
119     - German and Italian text on server-manager front screen updated. [SME: 1659]
120    
121     * Tue Jun 27 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-11
122     - Updated italian translations [SME: 1119]
123    
124     * Sat Jun 10 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.2.0-10
125     - Updated French translations [SME: 1001]
126    
127     * Mon May 22 2006 Gavin Weight <gweight@gmail.com> 1.2.0-09
128     - Updated German translation. Thanks Dietmar Berteld. [SME: 1412]
129    
130     * Tue May 16 2006 Gavin Weight <gweight@gmail.com> 1.2.0-08
131     - Updated Spanish emailsettings. Thanks Ernesto Lorenz [SME: 1435]
132    
133     * Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07
134     - Bump release number only
135    
136     * Sun May 14 2006 Gavin Weight <gweight@gmail.com> 1.2.0-06sme01
137     - Updated German translations. Thanks Dietmar Berteld. [SME: 1412]
138    
139     * Sun Apr 9 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.2.0-05
140     - Updated French translations [SME: 263]
141    
142     * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-04
143     - Changed online-manual location to contribs.org in es lang. [SME: 1079]
144    
145     * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-03
146     - Changed online-manual location to contribs.org. [SME: 1079]
147    
148     * Wed Mar 22 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-02
149     - Updated italian translations [SME: 1119]
150    
151     * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01
152     - Roll stable stream version. [SME: 1016]
153    
154     * Wed Mar 16 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-12
155     - Update French translations [SME: 263]
156    
157     * Tue Feb 21 2006 Gavin Weight <gweight@gmail.com> 1.0.1-11
158     - Add loop to run dos2unix before validating lexicon files.
159    
160     * Mon Feb 20 2006 Gavin Weight <gweight@gmail.com> 1.0.1-10
161     - New German translations (Thanks Dietmar Berteld) [SME: 823]
162    
163     * Wed Feb 15 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-09
164     - Add some French translations [SME: 263]
165    
166     * Mon Feb 13 2006 Gavin Weight <gweight@gmail.com> 1.0.1-08
167     - Fixed German (de) domains panel (Thanks Philipp Walker) [SME: 672]
168    
169     * Fri Feb 3 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-07
170     - French translations [SME: 263]
171    
172     * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-06
173     - Copied English emailsettings lexicon to Spanish so the panel at
174     least works when browsing in Spanish [SME: 386]
175    
176     * Wed Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-05
177     - French console translations [SME: 181]
178    
179     * Wed Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-04
180     - French fixup for FormMagick/general [SME: 180]
181    
182     * Mon Dec 05 2005 Filippo Carletti <carletti@mobilia.it> 1.0.1-03
183     - Change some too long italian translations [SME: 273]
184    
185     * Wed Oct 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-02
186     - Change 'standby' to 'stand by' in console [SME: 66]
187    
188     * Wed Oct 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-01
189     - Roll patches up to 1.0.0-12
190     - Convert all DOS format files to Unix format to ease patching [SME: 66]
191    
192     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-12
193     - Plus encore [SF: 1265560]
194    
195     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
196     - Revise French on review panel [SF: 1293855]
197    
198     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
199     - Add defattr definition to each sub-package [SF: 1296531]
200     - Remove fr-ca to fr relocation - it can stay in e-smith-base, or
201     even get removed entirely. It's for 5.6 -> 6.0 upgrades in any case.
202    
203     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-10
204     - Add aspell-$locale as dependencies of the various locales [SF: 1296531]
205    
206     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-09
207     - Initial work on generating separate locale packages [SF: 1309520]
208     - Do we really want to generate around 80 one to seven file packages?
209     I don't think so - it may be "correct", but it's really ugly
210    
211     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-08
212     - Spec file cleanup [SF: 1309520]
213     - TODO: Generate locale packages to match base packages.
214    
215     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-07
216     - Ensure zero exit status from fr pre scriptlet [SF: 1309520]
217     - TODO: Do we need this any more - IIRC it's for 5.5 -> 6.0
218     It is also in e-smith-base, and should be removed from there
219    
220     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-06
221     - Fix up bug references in changelog (no code change) [SF: 1309520]
222    
223     * Fri Oct 14 2005 Filippo Carletti <carletti@mobilia.it> 1.0.0-05
224     - Italian updates
225    
226     * Mon Oct 3 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-04
227     - Don't generate the parent (combined) package, just the sub-packages
228     - Remove en_US/en-us files from install tree. They are just here for
229     translation convenience and to provide a comparison with the
230     relevant base packages (TODO: Decide whether to delete them) [SF: 1309520]
231    
232     * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-03
233     - Added missing po files (new tarball) [SF: 1309520]
234    
235     * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-02
236     - Fixup in Italian FormMagick/general (new tarball) [SF: 1309520]
237    
238     * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-01
239     - Repackaging of all L10Ns except en-us in one RPM. en-us L10Ns live
240     in the base packages. All languages are stored in the single source
241     RPM, but a separate binary RPM is generated per language. [SF: 1309520]
242    
243     %prep
244     %setup
245     %patch0 -p1
246     %patch1 -p1
247     %patch2 -p1
248     %patch3 -p1
249     %patch4 -p1
250     %patch5 -p1
251     %patch6 -p1
252     %patch7 -p1
253     %patch8 -p1
254     %patch9 -p1
255     %patch10 -p1
256     %patch11 -p1
257     %patch12 -p1
258     %patch13 -p1
259     %patch14 -p1
260     %patch15 -p1
261     %patch16 -p1
262     %patch17 -p1
263     %patch18 -p1
264     %patch19 -p1
265     %patch20 -p1
266 slords 1.2 %patch21 -p1
267 slords 1.3 %patch22 -p1
268     %patch23 -p1
269 slords 1.4 %patch24 -p1
270 bytegw 1.6 %patch26 -p1
271     %patch27 -p1
272 bytegw 1.7 %patch28 -p1
273 bytegw 1.6
274 slords 1.1 %post
275    
276     %build
277     LEXICONS=$((find root/etc/e-smith/locale -type f) \
278     | grep -v CVS | grep -v pleasewait)
279    
280     for file in $LEXICONS
281     do
282     /usr/bin/dos2unix $file
283     /sbin/e-smith/validate-lexicon $file
284     done
285    
286     for dir in root/etc/e-smith/locale/*
287     do
288     ln -s initial.cgi $dir/etc/e-smith/web/functions/index.cgi
289     done
290    
291     /sbin/e-smith/generate-lexicons
292    
293     %install
294     set -x
295    
296     rm -rf $RPM_BUILD_ROOT
297     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
298    
299     # These live in the base packages - copied here to ease translation
300     # and to make it easier to see when the base changes
301     rm -rf $RPM_BUILD_ROOT/usr/share/locale/en_US
302     rm -rf $RPM_BUILD_ROOT/etc/e-smith/local/en-us
303    
304     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
305     > %{name}-%{version}-%{release}-filelist
306    
307     for locale in %{package_locales}
308     do
309     echo "%defattr(-,root,root)" > \
310     %{name}-%{version}-%{release}-filelist-$locale
311    
312     grep locale/$locale %{name}-%{version}-%{release}-filelist >> \
313     %{name}-%{version}-%{release}-filelist-$locale
314     done
315    
316     # cat >/tmp/pkgmap <<HERE
317     # LPRng printers
318     # base groups|initial.cgi|localnetworks|reboot|remoteaccess|review|useraccounts|userpassword
319     # backup backup
320     # clamav clamav
321     # domains domains
322     # email emailsettings|pseudonyms
323     # formmagick FormMagick
324     # hosts hostentries
325     # ibays ibays
326     # ldap directory
327     # ntp datetime
328     # portforwarding portforwarding
329     # support online-manual|support
330     # proxy proxy
331     # qmailanalog qmailanalog
332     # quota quota
333     # samba workgroup
334     # starterwebsite starterwebsite
335     # viewlogfiles viewlogfiles
336     # yum yum
337     # HERE
338     #
339     # cat /tmp/pkgmap | while read pkg parts
340     # do
341     # for locale in %{package_locales}
342     # do
343     # egrep $parts %{name}-%{version}-%{release}-filelist-$locale \
344     # %{name}-%{version}-%{release}-filelist-$locale-$pkg
345     # done
346     # done
347    
348     %clean
349     rm -rf $RPM_BUILD_ROOT
350    
351     %package de
352     Summary: %{package_summary} - German
353     Group: %{group}
354     Requires: aspell-de
355     %description de
356     %{summary}
357     %files de -f %{name}-%{version}-%{release}-filelist-de
358    
359     %package es
360     Summary: %{package_summary} - Spanish
361     Group: %{group}
362     Requires: aspell-es
363     %description es
364     %{summary}
365     %files es -f %{name}-%{version}-%{release}-filelist-es
366    
367     %package fr
368     Summary: %{package_summary} - French
369     Group: %{group}
370     Requires: aspell-fr
371     %description fr
372     %{summary}
373     %files fr -f %{name}-%{version}-%{release}-filelist-fr
374    
375     %package it
376     Summary: %{package_summary} - Italian
377     Group: %{group}
378     Requires: aspell-it
379     %description it
380     %{summary}
381     %files it -f %{name}-%{version}-%{release}-filelist-it
382    
383     %package sv
384     Summary: %{package_summary} - Swedish
385     Group: %{group}
386     Requires: aspell-sv
387     %description sv
388     %{summary}
389     %files sv -f %{name}-%{version}-%{release}-filelist-sv

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