forked from pool/libshumate
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
This commit is contained in:
commit
f5060496f9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/libshumate.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="revision">refs/tags/1.0.0.beta</param>
|
||||
<param name="versionrewrite-pattern">(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime" />
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual"/>
|
||||
</services>
|
3
libshumate-1.0.0.beta.obscpio
Normal file
3
libshumate-1.0.0.beta.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:adec8f71ceef4c8e1435e310446b7f800cd543315c8516560663e598d3192d57
|
||||
size 817164
|
19
libshumate.changes
Normal file
19
libshumate.changes
Normal file
@ -0,0 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 06:07:18 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- 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 <bjorn.lie@gmail.com>
|
||||
|
||||
- Initial packaging for openSUSE, version 1.0.0.alpha.1
|
4
libshumate.obsinfo
Normal file
4
libshumate.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: libshumate
|
||||
version: 1.0.0.beta
|
||||
mtime: 1661887822
|
||||
commit: 290359fd6af168b3554c24298ba344eb88a2ed47
|
118
libshumate.spec
Normal file
118
libshumate.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user