Projects
home:Eustace:branches:Eulaceura:Factory
python-roman
_service:obs_scm:python-roman.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-roman.spec of Package python-roman
%global _empty_manifest_terminate_build 0 Name: python-roman Version: 4.1 Release: 1 Summary: Integer to Roman numerals converter License: Python-2.0 URL: https://github.com/zopefoundation/roman Source0: https://files.pythonhosted.org/packages/32/0c/10c242792e9c857d5d8df19780abec0f241c8a3d9631cccbce16d0f1c769/roman-4.1.tar.gz BuildArch: noarch %description Small helper library to convert arabic to roman numerals. %package -n python3-roman Summary: Integer to Roman numerals converter Provides: python-roman = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-roman Small helper library to convert arabic to roman numerals. %package help Summary: Development documents and examples for roman Provides: python3-roman-doc %description help Small helper library to convert arabic to roman numerals. %prep %autosetup -n roman-%{version} %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-roman -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 wangjunqi <wangjunqi@kylinos.cn> - 4.1-1 - Update package to version 4.1 * Fri Mar 17 2023 wubijie <wubijie@kylinos.cn> - 4.0-1 - Update package to version 4.0 * Wed May 11 2022 yaoxin <yaoxin30@h-partners.com> - 3.3-2 - License compliance rectification * Fri Sep 04 2020 Python_Bot <Python_Bot@openeuler.org> - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2