update code

This commit is contained in:
zhuchunyi 2019-11-06 19:40:21 +08:00
commit 9712cf3459
2 changed files with 65 additions and 0 deletions

65
libtimezonemap.spec Normal file
View File

@ -0,0 +1,65 @@
Name: libtimezonemap
Version: 0.4.5.1
Release: 5
Summary: A GTK+3 timezone map widget
License: GPLv3
URL: https://launchpad.net/timezonemap
Source0: https://github.com/dashea/timezonemap/archive/timezonemap-%{version}.tar.gz
BuildRequires: glib2-devel gnome-common gobject-introspection-devel gtk3-devel
BuildRequires: json-glib-devel librsvg2-devel libsoup-devel
%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: Header files, libraries and developer documentatio for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The package contains header files used for building applications that use %{name}.
%package_help
%prep
%autosetup -n timezonemap-%{version}
%build
./autogen.sh
%configure
%make_build
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license COPYING
%doc AUTHORS
%{_libdir}/libtimezonemap.so.*
%{_libdir}/girepository-1.0/TimezoneMap-1.0.typelib
%{_datadir}/libtimezonemap
%files devel
%defattr(-,root,root)
%{_libdir}/libtimezonemap.so
%{_libdir}/pkgconfig/timezonemap.pc
%{_includedir}/timezonemap
%{_datadir}/gir-1.0/TimezoneMap-1.0.gir
%{_datadir}/glade/catalogs/TimezoneMap.xml
%files help
%defattr(-,root,root)
%doc README TODO NEWS ChangeLog
%changelog
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.5.1-5
- Package init

BIN
timezonemap-0.4.5.1.tar.gz Normal file

Binary file not shown.