packages: libgweather/libgweather.spec - up to 3.0.0; merged from DEVEL - u...

kiesiu kiesiu at pld-linux.org
Tue Apr 5 12:32:50 CEST 2011


Author: kiesiu                       Date: Tue Apr  5 10:32:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.0.0; merged from DEVEL
- update BR

---- Files affected:
packages/libgweather:
   libgweather.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: packages/libgweather/libgweather.spec
diff -u packages/libgweather/libgweather.spec:1.33 packages/libgweather/libgweather.spec:1.34
--- packages/libgweather/libgweather.spec:1.33	Sun Feb 20 13:18:04 2011
+++ packages/libgweather/libgweather.spec	Tue Apr  5 12:32:45 2011
@@ -2,19 +2,21 @@
 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.30.3
-Release:	4
+Version:	3.0.0
+Release:	1
 License:	GPL v2+
 Group:		X11/Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.30/%{name}-%{version}.tar.bz2
-# Source0-md5:	bf6a0a05051341ecb250f332e3edfb88
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.0/%{name}-%{version}.tar.bz2
+# Source0-md5:	51fc5dd9bbfc321d1d03c613f1d97f35
 URL:		http://www.gnome.org/
 BuildRequires:	GConf2-devel >= 2.26.0
-BuildRequires:	autoconf >= 2.59
+BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.28.0
 BuildRequires:	gnome-common >= 2.20.0
-BuildRequires:	gtk+2-devel >= 2:2.16.0
+BuildRequires:	gobject-introspection-devel >= 0.9.5
+BuildRequires:	gtk+3-devel >= 3.0.0
 BuildRequires:	gtk-doc >= 1.9
 BuildRequires:	intltool >= 0.40.3
 BuildRequires:	libsoup-gnome-devel >= 2.26.0
@@ -42,7 +44,7 @@
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	GConf2-devel >= 2.26.0
-Requires:	gtk+2-devel >= 2:2.16.0
+Requires:	gtk+3-devel >= 3.0.0
 Requires:	libsoup-devel >= 2.26.0
 Requires:	libxml2-devel >= 1:2.6.30
 Obsoletes:	gnome-applets-devel <= 2.21.4
@@ -79,8 +81,6 @@
 
 %prep
 %setup -q
-sed -i s#^en at shaw## po/LINGUAS
-rm po/en at shaw.po
 
 %build
 %{__gtkdocize}
@@ -95,6 +95,7 @@
 	--enable-gtk-doc \
 	--with-html-dir=%{_gtkdocdir} \
 	--disable-silent-rules
+
 %{__make} -j1 -C data
 %{__make}
 
@@ -104,12 +105,13 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%find_lang libgweather
+%find_lang libgweather-3.0
 
 find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
-s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather.lang
+s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather-3.0.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -126,11 +128,11 @@
 /sbin/ldconfig
 %update_icon_cache gnome
 
-%files -f libgweather.lang
+%files -f libgweather-3.0.lang
 %defattr(644,root,root,755)
 %doc ChangeLog README
-%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
+%attr(755,root,root) %{_libdir}/libgweather-3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgweather-3.so.0
 %{_sysconfdir}/gconf/schemas/gweather.schemas
 %dir %{_datadir}/libgweather
 %{_datadir}/libgweather/Locations.xml
@@ -138,21 +140,22 @@
 %{_iconsdir}/gnome/*/status/*.png
 # XXX: gnome-icon-theme doesn't provide this directory
 %{_iconsdir}/gnome/scalable
+%{_libdir}/girepository-1.0/GWeather-3.0.typelib
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgweather.so
-%{_libdir}/libgweather.la
-%{_includedir}/libgweather
-%{_pkgconfigdir}/gweather.pc
+%attr(755,root,root) %{_libdir}/libgweather-3.so
+%{_includedir}/libgweather-3.0
+%{_pkgconfigdir}/gweather-3.0.pc
+%{_datadir}/gir-1.0/GWeather-3.0.gir
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libgweather.a
+%{_libdir}/libgweather-3.a
 
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libgweather
+%{_gtkdocdir}/libgweather-3.0
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -160,6 +163,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2011/04/05 10:32:45  kiesiu
+- up to 3.0.0; merged from DEVEL
+- update BR
+
 Revision 1.33  2011/02/20 12:18:04  megabajt
 - release 4
 
@@ -168,6 +175,23 @@
 
 Revision 1.31  2010/11/25 14:34:10  hawk
 - release 2
+
+Revision 1.30.2.5  2011/02/12 20:02:26  wiget
+- BR stable gtk+
+- kill libtool file
+
+Revision 1.30.2.4  2011/02/03 19:01:19  wiget
+- BR and R update
+
+Revision 1.30.2.3  2011/02/03 18:54:08  wiget
+- 2.91.6
+
+Revision 1.30.2.2  2010/11/06 22:16:39  megabajt
+- revised deps
+- fixed command that marks Locations.*.xml with %lang
+
+Revision 1.30.2.1  2010/11/06 19:17:17  wiget
+- 2.91.0
 
 Revision 1.30  2010/09/29 07:23:59  megabajt
 - updated to 2.30.3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libgweather/libgweather.spec?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list