Improved buildrequires and clean (Günter Dannoritzer)

This commit is contained in:
steve 2007-03-02 01:30:47 +00:00
parent 243cf94165
commit 1352eada12
1 changed files with 16 additions and 3 deletions

View File

@ -4,13 +4,23 @@ Version: 0.9.0.20070227
Release: 0
License: GPL
Group: Applications/Engineering
Source: ftp://icarus.com/pub/eda/verilog//verilog-20070227.tar.gz
Source: verilog-20070227.tar.gz
URL: http://www.icarus.com/eda/verilog/index.html
Packager: Stephen Williams <steve@icarus.com>
BuildRequires: zlib-devel, bison, flex, gperf, readline-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-20070227-%{release}-root
BuildRoot: /tmp/ivl
BuildRequires: gcc-c++, zlib-devel, bison, flex, gperf, readline-devel
%ifarch x86_64
BuildRequires: bzip2-32bit, glibc-devel-32bit, glibc-32bit, zlib-devel-32bit
BuildRequires: termcap-32bit, readline-32bit, readline-devel-32bit
%if 0%{?suse_version} == 1020
BuildRequires: gcc-32bit, libstdc++41-devel-32bit
%endif
%endif
# This provides tag allows me to use a more specific name for things
# that actually depend on me, Icarus Verilog.
@ -35,6 +45,9 @@ make CXXFLAGS=-O
%install
make prefix=$RPM_BUILD_ROOT/usr install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%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