2013-11-14 17:53:43 +00:00
|
|
|
Name: libtimezonemap
|
|
|
|
Version: 0.4.1
|
2013-12-02 15:01:45 +00:00
|
|
|
Release: 4%{?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
|
2013-11-26 22:25:16 +00:00
|
|
|
Patch0: 0001-Make-whitespace-and-indentation-consistent.patch
|
2013-12-02 15:01:45 +00:00
|
|
|
Patch1: 0004-Update-the-GPL-comments-with-the-new-FSF-address.patch
|
|
|
|
Patch2: 0005-Create-local-copies-of-string-properties.patch
|
|
|
|
Patch3: 0006-Moved-CcTimezoneLocation-into-its-own-file.patch
|
2013-11-26 22:25:16 +00:00
|
|
|
Patch8: 0009-Added-a-function-to-clear-the-location-set-for-a-CcT.patch
|
|
|
|
Patch9: 0010-Allow-the-timezone-highlight-to-be-manually-set-sepa.patch
|
2013-11-27 17:05:28 +00:00
|
|
|
Patch10: 0011-Added-a-glade-catalog-file.patch
|
2013-12-02 15:01:45 +00:00
|
|
|
Patch11: 0012-Merge-r36-from-lp-dshea-timezonemap-trunk.patch
|
|
|
|
Patch12: 0013-Merge-r38-from-lp-dshea-timezonemap-trunk.patch
|
|
|
|
Patch13: 0014-Merge-r39-from-lp-dshea-timezonemap-trunk.patch
|
|
|
|
Patch14: 0015-Merge-r37-from-lp-dshea-timezonemap-trunk.patch
|
|
|
|
Patch15: 0016-Add-cc-timezone-location.h-to-timezonemapincludes_HE.patch
|
|
|
|
Patch16: 0017-Set-en_name-correctly.patch
|
|
|
|
Patch17: 0018-Don-t-call-g_type_init-on-glib-2.35-it-s-deprecated.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
|
|
|
|
|
|
|
|
%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
|
|
|
|
%setup -q
|
2013-11-26 22:25:16 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
2013-11-27 17:05:28 +00:00
|
|
|
%patch10 -p1
|
2013-12-02 15:01:45 +00:00
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
|
|
|
%patch13 -p1
|
|
|
|
%patch14 -p1
|
|
|
|
%patch15 -p1
|
|
|
|
%patch16 -p1
|
|
|
|
%patch17 -p1
|
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
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING README TODO
|
|
|
|
%{_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
|
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
|