|
dirjud |
3985442 |
Name: verilator
|
|
|
bddd294 |
Version: 4.028
|
|
|
bddd294 |
Release: 1%{?dist}
|
|
dirjud |
3985442 |
Summary: A fast simulator for synthesizable Verilog
|
|
|
116e862 |
License: LGPLv3 or Artistic 2.0
|
|
|
116e862 |
URL: http://www.veripool.com/%{name}.html
|
|
Chitlesh Goorah |
cdb8007 |
Source0: http://www.veripool.org/ftp/%{name}-%{version}.tgz
|
|
|
116e862 |
BuildRequires: bison
|
|
|
116e862 |
BuildRequires: coreutils
|
|
|
116e862 |
BuildRequires: findutils
|
|
|
116e862 |
BuildRequires: flex
|
|
|
116e862 |
BuildRequires: gcc
|
|
|
116e862 |
BuildRequires: gcc-c++
|
|
|
116e862 |
BuildRequires: perl-generators
|
|
|
116e862 |
BuildRequires: perl-interpreter
|
|
|
c5b7fb3 |
BuildRequires: perl(Data::Dumper)
|
|
|
b17ab76 |
BuildRequires: perl(Getopt::Long)
|
|
|
b17ab76 |
BuildRequires: perl(IO::File)
|
|
|
b17ab76 |
BuildRequires: perl(Pod::Usage)
|
|
|
b17ab76 |
BuildRequires: perl(strict)
|
|
|
b17ab76 |
BuildRequires: perl(vars)
|
|
|
116e862 |
BuildRequires: sed
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
%description
|
|
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
|
|
|
116e862 |
find . -name .gitignore -delete
|
|
dirjud |
3985442 |
export VERILATOR_ROOT=%{_datadir}
|
|
|
116e862 |
%{configure} \
|
|
|
116e862 |
--disable-ccwarn \
|
|
|
116e862 |
--enable-defenv \
|
|
|
116e862 |
--disable-longtests
|
|
|
116e862 |
# We cannot run autoreconf because upstream uses unqualifed stdlib identifiers
|
|
|
116e862 |
# that are included by autoconf-generated header files.
|
|
|
116e862 |
find -name Makefile_obj -exec sed -i \
|
|
|
116e862 |
-e 's|^\(COPT = .*\)|\1 %{optflags}|' \
|
|
|
116e862 |
-e 's|^#LDFLAGS += .*|LDFLAGS += %{__global_ldflags}|' \
|
|
|
116e862 |
{} \;
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
%build
|
|
|
f0dbb45 |
%make_build
|
|
dirjud |
3985442 |
|
|
|
430cbfd |
# disable tests due lack of SystemC
|
|
|
430cbfd |
# Skip: vlt/t_a_first_sc: Test requires SystemC
|
|
|
c5b7fb3 |
# %check
|
|
|
c5b7fb3 |
# make test
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
%install
|
|
|
f0dbb45 |
%make_install
|
|
dirjud |
3985442 |
|
|
|
39e2d19 |
# remove the copy of examples in the datadir so we could
|
|
|
39e2d19 |
# mark the copy in the source directory as "doc"
|
|
|
39e2d19 |
rm -rf %{buildroot}%{_datadir}/verilator/examples
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
# remove not needed build directory and bin directory
|
|
|
116e862 |
rm -rf %{buildroot}%{_datadir}/verilator/src
|
|
|
116e862 |
rm -rf %{buildroot}%{_bindir}/verilator_includer
|
|
dirjud |
3985442 |
|
|
|
2cc9fd7 |
# verilator installs verilator.pc under ${datadir}
|
|
|
2cc9fd7 |
# but for consistency we want it under ${libdir}
|
|
|
2cc9fd7 |
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
|
2cc9fd7 |
mv %{buildroot}%{_datadir}/pkgconfig/verilator.pc %{buildroot}%{_libdir}/pkgconfig
|
|
|
2cc9fd7 |
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
%files
|
|
|
f0dbb45 |
%license Artistic LICENSE
|
|
|
f0dbb45 |
%doc Changes README*
|
|
dirjud |
3985442 |
%doc verilator.pdf verilator.html
|
|
dirjud |
3985442 |
%doc examples/
|
|
dirjud |
3985442 |
|
|
|
116e862 |
%{_mandir}/man1/verilator.1.gz
|
|
|
2cc9fd7 |
%{_mandir}/man1/verilator_coverage.1.gz
|
|
|
f0dbb45 |
%{_mandir}/man1/verilator_gantt.1.gz
|
|
|
2cc9fd7 |
%{_mandir}/man1/verilator_profcfunc.1.gz
|
|
|
2cc9fd7 |
|
|
dirjud |
3985442 |
%{_datadir}/verilator
|
|
|
6bb7ee0 |
%{_libdir}/pkgconfig/verilator.pc
|
|
dirjud |
3985442 |
|
|
|
6bb7ee0 |
%defattr(755,root,root,-)
|
|
dirjud |
3985442 |
%{_bindir}/verilator
|
|
dirjud |
3985442 |
%{_bindir}/verilator_bin
|
|
dirjud |
3985442 |
%{_bindir}/verilator_bin_dbg
|
|
|
2cc9fd7 |
%{_bindir}/verilator_coverage
|
|
|
2cc9fd7 |
%{_bindir}/verilator_coverage_bin_dbg
|
|
|
f0dbb45 |
%{_bindir}/verilator_gantt
|
|
|
f0dbb45 |
%{_bindir}/verilator_profcfunc
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
|
|
dirjud |
3985442 |
%changelog
|
|
|
bddd294 |
* Sun Feb 16 2020 Filipe Rosset <rosset.filipe@gmail.com> - 4.028-1
|
|
|
bddd294 |
- Update to 4.028
|
|
|
bddd294 |
|
|
|
29bdb16 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.026-2
|
|
|
29bdb16 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
29bdb16 |
|
|
|
850df4e |
* Wed Jan 22 2020 Filipe Rosset <rosset.filipe@gmail.com> - 4.026-1
|
|
|
850df4e |
- Update to 4.026 fixes rhbz#1747211
|
|
|
850df4e |
|
|
|
f0dbb45 |
* Thu Aug 22 2019 Filipe Rosset <rosset.filipe@gmail.com> - 4.016-1
|
|
|
f0dbb45 |
- Updated to 4.016 fixes rhbz#1590822 rhbz#1643479 and rhbz#1700228
|
|
|
f0dbb45 |
|
|
|
0093f7a |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.922-6
|
|
|
0093f7a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
0093f7a |
|
|
|
39e2d19 |
* Fri May 03 2019 Scott Tsai scottt.tw@gmail.com - 3.922-5
|
|
|
39e2d19 |
- Remove duplicate copies of 'examples' in /usr/share/doc
|
|
|
39e2d19 |
- https://bugzilla.redhat.com/show_bug.cgi?id=1592057#c3
|
|
|
39e2d19 |
|
|
|
39e2d19 |
* Fri May 03 2019 Marcus Müller <marcus@hostalia.de> - 3.922-4
|
|
|
6bb7ee0 |
- Made %{_bindir}/verilator et al executable, fixes rhbz #1592057
|
|
|
6bb7ee0 |
|
|
|
6046570 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.922-3
|
|
|
6046570 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6046570 |
|
|
|
f1eec30 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.922-2
|
|
|
f1eec30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f1eec30 |
|
|
|
430cbfd |
* Sun Mar 18 2018 Filipe Rosset <rosset.filipe@gmail.com> - 3.922-1
|
|
|
430cbfd |
- 3.922 bump, fixes rhbz #1557720
|
|
|
430cbfd |
|
|
|
d4dd5a5 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.920-2
|
|
|
d4dd5a5 |
- Escape macros in %%changelog
|
|
|
d4dd5a5 |
|
|
|
c5b7fb3 |
* Wed Feb 07 2018 Filipe Rosset <rosset.filipe@gmail.com> - 3.920-1
|
|
|
c5b7fb3 |
- 3.920 bump
|
|
|
c5b7fb3 |
- Disabled tests until upstream fixes the issue
|
|
|
c5b7fb3 |
- Added BR to fix EPEL7 build
|
|
|
c5b7fb3 |
- Fixes rhbz #1250122 and rhbz #1494887
|
|
|
c5b7fb3 |
|
|
|
116e862 |
* Fri Sep 08 2017 Petr Pisar <ppisar@redhat.com> - 3.910-1
|
|
|
116e862 |
- 3.910 bump
|
|
|
116e862 |
- License corrected to (LGPLv3 or Artistic 2.0)
|
|
|
116e862 |
|
|
|
23c227c |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.890-6
|
|
|
23c227c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
23c227c |
|
|
|
43f5ee0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.890-5
|
|
|
43f5ee0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
43f5ee0 |
|
|
|
c4d9deb |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.890-4
|
|
|
c4d9deb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
c4d9deb |
|
|
|
f6798a8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.890-3
|
|
|
f6798a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f6798a8 |
|
|
|
6925e90 |
* Mon Nov 28 2016 Filipe Rosset <rosset.filipe@gmail.com> - 3.890-2
|
|
|
6925e90 |
- Attempt to rebuilt on rawhide due dependency problems
|
|
|
6925e90 |
|
|
|
ab4a3d9 |
* Mon Nov 28 2016 Filipe Rosset <rosset.filipe@gmail.com> - 3.890-1
|
|
|
ab4a3d9 |
- Rebuilt for new upstream version 3.890
|
|
|
ab4a3d9 |
- Spec clean up plus fixes rhbz #1087393 and rhbz #1358609
|
|
|
ab4a3d9 |
|
|
|
5f480a8 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.874-3
|
|
|
5f480a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5f480a8 |
|
|
|
4220ad2 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.874-2
|
|
|
4220ad2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4220ad2 |
|
|
|
2cc9fd7 |
* Sun Jun 07 2015 Scott Tsai <scottt.tw@gmail.com> - 3.874-1
|
|
|
2cc9fd7 |
- Upstream 3.874
|
|
|
2cc9fd7 |
|
|
|
9844b8f |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.864-2
|
|
|
9844b8f |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
9844b8f |
|
|
|
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
|
|
|
d4dd5a5 |
- Initial package based on SUSE packages from Guenter Dannoritzer <dannoritzer{%%}web{*}de>
|