Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
libgweather
libgweather.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgweather.spec of Package libgweather
# # spec file for package libgweather (Version 2.24.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libgweather BuildRequires: gconf2-devel BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: libsoup-devel License: GPL v2 or later Group: Development/Libraries/GNOME Version: 2.24.1 Release: 2 Summary: Library to get online weather information Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM libgweather-bnc428346-compress.patch bnc428346 bgo552868 vuntz@novell.com -- Compress Locations.xml files Patch0: libgweather-bnc428346-compress.patch # PATCH-FEATURE-OPENSUSE libgweather-bnc428346-bundle.patch bnc428346 vuntz@novell.com -- Support a bundle directory so that bundle-lang-gnome-* doesn't conflict with libgweather-lang. Patch1: libgweather-bnc428346-bundle.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-lang = %{version} Requires: libgweather1 = %{version} %gconf_schemas_prereq %description This is a library to download weather information from online sources. %package devel License: GPL v2 or later Summary: Library to get online weather information Group: Development/Libraries/GNOME Requires: libgweather = %{version} Requires: dbus-1-glib-devel gconf2-devel glib2-devel gnome-vfs2-devel gtk2-devel libsoup-devel # prior to version 2.21.x, gnome-applets-devel only included files # now included in libgweather-devel, so we provide/obsolete # gnome-applets-devel here. Provides: gnome-applets-devel = 2.21.4 Obsoletes: gnome-applets-devel <= 2.21.4 # gnome-applets-devel also provided and obsoleted gswitchit-devel, so # we need to do that here as well Provides: gswitchit-devel Obsoletes: gswitchit-devel %description devel This is a library to download weather information from online sources. %package -n libgweather1 License: GPL v2 or later Summary: Library to get online weather information Group: Development/Libraries/GNOME Requires: %{name} >= %{version} %description -n libgweather1 This is a library to download weather information from online sources. %lang_package %prep %setup -q %patch0 -p0 %patch1 -p1 %build autoreconf -f -i export CFLAGS="$RPM_OPT_FLAGS" %configure \ --disable-static \ --disable-schemas-install \ --enable-locations-compression make %{?jobs:-j%jobs} %install %makeinstall %find_lang libgweather # Move localized Locations.xml files to the -lang package for locationsxml in $RPM_BUILD_ROOT/%{_datadir}/libgweather/Locations.*.xml*; do lang=`echo $locationsxml | sed "s/.*Locations\.\([^\.]*\)\.xml.*/\1/"` ext=`echo $locationsxml | sed "s/.*Locations\..*\.xml\(.*\)/\1/"` echo "%lang($lang) %{_datadir}/libgweather/Locations.$lang.xml$ext" >> %{name}.lang done %def_gconf_schemas %{name} %add_gconf_schemas gweather %end_gconf_schemas cat %{name}.schemas_list > %{name}.lst %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %post -n libgweather1 -p /sbin/ldconfig %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun -n libgweather1 -p /sbin/ldconfig %files -f %{name}.lst %defattr(-,root,root) %doc AUTHORS README NEWS ChangeLog %{_datadir}/libgweather # Exclude files that we moved to the -lang package %exclude %{_datadir}/libgweather/Locations.*.xml* %files -n libgweather1 %defattr(-, root, root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/libgweather %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %files lang -f %{name}.lang %changelog * Sun Nov 30 2008 vuntz@novell.com - Add libgweather-bnc428346-bundle.patch to support shipping Locations.xml files in bundle-lang-gnome-$locale without conflicting with libgweather-lang: bundle-lang-gnome-$locale will use another directory. * Mon Nov 24 2008 vuntz@novell.com - Add libgweather-bnc428346-compress.patch to compress Locations.xml files. - Move Locations.$locales.xml data to the lang package. - This makes libgweather smaller, and libgweather-lang much bigger (especially since compressing each Location.xml files results in a compression loss in the final rpm -- it's more efficient to compress several xml files together than separately), but this makes it possible to have those files end in the bundle-lang-gnome-$locale packages. So in the end, it's a win. Fix bnc#428346. * Wed Oct 22 2008 vuntz@novell.com - Update to version 2.24.1: + Make sure the returned strings are UTF-8 + Code cleanups + Fix crash if a timezone in Locations.xml is not known + Use the proxy settings + Add weather_info_network_error() API to know the type of error when getting the weather + Mexican states of Chihuahua, Nayarit, Sinaloa, and Sonora are in Mountain Time, not Central Time + Distribute gweather.defs so python bindings are buildable + Add -lm to the build + Updated translations. * Tue Sep 23 2008 maw@suse.de - Update to version 2.24.0: + Updated translations. * Fri Sep 12 2008 maw@suse.de - Update to version 2.23.92: + Add python bindings (not enabled in this build) + Updated translations. * Wed Sep 03 2008 mboman@novell.com - Update to version 2.23.91: + Fix build with old gcc + Parse decimal degrees rather than d/m/s + Fix a regexp to not mangle the spacing around "/" in some cases + Fix various comments in Locations.xml + Drop a lot of cities that are not useful in this database + Make <coordinates> use decimal degrees rather than converting them to degrees/minutes/seconds + Fix Bangkok, Thailand + Fix typo in MMGL so it appears again + Make --with-zoneinfo-dir configure flag work + Build system fixes for Locations.xml + Add a gweather-uninstalled.pc.in file + Update translations * Thu Aug 28 2008 maw@suse.de - Update to version 2.23.6: + Use libsoup for http + Make the XML parsing more future-proof + Fixes weather information not showing up in the clock applet + Use a new Locations.xml.in parser + Add GWeatherTimezone type to represent a timezone + Add GWeatherLocation type to represent a location; it will eventually replace WeatherLocation + Add new GWeatherLocationEntry widget to select a location + Add new GWeatherTimezoneMenu widget to select a timezone + Locations.xml: * Fix spelling of Ulaanbaatar, Mongolia * Remove duplicate copy of Gadsden, Alabama, US and of other locations * Fix BOM codes for Alice Springs and Darwin, Australia * Reorganize Brazil into <state>s, with proper timezone hints * Fix South African locations to not be based on out-of-date airport names * AddŁód, Poland * Split "Serbia and Montenegro" into "Serbia" and "Montenegro" * Move various locations to the right country or continent * Mark some locations as translatable * Reorganize countries exactly according to ISO 3166 * ?Rework: > The file can be easily regenerated with some scripts > Tvery <location> node is inside a <city> node with a real city name > We should have better & more consistent data now * Add information about timezones + Updated translations. * Thu Jun 19 2008 maw@suse.de - Update to version 2.23.4: + Use the new URL for the Weather Phenomena Matrix + Updated translations. * Mon Jun 16 2008 maw@suse.de - Update to version 2.23.3: + libgweather: * Parse the localized Locations.xml if available * When parsing Locations.xml, merge a city with its location when there's only one location * Do not keep region/country/state/city without locations + Locations.xml: * Updated Russian tz-hints * Add correct tz-hint for Valparaiso, IN * Fix many tz-hints * Add script to check the tz-hints are valid * Add some documentation about the format of the file * Create per-locale XML files if asked so to improve performance * Divide Mexico locations into states * Update data for Santiago * Fix coordinates for Nefta * Added the East-Flanders region of Belgium * Complete the entries for New Zealand * Fix Louisiana spelling + Misc: * Add new --enable-all-translations-in-one-xml configure flag to keep the old behavior of building one XML file with all translations instead of creating per-locale XML files * List the right libraries requirements in gweather.pc * Fix build when LINGUAS is set * Fix build with -jX + Updated translations. * Mon Apr 14 2008 coolo@suse.de - fix also xxbit * Thu Apr 10 2008 maw@suse.de - libgweather needs to require libgweather1, not libgweather0. * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Thu Apr 10 2008 maw@suse.de - Update to version 2.22.1.1: + The API/ABI has been broken in this release, leading to a soname update and libgweather0 being renamed to libgweather1 + libgweather: * Add API to parse Locations.xml, based on the code from gnome-applets/gnome-panel * Parse country codes and timezone hints (this is what breaks API/ABI) + Locations.xml * Add country codes and timezone hints to Locations.xml * Make the file valid * Add make check rule + Misc: * Distribute Locations.xml.in and relevant translations + Updated translations. * Fri Mar 14 2008 maw@suse.de - Update to version 2.22.0: + Updated translations. * Tue Mar 04 2008 maw@suse.de - Update to version 2.21.92: + Updated translations. * Tue Jan 22 2008 maw@suse.de - The -devel subpackage provides what used to be included in gnome-applets-devel, so Provide/Obsolete that package - Since gnome-applets-devel provided and obsoleted gswitchit-devel, we now do the same in libgweather-devel. * Thu Jan 17 2008 maw@suse.de - Update to version 2.21.2: + Minor fixes with respect to 2.21.1. * Mon Jan 07 2008 federico@novell.com - First version of the libgweather package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor