%global _empty_manifest_terminate_build 0 Name: python-systemrdl-compiler Version: 1.25.7 Release: 1 Summary: Parse and elaborate front-end for SystemRDL 2.0 License: MIT License URL: https://github.com/SystemRDL/systemrdl-compiler Source0: https://mirrors.nju.edu.cn/pypi/web/packages/69/49/aaa05567ddd5c4d7f3180250242e6c8fed704e031b254b6d439e3b70625c/systemrdl-compiler-1.25.7.tar.gz Requires: python3-antlr4-python3-runtime Requires: python3-colorama Requires: python3-markdown %description [![Documentation Status](https://readthedocs.org/projects/systemrdl-compiler/badge/?version=latest)](http://systemrdl-compiler.readthedocs.io) [![build](https://github.com/SystemRDL/systemrdl-compiler/workflows/build/badge.svg)](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/SystemRDL/systemrdl-compiler/badge.svg?branch=main)](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/systemrdl-compiler.svg)](https://pypi.org/project/systemrdl-compiler) # SystemRDL Compiler The `systemrdl-compiler` project implements a generic compiler front-end for Accellera's [SystemRDL 2.0](http://accellera.org/downloads/standards/systemrdl) register description language. The goal of this project is to provide a free and open compiler that lowers the barrier to entry to using an industry standard register description language. By providing an elaborated register model that is easy to traverse and query, it should be far easier to write custom register space view generators. ![overview](https://raw.githubusercontent.com/SystemRDL/systemrdl-compiler/main/docs/img/overview.svg?sanitize=true) ## Documentation See the [SystemRDL Compiler Documentation](http://systemrdl-compiler.readthedocs.io) for more details ## Related Projects If you are looking for a complete SystemRDL command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io). ## License The SystemRDL Compiler is published and distributed under the [MIT License](LICENSE). %package -n python3-systemrdl-compiler Summary: Parse and elaborate front-end for SystemRDL 2.0 Provides: python-systemrdl-compiler BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb %description -n python3-systemrdl-compiler [![Documentation Status](https://readthedocs.org/projects/systemrdl-compiler/badge/?version=latest)](http://systemrdl-compiler.readthedocs.io) [![build](https://github.com/SystemRDL/systemrdl-compiler/workflows/build/badge.svg)](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/SystemRDL/systemrdl-compiler/badge.svg?branch=main)](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/systemrdl-compiler.svg)](https://pypi.org/project/systemrdl-compiler) # SystemRDL Compiler The `systemrdl-compiler` project implements a generic compiler front-end for Accellera's [SystemRDL 2.0](http://accellera.org/downloads/standards/systemrdl) register description language. The goal of this project is to provide a free and open compiler that lowers the barrier to entry to using an industry standard register description language. By providing an elaborated register model that is easy to traverse and query, it should be far easier to write custom register space view generators. ![overview](https://raw.githubusercontent.com/SystemRDL/systemrdl-compiler/main/docs/img/overview.svg?sanitize=true) ## Documentation See the [SystemRDL Compiler Documentation](http://systemrdl-compiler.readthedocs.io) for more details ## Related Projects If you are looking for a complete SystemRDL command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io). ## License The SystemRDL Compiler is published and distributed under the [MIT License](LICENSE). %package help Summary: Development documents and examples for systemrdl-compiler Provides: python3-systemrdl-compiler-doc %description help [![Documentation Status](https://readthedocs.org/projects/systemrdl-compiler/badge/?version=latest)](http://systemrdl-compiler.readthedocs.io) [![build](https://github.com/SystemRDL/systemrdl-compiler/workflows/build/badge.svg)](https://github.com/SystemRDL/systemrdl-compiler/actions?query=workflow%3Abuild+branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/SystemRDL/systemrdl-compiler/badge.svg?branch=main)](https://coveralls.io/github/SystemRDL/systemrdl-compiler?branch=main) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/systemrdl-compiler.svg)](https://pypi.org/project/systemrdl-compiler) # SystemRDL Compiler The `systemrdl-compiler` project implements a generic compiler front-end for Accellera's [SystemRDL 2.0](http://accellera.org/downloads/standards/systemrdl) register description language. The goal of this project is to provide a free and open compiler that lowers the barrier to entry to using an industry standard register description language. By providing an elaborated register model that is easy to traverse and query, it should be far easier to write custom register space view generators. ![overview](https://raw.githubusercontent.com/SystemRDL/systemrdl-compiler/main/docs/img/overview.svg?sanitize=true) ## Documentation See the [SystemRDL Compiler Documentation](http://systemrdl-compiler.readthedocs.io) for more details ## Related Projects If you are looking for a complete SystemRDL command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io). ## License The SystemRDL Compiler is published and distributed under the [MIT License](LICENSE). %prep %autosetup -n systemrdl-compiler-1.25.7 %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-systemrdl-compiler -f filelist.lst %dir %{python3_sitearch}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 1.25.7-1 - Package Spec generated