python3-cangjie/python3-cangjie.spec
Mathieu Bridon b8d5e46b38 Remove unused bogus call to make
We moved upstream to meson, but somehow I had left this in. 🤦
2024-07-07 16:52:50 +02:00

50 lines
919 B
RPMSpec

%global module_name cangjie
%global forgeurl https://gitlab.freedesktop.org/cangjie/pycangjie
Name: python3-%{module_name}
Summary: Python bindings to libcangjie
Version: 1.4
Release: %{autorelease}
%forgemeta
License: LGPL-3.0-only
URL: https://gitlab.freedesktop.org/cangjie/pycangjie
Source0: %{forgesource}
BuildRequires: meson
BuildRequires: python3dist(cython)
BuildRequires: python3-devel
BuildRequires: libcangjie-devel >= 1.3.1
%description
Python bindings to libcangjie, the library implementing Cangjie and Quick
input methods.
%prep
%autosetup -n pycangjie-%{version}
%build
%meson -Db_coverage=true
%meson_build
%install
%meson_install
find %{buildroot} -name '*.la' -exec rm -f '{}' \;
%check
%meson_test
%files
%doc COPYING README.md docs/*.md
%{python3_sitearch}/%{module_name}
%changelog
%autochangelog