dirjud 3985442
Name:           verilator
f094e29
Version:        3.864
f094e29
Release:        1%{?dist}
dirjud 3985442
Summary:        A fast simulator for synthesizable Verilog
dirjud 3985442
License:        GPLv2
f944bfd
Group:          Applications/Engineering
dirjud 3985442
URL:            http://www.veripool.com/verilator.html
Chitlesh Goorah cdb8007
Source0:        http://www.veripool.org/ftp/%{name}-%{version}.tgz
dirjud 3985442
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
dirjud 3985442
BuildRequires:  perl, flex, bison, perl-SystemPerl-devel
dirjud 3985442
Requires:       perl-SystemPerl-devel >= 1.320
dirjud 3985442
dirjud 3985442
%description
dirjud 3985442
dirjud 3985442
Verilator is the fastest free Verilog HDL simulator. It compiles
dirjud 3985442
synthesizable Verilog, plus some PSL, SystemVerilog and Synthesis
dirjud 3985442
assertions into C++ or SystemC code. It is designed for large projects
dirjud 3985442
where fast simulation performance is of primary concern, and is
dirjud 3985442
especially well suited to create executable models of CPUs for
dirjud 3985442
embedded software design teams.
dirjud 3985442
dirjud 3985442
%prep
dirjud 3985442
%setup -q
f944bfd
dirjud 3985442
find . -name .gitignore -exec rm {} \;
dirjud 3985442
export VERILATOR_ROOT=%{_datadir}
f944bfd
%{configure} --enable-envdef --prefix=%{_prefix} --mandir=%{_mandir}
dirjud 3985442
%{__sed} -i "s|CPPFLAGSNOWALL +=|CPPFLAGSNOWALL +=%{optflags}|" \
dirjud 3985442
{src,test_c,test_regress,test_sc,test_sp,test_verilated}/Makefile_obj
dirjud 3985442
dirjud 3985442
%build
f944bfd
SYSTEMPERL_INCLUDE=%{_includedir}/perl-SystemPerl %{__make} %{?_smp_mflags}
dirjud 3985442
dirjud 3985442
dirjud 3985442
%install
dirjud 3985442
%{__rm} -rf %{buildroot}
dirjud 3985442
%{__make} DESTDIR=$RPM_BUILD_ROOT install
dirjud 3985442
dirjud 3985442
# move the examples out of the datadir so that we can later include
dirjud 3985442
# them in the doc dir
dirjud 3985442
%{__mv} %{buildroot}%{_datadir}/verilator/examples examples
dirjud 3985442
dirjud 3985442
# remove not needed build directory and bin directory
dirjud 3985442
%{__rm} -rf %{buildroot}%{_datadir}/verilator/src
dirjud 3985442
%{__rm} -rf %{buildroot}%{_bindir}/verilator_includer
dirjud 3985442
dirjud 3985442
%clean
f944bfd
%{__rm} -rf %{buildroot}
dirjud 3985442
dirjud 3985442
%files
dirjud 3985442
dirjud 3985442
%defattr(-, root, root, -)
dirjud 3985442
%doc README
dirjud 3985442
%doc COPYING Changes TODO Artistic
dirjud 3985442
%doc verilator.pdf verilator.html
dirjud 3985442
%doc examples/
dirjud 3985442
dirjud 3985442
%attr(644,-,-) %{_mandir}/man1/verilator.1.gz
dirjud 3985442
%{_datadir}/verilator
dirjud 3985442
dirjud 3985442
%{_bindir}/verilator
dirjud 3985442
%{_bindir}/verilator_bin
dirjud 3985442
%{_bindir}/verilator_bin_dbg
dirjud 3985442
%{_bindir}/verilator_profcfunc
dirjud 3985442
dirjud 3985442
dirjud 3985442
%changelog
f094e29
* Mon Sep 22 2014 Scott Tsai <scottt.tw@gmail.com> 3.864-1
f094e29
- Upstream 3.864
f094e29
01ec2f8
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.862-2
01ec2f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
01ec2f8
c03cd97
* Fri Jun 13 2014 Scott Tsai <scottt.tw@gmail.com> 3.862-1
c03cd97
- Upstream 3.862
c03cd97
7f921f7
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.845-3
7f921f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7f921f7
bbbeab3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.845-2
bbbeab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bbbeab3
Chitlesh Goorah cdb8007
* Sat Feb 16 2013  Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 3.845-1
Chitlesh Goorah cdb8007
- updated to 3.845
Chitlesh Goorah cdb8007
37f4161
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.805-6
37f4161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
37f4161
37374b3
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.805-5
37374b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
37374b3
64f5c40
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.805-4
64f5c40
- Rebuilt for c++ ABI breakage
64f5c40
7f13d9d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.805-3
7f13d9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7f13d9d
d8fb855
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.805-2
d8fb855
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d8fb855
8f2cdb6
* Sun Nov 07 2010  Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 3.805-1
1f12451
- updated to 3.805
Jesse Keating a3da36c
ab48cfe
* Sat Sep 25 2010  Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 3.804-1
ab48cfe
- updated to 3.804
ab48cfe
f944bfd
* Sun Jul 11 2010  Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 3.803-1
f944bfd
- updated to 3.803
dirjud 3985442
dirjud 3985442
* Fri Jul 24 2009 Lane Brooks <dirjud [AT] gmail DOT com> - 3.712-1
dirjud 3985442
- Updated to verilator 3.712
dirjud 3985442
dirjud 3985442
* Fri Jun 26 2009 Lane Brooks <dirjud [AT] gmail DOT com> - 3.711-1
dirjud 3985442
- Updated to verilator 3.711
dirjud 3985442
- Added Artistic file
f944bfd
- Fixed permissions on man file
dirjud 3985442
dirjud 3985442
* Tue Jun 9 2009 Lane Brooks <dirjud [AT] gmail DOT com> - 3.710-1
dirjud 3985442
- Updated to verilator 3.710
dirjud 3985442
- Removed GCC 4.3 patch (no longer necessary)
dirjud 3985442
- Added SYSTEMPERL_INCLUDE to point to perl-SystemPerl rpm install location
dirjud 3985442
dirjud 3985442
* Fri Jan 9 2009 Lane Brooks <dirjud [AT] gmail DOT com> - 3.700-1
dirjud 3985442
- Updated dependancy to newly packaged perl-SystemPerl and removed patch
dirjud 3985442
- Updated to verilator 3.700
dirjud 3985442
- Added GCC 4.3 patch
dirjud 3985442
dirjud 3985442
* Fri Jan 2 2009 Lane Brooks <dirjud [AT] gmail DOT com> - 3.681-2
dirjud 3985442
- Moved examples from data dir to doc dir
dirjud 3985442
dirjud 3985442
* Thu Jan 1 2009 Lane Brooks <dirjud [AT] gmail DOT com> - 3.681-1
dirjud 3985442
- Updated verilator 3.681
dirjud 3985442
- Removed gcc 4.3 patch as verilator 3.681 incorporates this fix
dirjud 3985442
- Removed shared object patch as it is possible to do this from Makefile
dirjud 3985442
  using environment variables
dirjud 3985442
- Further updates to the spec file per Chitlesh's feedback
dirjud 3985442
dirjud 3985442
* Sun Oct 26 2008 Lane Brooks <dirjud [AT] gmail DOT com> - 3.680-3
dirjud 3985442
- Improved spec file for Fedora integration based on initial feedback
dirjud 3985442
dirjud 3985442
* Thu Oct 23 2008 Lane Brooks <dirjud [AT] gmail DOT com> - 3.680-2
dirjud 3985442
- Added shared object generation patch
dirjud 3985442
dirjud 3985442
* Thu Oct 16 2008 Lane Brooks <dirjud [AT] gmail DOT com> - 3.680-1
dirjud 3985442
- Initial package based on SUSE packages from Guenter Dannoritzer <dannoritzer{%}web{*}de>