package created using the webbuild interface [release 0.12.20-1mamba;Tue Feb 23 2021]

This commit is contained in:
Ercole 'ercolinux' Carpanetto 2024-01-06 03:59:49 +01:00
parent 0575c93186
commit 533dac2bdf
2 changed files with 87 additions and 0 deletions

View File

@ -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.

83
libchamplain.spec Normal file
View File

@ -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 <ercole69@gmail.com>
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 <ercole69@gmail.com> 0.12.20-1mamba
- package created using the webbuild interface