commit 9712cf3459fd33736c1a84233c326dc7ab5833e4 Author: zhuchunyi Date: Wed Nov 6 19:40:21 2019 +0800 update code diff --git a/libtimezonemap.spec b/libtimezonemap.spec new file mode 100644 index 0000000..7ea30e6 --- /dev/null +++ b/libtimezonemap.spec @@ -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 - 0.4.5.1-5 +- Package init diff --git a/timezonemap-0.4.5.1.tar.gz b/timezonemap-0.4.5.1.tar.gz new file mode 100644 index 0000000..bf8d47b Binary files /dev/null and b/timezonemap-0.4.5.1.tar.gz differ