commit f5060496f9fb23bd4c378dd18f81dbf28a301a23435628212a8e9c8344637fc1 Author: Dominique Leuenberger Date: Tue Sep 6 07:04:07 2022 +0000 Accepting request 1001152 from GNOME:Next New package OBS-URL: https://build.opensuse.org/request/show/1001152 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libshumate?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..99cb313 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + https://gitlab.gnome.org/GNOME/libshumate.git + git + @PARENT_TAG@+@TAG_OFFSET@ + refs/tags/1.0.0.beta + (.*)\+0 + \1 + + + + *.tar + xz + + + diff --git a/libshumate-1.0.0.beta.obscpio b/libshumate-1.0.0.beta.obscpio new file mode 100644 index 0000000..516134a --- /dev/null +++ b/libshumate-1.0.0.beta.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adec8f71ceef4c8e1435e310446b7f800cd543315c8516560663e598d3192d57 +size 817164 diff --git a/libshumate.changes b/libshumate.changes new file mode 100644 index 0000000..e09bd15 --- /dev/null +++ b/libshumate.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Thu Sep 1 06:07:18 UTC 2022 - Bjørn Lie + +- Update to version 1.0.0.beta: + + Finalized 1.0.0 API/ABI. + + Various code cleanups. + + Enabled localization support. + + Changed the URL template for map sources. +- Add pkgconfig(json-glib-1.0) and pkgconfig(libprotobuf-c) + BuildRequires, new dependencies. +- Pass vector_renderer=true, b_coverage=true and gtk_doc=true to + meson, follow what upstream uses for checkin build tests, without + the build fails.... +- Package translations in new lang sub-package. + +------------------------------------------------------------------- +Fri Jan 14 16:26:47 UTC 2022 - Bjørn Lie + +- Initial packaging for openSUSE, version 1.0.0.alpha.1 diff --git a/libshumate.obsinfo b/libshumate.obsinfo new file mode 100644 index 0000000..e898c02 --- /dev/null +++ b/libshumate.obsinfo @@ -0,0 +1,4 @@ +name: libshumate +version: 1.0.0.beta +mtime: 1661887822 +commit: 290359fd6af168b3554c24298ba344eb88a2ed47 diff --git a/libshumate.spec b/libshumate.spec new file mode 100644 index 0000000..32047ea --- /dev/null +++ b/libshumate.spec @@ -0,0 +1,118 @@ +# +# spec file for package libshumate +# +# Copyright (c) 2022 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define somajor 1 +%define sominor 0 +%define soname libshumate-%{somajor}_%{sominor}-1 + +Name: libshumate +Version: 1.0.0.beta +Release: 0 +Summary: C library providing a GtkWidget to display maps +License: LGPL-2.1-or-later +URL: https://wiki.gnome.org/Projects/libshumate +Source: %{name}-%{version}.tar.xz + +BuildRequires: gtk-doc >= 1.9 +BuildRequires: meson >= 0.53.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cairo) >= 1.4 +BuildRequires: pkgconfig(gi-docgen) >= 2021.1 +BuildRequires: pkgconfig(gio-2.0) >= 2.16.0 +BuildRequires: pkgconfig(glib-2.0) >= 2.16.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.16.0 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.3 +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libprotobuf-c) +BuildRequires: pkgconfig(libsoup-3.0) >= 3.0 +BuildRequires: pkgconfig(sqlite3) >= 1.12.0 +BuildRequires: pkgconfig(vapigen) >= 0.11.0 + +%description +libshumate is a C library providing a GtkWidget to display maps. +It supports numerous free map sources such as OpenStreetMap, +OpenCycleMap, OpenAerialMap and Maps for free. + +libshumate is named after Jessamine Shumate, an American artist, +historian, and cartographer (Wikipedia). libshumate is forked from, +and tries to follow similar principles in the API as libchamplain. + +%package -n %{soname} +Summary: Shared library for %{name} + +%description -n %{soname} +C library providing a GtkWidget to display maps. +This package contains the shared library files. + +%package -n typelib-1_0-Shumate-%{somajor}_%{sominor} +Summary: Introspection file for %{name} + +%description -n typelib-1_0-Shumate-%{somajor}_%{sominor} +C library providing a GtkWidget to display maps. +This package contains introspection file for %{name}. + +%package devel +Summary: Development files for %{name} +Requires: %{soname} = %{version} +Requires: typelib-1_0-Shumate-%{somajor}_%{sominor} = %{version} + +%description devel +C library providing a GtkWidget to display maps. +This package contains development files for %{name}. + +%lang_package + +%prep +%autosetup -p1 + +%build +%meson \ + -D libsoup3=true \ + -D vector_renderer=true \ + -D b_coverage=true \ + -D gtk_doc=true \ + %{nil} +%meson_build + +%install +%meson_install +%find_lang shumate%{somajor} %{?no_lang_C} + +%ldconfig_scriptlets -n %{soname} + +%files -n %{soname} +%license COPYING +%{_libdir}/libshumate-%{somajor}.%{sominor}.so.* + +%files -n typelib-1_0-Shumate-%{somajor}_%{sominor} +%{_libdir}/girepository-1.0/Shumate-%{somajor}.%{sominor}.typelib + +%files devel +%doc AUTHORS README.md +%{_datadir}/doc/libshumate-%{somajor}.%{sominor}/ +%{_includedir}/shumate-%{somajor}.%{sominor}/ +%{_libdir}/pkgconfig/shumate-%{somajor}.%{sominor}.pc +%{_libdir}/libshumate-%{somajor}.%{sominor}.so +%{_datadir}/gir-1.0/Shumate-%{somajor}.%{sominor}.gir +%{_datadir}/vala/vapi/shumate-%{somajor}.%{sominor}.deps +%{_datadir}/vala/vapi/shumate-%{somajor}.%{sominor}.vapi + +%files lang -f shumate%{somajor}.lang + +%changelog