File cambalache.spec of Package cambalache
#
# spec file for package cambalache
#
# Copyright (c) 2022 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: cambalache
Version: 0.17.3~git.20240315
Release: 0
Summary: Is a new RAD tool for Gtk 4 and 3 with a clear MVC design
License: LGPL-2.1-only
URL: https://gitlab.gnome.org/jpu/cambalache
Source: %{name}-%{version}.tar.xz
BuildRequires: meson >= 0.50.0
BuildRequires: zlib-devel-static
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
BuildRequires: python3-gobject-devel
BuildRequires: python3-lxml-devel >= 4.5.0
BuildRequires: typelib-1_0-WebKit2-4_1
BuildRequires: typelib-1_0-WebKit2WebExtension-4_1
BuildRequires: webkit2gtk3-devel
BuildRequires: webkit2gtk3-soup2-devel
BuildRequires: webkit2gtk4-devel
BuildRequires: gtksourceview5-devel
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(gtk4) >= 4.4.0
BuildRequires: pkgconfig(libadwaita-1) >= 1.1.2
BuildRequires: pkgconfig(libhandy-1) >= 1.6.2
%description
Cambalache is a new RAD tool for Gtk 4 and 3 with a clear MVC design and data model first philosophy.
This translates to a wide feature coverage with minimal/none developer intervention for basic support.
%package devel
Summary: Development files for %{name}
Group: System/Libraries
Requires: typelib-1_0-CambalachePrivate-3.0
Requires: typelib-1_0-CambalachePrivate-4.0
BuildArch: noarch
%description devel
Cambalache is a new RAD tool for Gtk 4 and 3 with a clear MVC design and data model first philosophy.
This translates to a wide feature coverage with minimal/none developer intervention for basic support.
%package -n typelib-1_0-CambalachePrivate-3.0
Summary: Introspection bindings for %{name}
Group: System/Libraries
%description -n typelib-1_0-CambalachePrivate-3.0
Cambalache is a new RAD tool for Gtk 4 and 3 with a clear MVC design and data model first philosophy.
This translates to a wide feature coverage with minimal/none developer intervention for basic support.
%package -n typelib-1_0-CambalachePrivate-4.0
Summary: Introspection bindings for %{name}
Group: System/Libraries
%description -n typelib-1_0-CambalachePrivate-4.0
Cambalache is a new RAD tool for Gtk 4 and 3 with a clear MVC design and data model first philosophy.
This translates to a wide feature coverage with minimal/none developer intervention for basic support.
%lang_package
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig
%files
%license COPYING COPYING.GPL
%doc README.md
%{_bindir}/%{name}
%{python_sitelib}/*
%{_datadir}/%{name}/
%{_datadir}/applications/ar.xjuan.Cambalache.desktop
%{_datadir}/glib-2.0/schemas/ar.xjuan.Cambalache.gschema.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/ar.xjuan.Cambalache.metainfo.xml
%{_datadir}/mime/packages/ar.xjuan.Cambalache.mime.xml
%{_libdir}/libcambalacheprivate-3.so
%{_libdir}/libcambalacheprivate-4.so
%files devel
%{_datadir}/gir-1.0/CambalachePrivate-3.0.gir
%{_datadir}/gir-1.0/CambalachePrivate-4.0.gir
%files -n typelib-1_0-CambalachePrivate-4.0
%{_libdir}/girepository-1.0/CambalachePrivate-4.0.typelib
%files -n typelib-1_0-CambalachePrivate-3.0
%{_libdir}/girepository-1.0/CambalachePrivate-3.0.typelib
%files lang -f %{name}.lang
%changelog