/[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.2 - (hide annotations) (download)
Wed Jun 13 00:20:10 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-locale-1_2_0-24_el4_sme
Changes since 1.1: +6 -1 lines
Spanish update

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

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