From 1352eada12653cbe1e104f64fb32a9c877fb95be Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 2 Mar 2007 01:30:47 +0000 Subject: [PATCH] =?UTF-8?q?=20Improved=20buildrequires=20and=20clean=20(G?= =?UTF-8?q?=C3=BCnter=20Dannoritzer)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- verilog.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/verilog.spec b/verilog.spec index 8ad0e0250..b6045c879 100644 --- a/verilog.spec +++ b/verilog.spec @@ -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 -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