libchamplain/libchamplain.spec

84 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

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