Merge branch 'master' of steve-icarus@icarus.com:git/verilog
[iverilog.git] / verilog.spec
blob2c29bbb105c9efe5246f7ccf12e1925ecdc50afd
1 Summary: Icarus Verilog
2 Name: verilog
3 Version: 0.9.0.20070812
4 Release: 0
5 License: GPL
6 Group: Productivity/Scientific/Electronics
7 Source: verilog-20070812.tar.gz
8 URL: http://www.icarus.com/eda/verilog/index.html
9 Packager: Stephen Williams <steve@icarus.com>
11 BuildRoot: %{_tmppath}/%{name}-%{version}-20070812-%{release}-root
13 BuildRequires: gcc-c++, zlib-devel, bison, flex, gperf, readline-devel
15 %ifarch x86_64
16 BuildRequires: bzip2-32bit, glibc-devel-32bit, glibc-32bit, zlib-devel-32bit
17 BuildRequires: termcap-32bit, readline-32bit, readline-devel-32bit
19 %if 0%{?suse_version} == 1020
20 BuildRequires: gcc-32bit, libstdc++41-devel-32bit
21 %endif
23 %endif
25 # This provides tag allows me to use a more specific name for things
26 # that actually depend on me, Icarus Verilog.
27 Provides: iverilog
29 %description
30 Icarus Verilog is a Verilog compiler that generates a variety of
31 engineering formats, including simulation. It strives to be true
32 to the IEEE-1364 standard.
34 %prep
35 %setup -n verilog-20070812
37 %build
38 %ifarch x86_64
39 ./configure --prefix=/usr --mandir='$(prefix)/share/man' libdir64='$(prefix)/lib64' vpidir1=vpi64 vpidir2=. --enable-vvp32
40 %else
41 ./configure --prefix=/usr --mandir='$(prefix)/share/man'
42 %endif
43 make CXXFLAGS=-O
45 %install
46 make prefix=$RPM_BUILD_ROOT/usr install
48 %clean
49 rm -rf $RPM_BUILD_ROOT
51 %files
53 %attr(-,root,root) %doc COPYING README.txt BUGS.txt QUICK_START.txt ieee1364-notes.txt mingw.txt swift.txt netlist.txt t-dll.txt vpi.txt xnf.txt tgt-fpga/fpga.txt cadpli/cadpli.txt xilinx-hint.txt
54 %attr(-,root,root) %doc examples/*
56 %attr(-,root,root) /usr/share/man/man1/iverilog.1.gz
57 #%attr(-,root,root) /usr/man/man1/iverilog-fpga.1.gz
58 %attr(-,root,root) /usr/share/man/man1/iverilog-vpi.1.gz
59 %attr(-,root,root) /usr/share/man/man1/vvp.1.gz
61 %attr(-,root,root) /usr/bin/iverilog
62 %attr(-,root,root) /usr/bin/iverilog-vpi
63 %attr(-,root,root) /usr/bin/vvp
64 %attr(-,root,root) /usr/lib/ivl/ivl
65 %attr(-,root,root) /usr/lib/ivl/ivlpp
66 %attr(-,root,root) /usr/lib/ivl/null.tgt
67 %attr(-,root,root) /usr/lib/ivl/null.conf
68 %attr(-,root,root) /usr/lib/ivl/null-s.conf
69 %attr(-,root,root) /usr/lib/ivl/stub.tgt
70 %attr(-,root,root) /usr/lib/ivl/stub.conf
71 %attr(-,root,root) /usr/lib/ivl/stub-s.conf
72 %attr(-,root,root) /usr/lib/ivl/vvp.tgt
73 %attr(-,root,root) /usr/lib/ivl/vvp.conf
74 %attr(-,root,root) /usr/lib/ivl/vvp-s.conf
75 #%attr(-,root,root) /usr/lib/ivl/fpga.tgt
76 #%attr(-,root,root) /usr/lib/ivl/fpga.conf
77 #%attr(-,root,root) /usr/lib/ivl/fpga-s.conf
78 #%attr(-,root,root) /usr/lib/ivl/xnf.conf
79 #%attr(-,root,root) /usr/lib/ivl/xnf-s.conf
80 %ifarch x86_64
81 %attr(-,root,root) /usr/bin/vvp32
82 %attr(-,root,root) /usr/lib/ivl/vpi64/system.vpi
83 %attr(-,root,root) /usr/lib/ivl/vpi64/cadpli.vpl
84 %attr(-,root,root) /usr/lib64/libvpi.a
85 %attr(-,root,root) /usr/lib64/libveriuser.a
86 %endif
87 %attr(-,root,root) /usr/lib/ivl/system.sft
88 %attr(-,root,root) /usr/lib/ivl/system.vpi
89 %attr(-,root,root) /usr/lib/ivl/cadpli.vpl
90 %attr(-,root,root) /usr/lib/libvpi.a
91 %attr(-,root,root) /usr/lib/libveriuser.a
92 %attr(-,root,root) /usr/include/ivl_target.h
93 %attr(-,root,root) /usr/include/vpi_user.h
94 %attr(-,root,root) /usr/include/acc_user.h
95 %attr(-,root,root) /usr/include/veriuser.h
96 %attr(-,root,root) /usr/include/_pli_types.h
98 %changelog -n verilog
99 * Sun Feb 28 2007 - steve@icarus.com
100 - Added formatting suitable for openSUSE packaging.