SPECS: timeconfig.spec - use %find_lang, pass CC - missing manuals

darekr darekr at pld-linux.org
Fri Dec 23 18:56:53 CET 2005


Author: darekr                       Date: Fri Dec 23 17:56:53 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %find_lang, pass CC
- missing manuals

---- Files affected:
SPECS:
   timeconfig.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/timeconfig.spec
diff -u SPECS/timeconfig.spec:1.15 SPECS/timeconfig.spec:1.16
--- SPECS/timeconfig.spec:1.15	Sat Jun  4 15:52:18 2005
+++ SPECS/timeconfig.spec	Fri Dec 23 18:56:48 2005
@@ -34,6 +34,7 @@
 
 %build
 %{__make} \
+	CC="%{__cc}" \
 	RPM_OPT_FLAGS="%{rpmcflags}"
 
 %install
@@ -45,6 +46,8 @@
 
 mv -f $RPM_BUILD_ROOT%{_prefix}/man/* $RPM_BUILD_ROOT%{_mandir}
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -53,13 +56,13 @@
 	ln -sf `ls -ld /etc/localtime | awk '{ print $11}' | sed 's/lib/share/'` /etc/localtime
 fi
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/timeconfig
 %attr(755,root,root) %{_sbindir}/setclock
+%lang(pt_BR) %{_mandir}/pt_BR/man8/*.8*
 %{_mandir}/man8/timeconfig.8*
 %{_mandir}/man8/setclock.8*
-%{_datadir}/locale/*/LC_MESSAGES/timeconfig.mo
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +70,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/12/23 17:56:48  darekr
+- use %find_lang, pass CC
+- missing manuals
+
 Revision 1.15  2005/06/04 13:52:18  darekr
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/timeconfig.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list