SPECS: libgweather.spec - updated to 2.26.1 - mark Locations.*.xml with %la...

megabajt megabajt at pld-linux.org
Tue Apr 14 15:47:18 CEST 2009


Author: megabajt                     Date: Tue Apr 14 13:47:18 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.26.1
- mark Locations.*.xml with %lang()

---- Files affected:
SPECS:
   libgweather.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/libgweather.spec
diff -u SPECS/libgweather.spec:1.21 SPECS/libgweather.spec:1.22
--- SPECS/libgweather.spec:1.21	Fri Apr 10 12:18:32 2009
+++ SPECS/libgweather.spec	Tue Apr 14 15:47:12 2009
@@ -1,17 +1,13 @@
 # $Revision$, $Date$
-# TODO
-# - this package is huge (80MB for library!), package locations by l10n <> iso639-1 map like
-#   kde4-kdebase-runtime has done it partially
 Summary:	Library to access weather information from online services for numerous locations
 Summary(pl.UTF-8):	Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
 Name:		libgweather
-Version:	2.26.0
-Release:	2
+Version:	2.26.1
+Release:	1
 License:	GPL v2+
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.26/%{name}-%{version}.tar.bz2
-# Source0-md5:	b96016d7b35c66cf251189e9851ee252
-Source1:	l10n-iso639-1
+# Source0-md5:	382041ee8f4efeec1afde968624d34fe
 URL:		http://www.gnome.org/
 BuildRequires:	GConf2-devel >= 2.26.0
 BuildRequires:	autoconf >= 2.59
@@ -107,6 +103,9 @@
 
 %find_lang libgweather
 
+find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
+s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -125,7 +124,9 @@
 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
 %{_sysconfdir}/gconf/schemas/gweather.schemas
-%{_datadir}/libgweather
+%dir %{_datadir}/libgweather
+%{_datadir}/libgweather/Locations.xml
+%{_datadir}/libgweather/locations.dtd
 
 %files devel
 %defattr(644,root,root,755)
@@ -148,6 +149,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2009/04/14 13:47:12  megabajt
+- updated to 2.26.1
+- mark Locations.*.xml with %lang()
+
 Revision 1.21  2009/04/10 10:18:32  glen
 - todo?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libgweather.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list