Hi,
I maintain a MyHDL RPM package for openSUSE. Even though the build
service also provides the possibility to build for Fedora, at the moment
I don't have the time and experience to adjust the .spec file to build
for Fedora.
I am offering my .spec file here in case someone wants to base a Fedora
build on it.
Cheers,
Guenter
-------------------------------------------------------------------------
Name: python-myhdl
Version: 0.6
Release: 1
Source: myhdl-%{version}.tar.gz
License: GPL
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
Group: Development/Libraries/Python
Summary: Python module for digital logic development
Url: http://myhdl.jandecaluwe.com
Packager: Guenter Dannoritzer <dan...@we...>
%{py_requires}
%description
MyHDL is an open source Python package that lets you go from Python to
silicon.
With MyHDL, you can use Python as a hardware description and
verification language.
Furthermore, you can convert implementation-oriented MyHDL code to Verilog
automatically, and take it to a silicon implementation from there.
Authors:
--------
Jan Decaluwe <ja...@ja...>
%prep
%setup -n myhdl-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
--record-rpm=INSTALLED_FILES
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES.txt LICENSE.txt PKG-INFO README.txt
%doc example
%doc cosimulation
%changelog -n python-myhdl
* Fri Jan 09 2009 - dan...@we... - 0.6
- update to 0.6
* Mon Feb 05 2007 - dan...@we...
- initial package
|