Files
packages/anda/langs/python/uroman/uroman.spec
T
Raboneko 9719b79ef0 add: uroman (#12560) (#12682)
(cherry picked from commit aefa4c0cad)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-05-26 21:42:04 -05:00

53 lines
1.3 KiB
RPMSpec

%global pypi_name uroman
%global _desc Universal Romanizer that can convert any unicode script to roman (latin) script.
Name: python-%{pypi_name}
Version: 1.3.1.1
Release: 1%{?dist}
Summary: Universal Romanizer that can convert any unicode script to roman (latin) script
License: GPL-3.0-or-later
URL: https://github.com/isi-nlp/uroman
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-hatchling
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
rm -r %{buildroot}%{python3_sitelib}/LICENSE.txt
rm -r %{buildroot}%{python3_sitelib}/README.md
rm -r %{buildroot}%{python3_sitelib}/pyproject.toml
rm -r %{buildroot}%{python3_sitelib}/requirements.txt
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE.txt
%{_bindir}/uroman
%changelog
* Sun May 24 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit