2013-11-14 17:53:43 +00:00
|
|
|
Name: libtimezonemap
|
2016-01-04 16:13:03 +00:00
|
|
|
Version: 0.4.5
|
2017-02-10 19:34:14 +00:00
|
|
|
Release: 5%{?dist}
|
2013-11-14 17:53:43 +00:00
|
|
|
Summary: Time zone map widget for Gtk+
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: GPLv3
|
|
|
|
URL: https://launchpad.net/timezonemap
|
|
|
|
Source0: http://archive.ubuntu.com/ubuntu/pool/main/libt/libtimezonemap/%{name}_%{version}.tar.gz
|
2015-05-01 17:24:40 +00:00
|
|
|
|
2016-06-29 18:56:01 +00:00
|
|
|
# Flattened versions of diff from https://github.com/dashea/timezonemap
|
|
|
|
# The .bzrignore chunks have also been removed, since the source archive
|
|
|
|
# does not contain .bzrignore.
|
|
|
|
Patch1: 0001-Allow-the-image-data-directory-to-be-overridden.patch
|
|
|
|
Patch2: 0002-Render-the-map-directly-from-the-SVG.patch
|
|
|
|
Patch3: 0003-Optimize-the-SVG.patch
|
|
|
|
Patch4: 0004-Fix-memory-leaks-in-tz.c.patch
|
|
|
|
Patch5: 0005-Fix-an-invalid-memory-access.patch
|
|
|
|
Patch6: 0006-Do-not-use-tz_location_get_utc_offset.patch
|
|
|
|
Patch7: 0007-Make-the-test-program-more-automake-y.patch
|
|
|
|
Patch8: 0008-Move-all-of-the-data-into-one-place.patch
|
|
|
|
Patch9: 0009-Remove-the-sun-specific-tzdata-path.patch
|
|
|
|
Patch10: 0010-Add-a-new-test-to-check-whether-all-zones-can-be-sel.patch
|
|
|
|
Patch11: 0011-Moved-Venezuela-to-4.patch
|
|
|
|
Patch12: 0012-Ignore-deprecation-warnings.patch
|
|
|
|
Patch13: 0013-Fix-the-calculation-of-time-zone-offsets.patch
|
|
|
|
Patch14: 0014-Fix-convert_longtitude_to_x-for-points-on-the-far-ri.patch
|
|
|
|
Patch15: 0015-Make-all-private-functions-in-tz.c-static.patch
|
|
|
|
Patch16: 0016-Drop-the-map-of-tzdata-timezones.patch
|
|
|
|
Patch17: 0017-Update-backward-to-the-version-in-tzdata-2016e.patch
|
|
|
|
Patch18: 0018-Improve-the-location-selected-when-setting-the-timez.patch
|
|
|
|
Patch19: 0019-Removed-an-extra-line-from-p10.patch
|
|
|
|
Patch20: 0020-Moved-Chile-back-an-hour.patch
|
|
|
|
Patch21: 0021-Added-a-glade-catalog-file.patch
|
|
|
|
Patch22: 0022-Fix-compiler-warnings.patch
|
|
|
|
Patch23: 0023-Do-not-run-the-checks-as-part-of-make-all.patch
|
|
|
|
Patch24: 0024-Fix-issues-with-make-distcheck.patch
|
2016-08-17 17:54:02 +00:00
|
|
|
Patch25: 0025-Bring-back-the-setting-of-TZ.patch
|
2013-11-14 17:53:43 +00:00
|
|
|
|
|
|
|
BuildRequires: glib2-devel >= 2.26
|
|
|
|
BuildRequires: gtk3-devel >= 3.1.4
|
|
|
|
BuildRequires: json-glib-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gnome-common
|
2015-05-08 13:59:22 +00:00
|
|
|
BuildRequires: libsoup-devel >= 2.42.0
|
2016-06-29 18:56:01 +00:00
|
|
|
BuildRequires: librsvg2-devel
|
|
|
|
|
|
|
|
# For applying the patches
|
|
|
|
BuildRequires: git
|
2013-11-14 17:53:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libtimezonemap is a time zone map widget for Gtk+. The widget displays a world
|
|
|
|
map with a highlighted region representing the selected time zone, and the
|
|
|
|
location can be changed by clicking on the map.
|
|
|
|
|
|
|
|
This library is a fork of the of the code from gnome-control-center's datetime
|
|
|
|
panel, which was itself a fork of Ubiquity's timezone map.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libtimezonemap is a time zone map widget for Gtk+. This package contains header
|
|
|
|
files used for building applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2016-06-29 18:56:01 +00:00
|
|
|
%autosetup -S git
|
2013-11-14 17:53:43 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
2016-06-29 18:56:01 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2013-11-14 17:53:43 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2015-01-28 21:12:59 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc README TODO
|
2013-11-14 17:53:43 +00:00
|
|
|
%{_libdir}/libtimezonemap.so.*
|
|
|
|
%{_libdir}/girepository-1.0/TimezoneMap-1.0.typelib
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libtimezonemap.so
|
|
|
|
%{_libdir}/pkgconfig/timezonemap.pc
|
|
|
|
%{_includedir}/timezonemap
|
|
|
|
%{_datadir}/gir-1.0/TimezoneMap-1.0.gir
|
2013-11-27 17:05:28 +00:00
|
|
|
%{_datadir}/glade/catalogs/TimezoneMap.xml
|
2013-11-14 17:53:43 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-02-10 19:34:14 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-08-17 17:54:02 +00:00
|
|
|
* Wed Aug 17 2016 David Shea <dshea@redhat.com> - 0.4.5-4
|
|
|
|
- Bring back the setting of $TZ (#1367647)
|
|
|
|
|
2016-06-29 18:56:01 +00:00
|
|
|
* Wed Jun 29 2016 David Shea <dshea@redhat.com> - 0.4.5-3
|
|
|
|
- Render the map directly from SVG (#1335158)
|
|
|
|
- Fix memory leaks in tz.c
|
|
|
|
- Fix an invalid memory access
|
|
|
|
- Do not modify TZ in the process environment
|
|
|
|
- Move all data files to /usr/share/libtimezonemap from .../libtimezonemap/ui
|
|
|
|
- Add extra city data so all timezone offsets are clickable
|
|
|
|
- Move Venezuela from -04:30 to -04:00
|
|
|
|
- Fix the conversion of points just west of 180 longitude
|
|
|
|
- Remove the out-of-date Olson map data
|
|
|
|
- Update the "backward" file
|
|
|
|
- Improve the location selected when setting the timezone by name (#1322648)
|
|
|
|
- Remove an extra line in the +10:00 layer
|
|
|
|
- Move Chile back an hour
|
|
|
|
|
2016-02-04 04:01:36 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-04 16:13:03 +00:00
|
|
|
* Mon Jan 4 2016 David Shea <dshea@redhat.com> - 0.4.5-1
|
|
|
|
- Update the map images
|
|
|
|
|
2015-06-17 17:26:06 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-08 13:59:22 +00:00
|
|
|
* Fri May 8 2015 David Shea <dshea@redhat.com> - 0.4.4-1
|
|
|
|
- Fixes for LP#1440157:
|
|
|
|
Port to libsoup directly for geoname results
|
|
|
|
Fix some memory leaks
|
|
|
|
Do not reuse GCancellables
|
|
|
|
- Upstream merges of SVG update and constrained location cycles
|
|
|
|
|
2015-05-01 17:24:40 +00:00
|
|
|
* Fri May 1 2015 David Shea <dshea@redhat.com> - 0.4.2-6
|
|
|
|
- Updated the time zone map images
|
|
|
|
- Updated the city data from geonames.org
|
|
|
|
- Fix a memory leak and potential crash with the locations list
|
|
|
|
- Cycle through a smaller list of map locations on repeated clicks
|
|
|
|
|
2015-01-28 21:12:59 +00:00
|
|
|
* Wed Jan 28 2015 David Shea <dshea@redhat.com> - 0.4.2-5
|
|
|
|
- Use %license for the license file
|
|
|
|
|
2014-08-17 06:19:59 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-22 17:57:07 +00:00
|
|
|
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.2-3
|
|
|
|
- Rebuilt for gobject-introspection 1.41.4
|
|
|
|
|
2014-06-07 05:41:47 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-02 15:18:12 +00:00
|
|
|
* Fri May 2 2014 David Shea <dshea@redhat.com> - 0.4.2-1
|
|
|
|
- New upstream release libtimezonemap-0.4.2
|
|
|
|
|
2013-12-02 15:01:45 +00:00
|
|
|
* Mon Dec 2 2013 David Shea <dshea@redhat.com> - 0.4.1-4
|
|
|
|
- Merge fixes from lp:timezonemap
|
|
|
|
- Add cc-timezone-location.h to timezonemapincludes_HEADERS so it gets installed (iain.lane)
|
|
|
|
- Set en_name correctly (iain.lane)
|
|
|
|
- Don't call g_type_init() on glib >= 2.35; it's deprecated (iain.lane)
|
|
|
|
|
2013-11-27 17:05:28 +00:00
|
|
|
* Wed Nov 27 2013 David Shea <dshea@redhat.com> - 0.4.1-3
|
|
|
|
- Added a glade catalog file (dshea)
|
|
|
|
|
2013-11-26 22:25:16 +00:00
|
|
|
* Tue Nov 26 2013 David Shea <dshea@redhat.com> - 0.4.1-2
|
|
|
|
- Make whitespace and indentation consistent (iain.lane@canonical.com)
|
|
|
|
- Switched to a git-formatted patch for the FSF address to make things easier
|
|
|
|
for me to track (dshea)
|
|
|
|
- Create local copies of string properties. (dshea)
|
|
|
|
- Moved CcTimezoneLocation into its own file. (dshea)
|
|
|
|
- Don't close a NULL file pointer. (dshea)
|
|
|
|
- Turn on and fix g-ir-scanner warnings. (dshea)
|
|
|
|
- Added a .bzrignore file to ignore all the files generated by the build. (dshea)
|
|
|
|
- Ignore the INSTALL file (dshea)
|
|
|
|
- Added a function to clear the location set for a CcTimezoneMap (dshea)
|
|
|
|
- Allow the timezone highlight to be manually set separately from the location. (dshea)
|
|
|
|
|
2013-11-14 17:53:43 +00:00
|
|
|
* Thu Nov 14 2013 David Shea <dshea@redhat.com> - 0.4.1-1
|
|
|
|
- Initial version
|