From 533dac2bdf52be81d66a563138efd4c539376c5c Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Sat, 6 Jan 2024 03:59:49 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.12.20-1mamba;Tue Feb 23 2021] --- README.md | 4 +++ libchamplain.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 libchamplain.spec diff --git a/README.md b/README.md index 54edcdd..5ecfbda 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libchamplain +libchamplain is a C library providing a ClutterActor to display maps. +It also provides a Gtk+ widget to display maps in Gtk+ applications. Python and Perl bindings are also available. It supports numerous free map sources such as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps for free. + + diff --git a/libchamplain.spec b/libchamplain.spec new file mode 100644 index 0000000..1546732 --- /dev/null +++ b/libchamplain.spec @@ -0,0 +1,83 @@ +Name: libchamplain +Version: 0.12.20 +Release: 1mamba +Summary: a C library providing a ClutterActor to display maps +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: https://wiki.gnome.org/Projects/libchamplain +Source: https://download.gnome.org/sources/libchamplain/0.12/libchamplain-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: clutter-gtk-devel +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libcairo-devel +BuildRequires: libclutter-devel +BuildRequires: libcogl-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +BuildRequires: libsoup-devel +BuildRequires: libsqlite-devel +## AUTOBUILDREQ-END +BuildRequires: scons +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libchamplain is a C library providing a ClutterActor to display maps. +It also provides a Gtk+ widget to display maps in Gtk+ applications. Python and Perl bindings are also available. It supports numerous free map sources such as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps for free. + + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/girepository-1.0/*.typelib +%{_libdir}/*.so +%{_libdir}/*.so.* +%{_datadir}/gir-1.0/*.gir +%{_datadir}/vala/vapi/*.deps +%{_datadir}/vala/vapi/*.vapi +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/champlain-0.12/champlain/*.h +%{_includedir}/champlain-0.12/champlain-gtk/*.h +%{_libdir}/pkgconfig/*.pc +%doc NEWS README.md + + +%changelog +* Tue Feb 23 2021 Ercole 'ercolinux' Carpanetto 0.12.20-1mamba +- package created using the webbuild interface