f5eea55
%global commit 6d0ab9978f036e6029858e0d1b0bdab52e3fbad7
f5eea55
%global shortcommit %(c=%{commit}; echo ${c:0:7})
f5eea55
 
Balint Cristian 0eb3ff9
Name:        iverilog
f5eea55
Version:     10
f5eea55
Release:     1%{?dist}
Balint Cristian 0eb3ff9
Summary:     Icarus Verilog is a verilog compiler and simulator
f5eea55
 
Balint Cristian 0eb3ff9
Group:       Applications/Engineering
Balint Cristian a23a87d
License:     GPLv2
4b55ccd
URL:         http://iverilog.icarus.com
f5eea55
 
f5eea55
Source0:       http://github.com/steveicarus/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
f5eea55
 
34fb06c
BuildRequires: autoconf
f5eea55
BuildRequires: zlib-devel bzip2-devel bison flex gperf gcc-c++ readline-devel
f5eea55
#Provides:      iverilog-devel = %{version}-%{release}
f5eea55
#Obsoletes:     iverilog-devel < 0.9.20100911-1
f5eea55
 
Balint Cristian 0eb3ff9
%description
Balint Cristian 0eb3ff9
Icarus Verilog is a Verilog compiler that generates a variety of
Balint Cristian 0eb3ff9
engineering formats, including simulation. It strives to be true
Balint Cristian 0eb3ff9
to the IEEE-1364 standard.
f5eea55
 
Balint Cristian 0eb3ff9
%prep
f5eea55
%setup -q -n %{name}-%{commit}
f5eea55
 
f5eea55
# Clean junks from tarball
6a8da54
find . -type f -name ".git" -exec rm '{}' \;
Balint Cristian 0eb3ff9
rm -rf `find . -type d -name "autom4te.cache" -exec echo '{}' \;`
f5eea55
 
f5eea55
 
f5eea55
%build
f5eea55
 
f5eea55
chmod +x autoconf.sh
Balint Cristian 0eb3ff9
6a8da54
f5eea55
./autoconf.sh
Balint Cristian 0eb3ff9
Balint Cristian 0eb3ff9
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
f5eea55
 
f5eea55
# Add configure to get good results
01e8905
%configure
f5eea55
 
f5eea55
# Try to build across three CPUs.
34fb06c
make %{?_smp_mflags}
f5eea55
 
Balint Cristian 0eb3ff9
%install
f5eea55
 
f5eea55
# Make a clean install
Balint Cristian 0eb3ff9
rm -rf %{buildroot}
f5eea55
 
Balint Cristian 0eb3ff9
%{__make}    prefix=%{buildroot}%{_prefix} \
Balint Cristian 0eb3ff9
             bindir=%{buildroot}%{_bindir} \
Balint Cristian 0eb3ff9
             libdir=%{buildroot}%{_libdir} \
Balint Cristian 0eb3ff9
             libdir64=%{buildroot}%{_libdir} \
Balint Cristian 0eb3ff9
             includedir=%{buildroot}%{_includedir} \
Balint Cristian 0eb3ff9
             mandir=%{buildroot}%{_mandir}  \
Balint Cristian 0eb3ff9
             vpidir=%{buildroot}%{_libdir}/ivl/ \
Balint Cristian 0eb3ff9
             INSTALL="install -p" \
Balint Cristian 0eb3ff9
install
f5eea55
 
Balint Cristian 4dc2856
%check
Balint Cristian 4dc2856
make check
f5eea55
 
Balint Cristian 0eb3ff9
%clean
f5eea55
#rm -rf %{buildroot}
f5eea55
 
