Projects
Eulaceura:Factory
python-xml2rfc
_service:obs_scm:python-xml2rfc.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-xml2rfc.spec of Package python-xml2rfc
%global _empty_manifest_terminate_build 0 Name: python-xml2rfc Version: 3.0.0 Release: 1 Summary: Xml2rfc generates RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies. License: BSD-3-Clause URL: https://tools.ietf.org/tools/xml2rfc/trac/ Source0: https://files.pythonhosted.org/packages/1a/6a/8fd3e8acd01518f04b33152f1bdf8d02d26d89dc01c3ba19c15ad7dbab53/xml2rfc-3.0.0.tar.gz BuildArch: noarch %global _description\ The IETF uses a specific format for the standards and other documents it\ publishes as RFCs, and for the draft documents which are produced when\ developing documents for publications. There exists a number of different\ tools to facilitate the formatting of drafts and RFCs according to the\ existing rules, and this tool, xml2rfc, is one of them. It takes as input\ an xml file which contains the text and meta-information about author names\ etc., and transforms it into suitably formatted output. The input xml file\ should follow the grammars in RFC7749 (for v2 documents) or RFC7991 (for \ v3 documents). Note that the grammar for v3 is still being refined, and \ changes will eventually be captured in the `bis draft for 7991`. \ Changes not yet captured can be seen in the xml2rfc source `v3.rng`.\ xml2rfc provides a variety of output formats. See the command line\ help for a full list of formats. It also provides conversion from v2 to\ v3, and can run the preptool on its input. %description %_description %package -n python3-xml2rfc Summary: Xml2rfc generates RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies. Provides: python-xml2rfc BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-xml2rfc %_description %package help Summary: Development documents and examples for xml2rfc Provides: python3-xml2rfc-doc %description help %_description %prep %autosetup -n xml2rfc-3.0.0 %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 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-xml2rfc -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed Sep 02 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