Add source code, this package needed by gnome-43.2
This commit is contained in:
parent
8f36a202c4
commit
60e079ac78
BIN
libshumate-1.0.3.tar.xz
Normal file
BIN
libshumate-1.0.3.tar.xz
Normal file
Binary file not shown.
87
libshumate.spec
Normal file
87
libshumate.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: libshumate
|
||||
Version: 1.0.3
|
||||
Release: 1
|
||||
Summary: GTK widget to display maps
|
||||
|
||||
License: LGPL-2.1-or-later AND LGPL-2.0-or-later
|
||||
URL: https://gitlab.gnome.org/GNOME/libshumate
|
||||
Source0: https://download.gnome.org/sources/libshumate/1.0/libshumate-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(gi-docgen)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libsoup-3.0)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
|
||||
%description
|
||||
libshumate is a GTK widget displaying interactive maps. Various map
|
||||
sources can be used together with the possibility to draw custom
|
||||
overlays, markers and lines on top of the maps. Bindings to other
|
||||
languages are provided using GObject Introspection.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package help
|
||||
Summary: Documentation files for %{name}
|
||||
# urlmap.js is LGPL-2.1-or-later, generated html docs are (Apache-2.0 OR
|
||||
# GPL-3.0-or-later) and misc other files are MIT
|
||||
License: LGPL-2.1-or-later AND (Apache-2.0 OR GPL-3.0-or-later) AND MIT
|
||||
BuildArch: noarch
|
||||
|
||||
%description help
|
||||
This package contains developer documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n libshumate-%{version}
|
||||
|
||||
%build
|
||||
%meson -Dlibsoup3=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang shumate1
|
||||
|
||||
%check
|
||||
%{shrink:xvfb-run -w 10 -d %meson_test}
|
||||
|
||||
%files -f shumate1.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README.md
|
||||
%dir %{_libdir}/girepository-1.0
|
||||
%{_libdir}/girepository-1.0/Shumate-1.0.typelib
|
||||
%{_libdir}/libshumate-1.0.so.1*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/shumate-1.0/
|
||||
%{_libdir}/libshumate-1.0.so
|
||||
%{_libdir}/pkgconfig/shumate-1.0.pc
|
||||
%dir %{_datadir}/gir-1.0
|
||||
%{_datadir}/gir-1.0/Shumate-1.0.gir
|
||||
%dir %{_datadir}/vala
|
||||
%dir %{_datadir}/vala/vapi
|
||||
%{_datadir}/vala/vapi/shumate-1.0.deps
|
||||
%{_datadir}/vala/vapi/shumate-1.0.vapi
|
||||
|
||||
%files help
|
||||
%license COPYING
|
||||
%{_docdir}/libshumate-1.0/
|
||||
|
||||
%changelog
|
||||
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> 1.0.3-1
|
||||
- Init Packaging
|
||||
4
libshumate.yaml
Normal file
4
libshumate.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: libshumate
|
||||
tag_prefix: ^
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user