SPECS: webalizer.spec - simplify

glen glen at pld-linux.org
Mon Oct 16 23:24:07 CEST 2006


Author: glen                         Date: Mon Oct 16 21:24:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplify

---- Files affected:
SPECS:
   webalizer.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: SPECS/webalizer.spec
diff -u SPECS/webalizer.spec:1.82 SPECS/webalizer.spec:1.83
--- SPECS/webalizer.spec:1.82	Mon Oct 16 21:30:36 2006
+++ SPECS/webalizer.spec	Mon Oct 16 23:24:02 2006
@@ -135,10 +135,10 @@
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/webalizer
 ln -s webalizer $RPM_BUILD_ROOT%{_bindir}/webazolver
 
-for lang in $(cd po && ls -1 *.mo); do
-	dir=$(echo "$lang" | sed -e 's#\.mo##g')
-	install -d $RPM_BUILD_ROOT%{_datadir}/locale/${dir}/LC_MESSAGES
-	install po/${lang} $RPM_BUILD_ROOT%{_datadir}/locale/${dir}/LC_MESSAGES/webalizer.mo
+for mo in po/*.mo; do
+	file=${mo#po/*}
+	lang=${file%*.mo}
+	install -D $mo $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/webalizer.mo
 done
 
 %find_lang %{name}
@@ -180,6 +180,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2006/10/16 21:24:02  glen
+- simplify
+
 Revision 1.82  2006/10/16 19:30:36  glen
 - separated cron into -cron subpackage
 
@@ -312,9 +315,9 @@
 - Release 2: new doc, few cosmetic fixes; STBR
 
 Revision 1.39  2002/05/21 23:14:54  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+     s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.38  2002/05/05 17:40:36  kloczek
 - merge translations from KSI and Conectiva.
@@ -336,7 +339,7 @@
   Group field using gettext).
 
 Revision 1.33  2002/01/18 02:15:19  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.32  2001/11/03 20:23:47  areq
 - 2.01_09, STBR
@@ -352,15 +355,15 @@
 - release 4, STBR
 
 Revision 1.28  2001/07/13 16:37:24  wiget
-release 3; gd2 ready
+- release 3; gd2 ready
 
 Revision 1.27  2001/04/13 20:40:03  qboosh
 - moved /home/httpd/html/usage/* to /home/httpd/icons
-- use %%rpmcflags
+- use %rpmcflags
 - release 2
 
 Revision 1.26  2001/01/25 20:03:52  misiek
-Massive attack. We use -O0 instead -O flags while debug enabled.
+- Massive attack. We use -O0 instead -O flags while debug enabled.
 
 Revision 1.25  2000/12/28 01:04:10  kloczek
 - use new rpm automation.
@@ -384,7 +387,7 @@
 - release 2, built against libpng >= 1.0.8
 
 Revision 1.20  2000/06/09 07:24:01  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.19  2000/06/07 10:08:16  kloczek
 - spec adapterized.
@@ -393,7 +396,7 @@
 - patchlevel 12
 
 Revision 1.17  2000/04/10 08:51:17  wiget
-2.00-11
+- 2.00-11
 
 Revision 1.16  2000/04/01 11:15:56  zagrodzki
 - changed all BuildRoot definitons
@@ -405,13 +408,13 @@
 - translated kloczkish into english
 
 Revision 1.14  2000/03/23 13:05:46  wiget
-2.00-07
+- 2.00-07
 
 Revision 1.13  2000/03/08 10:19:02  wiget
-patchlevel 04
+- patchlevel 04
 
 Revision 1.12  2000/03/06 10:37:13  wiget
-2.00-03
+- 2.00-03
 
 Revision 1.11  2000/02/18 23:12:19  kloczek
 - spec adapterized and cosmetics changes.
@@ -420,7 +423,7 @@
 - update to 1.31-06
 
 Revision 1.9  1999/08/02 12:41:09  misiek
-update for gd 1.6.2
+- update for gd 1.6.2
 
 Revision 1.8  1999/07/20 12:48:11  wiget
 - switch to rpm 3.0.2
@@ -435,7 +438,3 @@
 
 Revision 1.5  1999/07/12 23:06:17  kloczek
 - added using CVS keywords in %changelog (for automating them).
-
-* Tue May 25 1999 Arkadiusz Miśkiewicz <misiek at pld.org.pl>
-  [1.22-03]
-- new version
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/webalizer.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list