File cambalache.spec of Package cambalache
#
# spec file for package cambalache
#
# Copyright (c) 2025 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.99.1
Release: 0
Summary: RAD tool for Gtk 4 & 3
License: LGPL-2.1
URL: https://gitlab.gnome.org/jpu/cambalache
Source: https://gitlab.gnome.org/jpu/cambalache/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: meson
BuildRequires: python3
BuildRequires: pkgconfig(casilda-1.0)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtksourceview-5)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: pkgconfig(webkitgtk-6.0)
BuildRequires: pkgconfig(webkit2gtk-4.1)
BuildRequires: %{python_module gobject}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest}
Requires: python3-gobject
Requires: python3-lxml
%package devel
Summary: Development files for %{name}
BuildArch: noarch
%description
%summary
%description devel
%summary
%lang_package
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%files
%license COPYING
%doc README.md
%{_bindir}/cambalache
%{_bindir}/cmb-catalog-gen
%{_libdir}/cambalache/
%{_libdir}/cmb_catalog_gen/
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/*.xml
%{_datadir}/mime/packages/*.xml
%{_datadir}/cambalache/
%{python_sitelib}/cambalache/
%{python_sitelib}/cmb_catalog_gen/
%files devel
%{_datadir}/gir-1.0/CambalachePrivate-*.gir
%{_datadir}/gir-1.0/CmbCatalogUtils-*.gir
%files lang -f %{name}.lang
%changelog