pyicu/pyicu.spec

82 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: pyicu
Version: 2.8.1
Release: 1mamba
Summary: A Python extension wrapping IBM's International Components for Unicode C++ library (ICU)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ovalhub/pyicu
Source: https://pypi.debian.net/PyICU/PyICU-%{version}.tar.gz
License: OSI Approved
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n PyICU-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/PyICU-%{version}-py*.egg-info
%{python_sitearch}/PyICU-%{version}-py*.egg-info/*
%changelog
* Thu Feb 10 2022 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic version update by autodist
* Tue Jan 11 2022 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
- automatic version update by autodist
* Thu Aug 12 2021 Automatic Build System <autodist@mambasoft.it> 2.7.4-1mamba
- automatic version update by autodist
* Sat May 22 2021 Automatic Build System <autodist@mambasoft.it> 2.7.3-1mamba
- automatic version update by autodist
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 2.7.2-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
- automatic version update by autodist
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic update by autodist
* Thu Nov 23 2017 Automatic Build System <autodist@mambasoft.it> 1.9.8-1mamba
- automatic update by autodist
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 1.9.7-1mamba
- automatic update by autodist
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
- automatic update by autodist
* Sat Mar 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
- package created using the webbuild interface