2024-01-06 10:38:55 +01:00
|
|
|
Name: pyicu
|
2024-01-06 10:38:55 +01:00
|
|
|
Version: 1.9.8
|
2024-01-06 10:38:55 +01:00
|
|
|
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
|
2024-01-06 10:38:55 +01:00
|
|
|
Source: https://pypi.debian.net/PyICU/PyICU-%{version}.tar.gz
|
2024-01-06 10:38:55 +01:00
|
|
|
License: OSI Approved
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: libpython27-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%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 -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python_sitearch}/PyICU-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/PyICU-%{version}-py*.egg-info/*
|
|
|
|
%doc CREDITS LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:38:55 +01:00
|
|
|
* Thu Nov 23 2017 Automatic Build System <autodist@mambasoft.it> 1.9.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:38:55 +01:00
|
|
|
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 1.9.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:38:55 +01:00
|
|
|
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:38:55 +01:00
|
|
|
* Sat Mar 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
|
|
|
|
- package created using the webbuild interface
|