Balint Cristian 0eb3ff9
%files
Balint Cristian 0eb3ff9
%defattr(-,root,root,-)
f5eea55
%doc BUGS.txt COPYING README.txt QUICK_START.txt  
f5eea55
%doc ieee1364-notes.txt mingw.txt swift.txt netlist.txt
f5eea55
%doc t-dll.txt vpi.txt cadpli/cadpli.txt
f5eea55
%doc xilinx-hint.txt examples/
f5eea55
%doc va_math.txt tgt-fpga/fpga.txt extensions.txt glossary.txt attributes.txt
Balint Cristian 0eb3ff9
%{_bindir}/*
f68245e
%{_libdir}/ivl
Balint Cristian 0eb3ff9
%{_mandir}/man1/*
f68245e
# headers for PLI: This is intended to be used by the user.
Balint Cristian 0eb3ff9
%{_includedir}/*.h
f68245e
# RHBZ 480531
f68245e
%{_libdir}/*.a
f5eea55
 
f5eea55
 
Balint Cristian 0eb3ff9
%changelog
f5eea55
* Wed Nov 11 2015 Kiara Navarro <sophiekovalevsky@fedoraproject.org> - 10-1
f5eea55
- Bump to upstream version.
f5eea55
6d665aa
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20120609-7
6d665aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6d665aa
911a840
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.20120609-6
911a840
- Rebuilt for GCC 5 C++11 ABI change
911a840
de7dfdd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20120609-5
de7dfdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
de7dfdd
5c61ac6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20120609-4
5c61ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5c61ac6
59f2704
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20120609-3
59f2704
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
59f2704
f3e50f3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20120609-2
f3e50f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f3e50f3
Chitlesh Goorah fabc625
* Wed Dec 12 2012 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20120609-1
Chitlesh Goorah fabc625
- new stable upstream release 0.9.6
Chitlesh Goorah fabc625
b519278
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20111101-4
b519278
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b519278
a4773a8
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20111101-3
a4773a8
- Rebuilt for c++ ABI breakage
a4773a8
59894b1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20111101-2
59894b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
59894b1
4b55ccd
* Tue Nov 01 2011 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20111101-1
4b55ccd
- new stable upstream release 0.9.5
4b55ccd
f4e404d
* Sat May 28 2011 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20110317-1
f4e404d
- new stable upstream release 0.9.4
f4e404d
eece69f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20100928-2
eece69f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eece69f
d2a135d
* Tue Sep 28 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20100928-1
d2a135d
- new stable upstream release
d2a135d
d2a135d
* Sat Sep 11 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20100911-1
d2a135d
- New sources for upcoming  - 0.9.3 - for testing repos only
d2a135d
- removing useless -devel subpackage
d2a135d
d055f53
* Wed Dec 30 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20091230-1
d055f53
- New stable snapshot - 0.9.2
d055f53
02f7303
* Sat Dec 12 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20091212-1
02f7303
- New development snapshot - 0.9.2 final prerelease snapshot
02f7303
34fb06c
* Sat Dec 05 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20091205-1
34fb06c
- New development snapshot - 0.9.2 prerelease snapshot
34fb06c
6a8da54
* Fri Dec 04 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20091204-1
6a8da54
- New development snapshot - 0.9.2 prerelease snapshot
6a8da54
6a8da54
* Sat Nov 28 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20091130-1
6a8da54
- New development snapshot
6a8da54
9d96d6f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20090423-6
9d96d6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9d96d6f
f68245e
* Mon Jun 13 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20090423-5
f68245e
- Improved VPI support
f68245e
01e8905
* Mon Mar 23 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 0.9.20081118-4
01e8905
- new development release
01e8905
97ea8e8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.20081118-2
97ea8e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
97ea8e8
Balint Cristian 2910f04
* Sun Dec 07 2008 Balint Cristian <rezso@rdsor.ro> 0.9.20081118-1
Balint Cristian 2910f04
- new snapshot release upstream.
Balint Cristian 2910f04
Balint Cristian 316eb59
* Fri Sep 12 2008 Balint Cristian <rezso@rdsor.ro> 0.9.20080905-1
Balint Cristian 316eb59
- new snapshot release upstream.
Balint Cristian 316eb59
Balint Cristian a23a87d
* Mon May 26 2008 Balint Cristian <rezso@rdsor.ro> 0.9.20080429-1
Balint Cristian a23a87d
- new snapshot release upstream.
Balint Cristian a23a87d
Balint Cristian 4dc2856
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> 0.9.20080314-1
Balint Cristian 4dc2856
- new snapshot release upstream.
Balint Cristian 4dc2856
- add check section for some tests
Balint Cristian 4dc2856
4434630
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.20070608-2
4434630
- Autorebuild for GCC 4.3
4434630
Balint Cristian 37cac6c
* Sun Jun 10 2007 Balint Cristian <cbalint@redhat.com> 0.9.20070608-1
Balint Cristian 37cac6c
- new snapshot release upstream.
Balint Cristian 37cac6c
Balint Cristian 8c7ba2f
* Mon Apr 23 2007 Balint Cristian <cbalint@redhat.com> 0.9.20070421-1
Balint Cristian 8c7ba2f
- new snapshot release upstream.
Balint Cristian 8c7ba2f
Balint Cristian 15f345d
* Thu Feb 27 2007 Balint Cristian <cbalint@redhat.com> 0.9.20070227-1
01e8905
- new snapshot release.
Balint Cristian 15f345d
Balint Cristian 0eb3ff9
* Thu Feb 27 2007 Balint Cristian <cbalint@redhat.com> 0.9.20070123-5
Balint Cristian 0eb3ff9
- clean junks from tarball
Balint Cristian 0eb3ff9
- exlude static library
Balint Cristian 0eb3ff9
- smp build seems fine
Balint Cristian 0eb3ff9
- use snapshot instead of cvsver macro
Balint Cristian 0eb3ff9
- follow package n-v-r from fedora standard
Balint Cristian 0eb3ff9
Balint Cristian 0eb3ff9
* Thu Feb 23 2007 Balint Cristian <cbalint@redhat.com> 20070123-4
Balint Cristian 0eb3ff9
- use cvsver macro
Balint Cristian 0eb3ff9
- move examples in main.
Balint Cristian 0eb3ff9
- more spec cleanup
Balint Cristian 0eb3ff9
Balint Cristian 0eb3ff9
* Thu Feb 23 2007 Balint Cristian <cbalint@redhat.com> 20070123-3
Balint Cristian 0eb3ff9
- buildroot coherency in spec
Balint Cristian 0eb3ff9
Balint Cristian 0eb3ff9
* Thu Feb 22 2007 Balint Cristian <cbalint@redhat.com> 20070123-2
Balint Cristian 0eb3ff9
- first build for fedora-extras
Balint Cristian 0eb3ff9
- request gnu/stubs-32.h to force working gcc in 32 bit enviroment
Balint Cristian 0eb3ff9
- fix PAGE_SIZE wich is missing on some arch
Balint Cristian 0eb3ff9
- dont use libdir macro, all library always will be 32 bit
Balint Cristian 0eb3ff9
Balint Cristian 0eb3ff9
* Thu Feb 22 2007 Balint Cristian <cbalint@redhat.com> 20070123-1
f5eea55
- initial release