2009-08-10 14:46:09 +00:00
|
|
|
#
|
2011-04-21 15:38:22 +00:00
|
|
|
# spec file for package libchamplain
|
2009-08-10 14:46:09 +00:00
|
|
|
#
|
2023-01-23 18:26:33 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2009-08-10 14:46:09 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
Accepting request 662747 from GNOME:Next
- No longer build mephis support: Drop memphis-devel BuildRequires,
memphis upstream is dead and gone from the web for several years.
libchamplain upstream have disabled mephis support in git 5 years
ago, so we should not build it either. Pass --disable-memphis to
configure to be ensure we do not.
- Pkgconfigify spec, align with what configure checks for:
+ Drop clutter-devel, clutter-gtk-devel, gtk3-devel,
libsoup-devel, sqlite3-devel and vala BuildRequires.
+ Add pkgconfig, pkgconfig(cairo), pkgconfig(clutter-1.0),
pkgconfig(clutter-gtk-1.0), pkgconfig(gdk-3.0),
pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gobject-2.0), pkgconfig(gtk+-3.0),
pkgconfig(libsoup-2.4), pkgconfig(sqlite3) and
pkgconfig(vapigen) BuildRequires.
OBS-URL: https://build.opensuse.org/request/show/662747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libchamplain?expand=0&rev=92
2019-01-15 21:49:16 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-08-10 14:46:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: libchamplain
|
2023-01-23 18:26:33 +00:00
|
|
|
Version: 0.12.21
|
2011-12-21 04:47:06 +00:00
|
|
|
Release: 0
|
2009-08-10 14:46:09 +00:00
|
|
|
Summary: Library to display maps
|
2018-03-05 13:54:45 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2009-08-10 14:46:09 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
2019-10-30 16:17:25 +00:00
|
|
|
URL: https://wiki.gnome.org/Projects/libchamplain
|
|
|
|
|
Source0: https://download.gnome.org/sources/libchamplain/0.12/%{name}-%{version}.tar.xz
|
Accepting request 662747 from GNOME:Next
- No longer build mephis support: Drop memphis-devel BuildRequires,
memphis upstream is dead and gone from the web for several years.
libchamplain upstream have disabled mephis support in git 5 years
ago, so we should not build it either. Pass --disable-memphis to
configure to be ensure we do not.
- Pkgconfigify spec, align with what configure checks for:
+ Drop clutter-devel, clutter-gtk-devel, gtk3-devel,
libsoup-devel, sqlite3-devel and vala BuildRequires.
+ Add pkgconfig, pkgconfig(cairo), pkgconfig(clutter-1.0),
pkgconfig(clutter-gtk-1.0), pkgconfig(gdk-3.0),
pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gobject-2.0), pkgconfig(gtk+-3.0),
pkgconfig(libsoup-2.4), pkgconfig(sqlite3) and
pkgconfig(vapigen) BuildRequires.
OBS-URL: https://build.opensuse.org/request/show/662747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libchamplain?expand=0&rev=92
2019-01-15 21:49:16 +00:00
|
|
|
|
2009-08-10 14:46:09 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: gobject-introspection-devel
|
2013-09-19 19:25:10 +00:00
|
|
|
BuildRequires: gtk-doc
|
2019-02-25 16:38:58 +00:00
|
|
|
BuildRequires: meson
|
Accepting request 662747 from GNOME:Next
- No longer build mephis support: Drop memphis-devel BuildRequires,
memphis upstream is dead and gone from the web for several years.
libchamplain upstream have disabled mephis support in git 5 years
ago, so we should not build it either. Pass --disable-memphis to
configure to be ensure we do not.
- Pkgconfigify spec, align with what configure checks for:
+ Drop clutter-devel, clutter-gtk-devel, gtk3-devel,
libsoup-devel, sqlite3-devel and vala BuildRequires.
+ Add pkgconfig, pkgconfig(cairo), pkgconfig(clutter-1.0),
pkgconfig(clutter-gtk-1.0), pkgconfig(gdk-3.0),
pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gobject-2.0), pkgconfig(gtk+-3.0),
pkgconfig(libsoup-2.4), pkgconfig(sqlite3) and
pkgconfig(vapigen) BuildRequires.
OBS-URL: https://build.opensuse.org/request/show/662747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libchamplain?expand=0&rev=92
2019-01-15 21:49:16 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.4
|
|
|
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.12
|
|
|
|
|
BuildRequires: pkgconfig(clutter-gtk-1.0) >= 0.90
|
|
|
|
|
BuildRequires: pkgconfig(gdk-3.0) >= 2.90
|
2023-01-23 18:26:33 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.68
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.68
|
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.68
|
Accepting request 662747 from GNOME:Next
- No longer build mephis support: Drop memphis-devel BuildRequires,
memphis upstream is dead and gone from the web for several years.
libchamplain upstream have disabled mephis support in git 5 years
ago, so we should not build it either. Pass --disable-memphis to
configure to be ensure we do not.
- Pkgconfigify spec, align with what configure checks for:
+ Drop clutter-devel, clutter-gtk-devel, gtk3-devel,
libsoup-devel, sqlite3-devel and vala BuildRequires.
+ Add pkgconfig, pkgconfig(cairo), pkgconfig(clutter-1.0),
pkgconfig(clutter-gtk-1.0), pkgconfig(gdk-3.0),
pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gobject-2.0), pkgconfig(gtk+-3.0),
pkgconfig(libsoup-2.4), pkgconfig(sqlite3) and
pkgconfig(vapigen) BuildRequires.
OBS-URL: https://build.opensuse.org/request/show/662747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libchamplain?expand=0&rev=92
2019-01-15 21:49:16 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 2.90
|
2023-01-23 18:26:33 +00:00
|
|
|
BuildRequires: pkgconfig(libsoup-3.0) >= 3.0
|
Accepting request 662747 from GNOME:Next
- No longer build mephis support: Drop memphis-devel BuildRequires,
memphis upstream is dead and gone from the web for several years.
libchamplain upstream have disabled mephis support in git 5 years
ago, so we should not build it either. Pass --disable-memphis to
configure to be ensure we do not.
- Pkgconfigify spec, align with what configure checks for:
+ Drop clutter-devel, clutter-gtk-devel, gtk3-devel,
libsoup-devel, sqlite3-devel and vala BuildRequires.
+ Add pkgconfig, pkgconfig(cairo), pkgconfig(clutter-1.0),
pkgconfig(clutter-gtk-1.0), pkgconfig(gdk-3.0),
pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gobject-2.0), pkgconfig(gtk+-3.0),
pkgconfig(libsoup-2.4), pkgconfig(sqlite3) and
pkgconfig(vapigen) BuildRequires.
OBS-URL: https://build.opensuse.org/request/show/662747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libchamplain?expand=0&rev=92
2019-01-15 21:49:16 +00:00
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.0
|
|
|
|
|
BuildRequires: pkgconfig(vapigen)
|
2009-08-10 14:46:09 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libchamplain is a C library providing a ClutterActor to display maps. It
|
|
|
|
|
also provides a Gtk+ widget to display maps in Gtk+ applications.
|
|
|
|
|
|
|
|
|
|
It supports numerous free map sources such as OpenStreetMap,
|
|
|
|
|
OpenAerialMap and Maps for free.
|
|
|
|
|
|
2011-09-06 19:52:13 +00:00
|
|
|
%package -n libchamplain-0_12-0
|
2009-09-03 22:40:16 +00:00
|
|
|
Summary: Library to display maps
|
2009-08-10 14:46:09 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
|
|
2011-09-06 19:52:13 +00:00
|
|
|
%description -n libchamplain-0_12-0
|
2009-08-10 14:46:09 +00:00
|
|
|
Libchamplain is a C library providing a ClutterActor to display maps. It
|
|
|
|
|
also provides a Gtk+ widget to display maps in Gtk+ applications.
|
|
|
|
|
|
|
|
|
|
It supports numerous free map sources such as OpenStreetMap,
|
|
|
|
|
OpenAerialMap and Maps for free.
|
|
|
|
|
|
2011-12-12 15:59:04 +00:00
|
|
|
%package -n typelib-1_0-Champlain-0_12
|
2011-12-21 04:47:06 +00:00
|
|
|
Summary: Library to display maps -- Introspection bindings
|
2011-12-12 15:59:04 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Champlain-0_12
|
|
|
|
|
Libchamplain is a C library providing a ClutterActor to display maps. It
|
|
|
|
|
also provides a Gtk+ widget to display maps in Gtk+ applications.
|
|
|
|
|
|
2011-12-21 04:47:06 +00:00
|
|
|
This package provides the GObject Introspection bindings for
|
|
|
|
|
libchamplain.
|
2011-12-12 15:59:04 +00:00
|
|
|
|
2009-08-10 14:46:09 +00:00
|
|
|
%package devel
|
2009-09-03 22:40:16 +00:00
|
|
|
Summary: Library to dusplay maps - Development Files
|
2009-08-10 14:46:09 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-09-06 19:52:13 +00:00
|
|
|
Requires: libchamplain-0_12-0 = %{version}
|
2011-12-12 15:59:04 +00:00
|
|
|
Requires: typelib-1_0-Champlain-0_12 = %{version}
|
2009-08-10 14:46:09 +00:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Libchamplain is a C library providing a ClutterActor to display maps. It
|
|
|
|
|
also provides a Gtk+ widget to display maps in Gtk+ applications.
|
|
|
|
|
|
|
|
|
|
It supports numerous free map sources such as OpenStreetMap,
|
|
|
|
|
OpenAerialMap and Maps for free.
|
|
|
|
|
|
|
|
|
|
%prep
|
2018-02-02 16:32:20 +00:00
|
|
|
%autosetup -p1
|
2011-04-21 15:38:22 +00:00
|
|
|
|
2009-08-10 14:46:09 +00:00
|
|
|
%build
|
2019-02-25 16:38:58 +00:00
|
|
|
%meson \
|
|
|
|
|
-Dmemphis=false \
|
|
|
|
|
-Dintrospection=true \
|
|
|
|
|
-Dvapi=true \
|
|
|
|
|
-Dwidgetry=true \
|
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
|
-Ddemos=false \
|
Accepting request 662747 from GNOME:Next
- No longer build mephis support: Drop memphis-devel BuildRequires,
memphis upstream is dead and gone from the web for several years.
libchamplain upstream have disabled mephis support in git 5 years
ago, so we should not build it either. Pass --disable-memphis to
configure to be ensure we do not.
- Pkgconfigify spec, align with what configure checks for:
+ Drop clutter-devel, clutter-gtk-devel, gtk3-devel,
libsoup-devel, sqlite3-devel and vala BuildRequires.
+ Add pkgconfig, pkgconfig(cairo), pkgconfig(clutter-1.0),
pkgconfig(clutter-gtk-1.0), pkgconfig(gdk-3.0),
pkgconfig(gio-2.0), pkgconfig(glib-2.0),
pkgconfig(gobject-2.0), pkgconfig(gtk+-3.0),
pkgconfig(libsoup-2.4), pkgconfig(sqlite3) and
pkgconfig(vapigen) BuildRequires.
OBS-URL: https://build.opensuse.org/request/show/662747
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libchamplain?expand=0&rev=92
2019-01-15 21:49:16 +00:00
|
|
|
%{nil}
|
2019-02-25 16:38:58 +00:00
|
|
|
%meson_build
|
2009-08-10 14:46:09 +00:00
|
|
|
|
|
|
|
|
%install
|
2019-02-25 16:38:58 +00:00
|
|
|
%meson_install
|
2009-08-10 14:46:09 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}/gtk-doc
|
|
|
|
|
|
2011-09-06 19:52:13 +00:00
|
|
|
%post -n libchamplain-0_12-0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n libchamplain-0_12-0 -p /sbin/ldconfig
|
2009-08-10 14:46:09 +00:00
|
|
|
|
2011-09-06 19:52:13 +00:00
|
|
|
%files -n libchamplain-0_12-0
|
2018-03-05 13:54:45 +00:00
|
|
|
%license COPYING
|
2019-10-30 16:17:25 +00:00
|
|
|
%doc AUTHORS NEWS README.md
|
2011-09-06 19:52:13 +00:00
|
|
|
%{_libdir}/libchamplain-0.12.so.*
|
|
|
|
|
%{_libdir}/libchamplain-gtk-0.12.so.*
|
2011-12-12 15:59:04 +00:00
|
|
|
|
|
|
|
|
%files -n typelib-1_0-Champlain-0_12
|
2011-09-06 19:52:13 +00:00
|
|
|
%{_libdir}/girepository-1.0/Champlain-0.12.typelib
|
|
|
|
|
%{_libdir}/girepository-1.0/GtkChamplain-0.12.typelib
|
2009-08-10 14:46:09 +00:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/*.so
|
2011-09-06 19:52:13 +00:00
|
|
|
%{_libdir}/pkgconfig/champlain-0.12.pc
|
|
|
|
|
%{_libdir}/pkgconfig/champlain-gtk-0.12.pc
|
2019-02-25 16:38:58 +00:00
|
|
|
%{_includedir}/champlain-0.12/
|
|
|
|
|
%doc %{_datadir}/gtk-doc/html/champlain-0.12/
|
2010-08-30 10:23:02 +00:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2010-12-14 18:30:02 +00:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2011-09-06 19:52:13 +00:00
|
|
|
%{_datadir}/vala/vapi/champlain-0.12.*
|
|
|
|
|
%{_datadir}/vala/vapi/champlain-gtk-0.12.*
|
2009-08-10 14:46:09 +00:00
|
|
|
|
|
|
|
|
%changelog
|