rpms/iverilog/FC-5 iverilog-pagesize.patch, NONE, 1.1 iverilog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Balint Cristian (cbalint)
fedora-extras-commits at redhat.com
Thu Mar 1 14:06:02 UTC 2007
Author: cbalint
Update of /cvs/extras/rpms/iverilog/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32333/FC-5
Modified Files:
.cvsignore sources
Added Files:
iverilog-pagesize.patch iverilog.spec
Log Message:
auto-import iverilog-0.9.20070123-5 on branch FC-5 from iverilog-0.9.20070123-5.src.rpm
iverilog-pagesize.patch:
--- NEW FILE iverilog-pagesize.patch ---
--- vvp/main.cc.orig 2007-02-08 15:17:16.000000000 +0100
+++ vvp/main.cc 2007-02-08 15:23:20.000000000 +0100
@@ -31,6 +31,11 @@
# include <string.h>
# include <unistd.h>
+#if !defined(PAGE_SIZE)
+#define PAGE_SHIFT 12
+#define PAGE_SIZE (1UL << PAGE_SHIFT)
+#endif
+
#if defined(HAVE_SYS_RESOURCE_H)
# include <sys/time.h>
# include <sys/resource.h>
--- NEW FILE iverilog.spec ---
%define snapshot 20070123
Name: iverilog
Version: 0.9.%{snapshot}
Release: 5%{?dist}
Summary: Icarus Verilog is a verilog compiler and simulator
Group: Applications/Engineering
License: GPL
URL: http://www.icarus.com/eda/verilog/index.html
Source0: ftp://icarus.com/pub/eda/verilog/snapshots/verilog-%{snapshot}.tar.gz
Patch0: %{name}-pagesize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel bzip2-devel bison flex gperf
%description
Icarus Verilog is a Verilog compiler that generates a variety of
engineering formats, including simulation. It strives to be true
to the IEEE-1364 standard.
%package devel
Summary: Icarus Verilog devel files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Icarus Verilog devel files.
%prep
%setup -q -n verilog-%{snapshot}
%patch0 -p0 -b .pagesize~
# clean junks from tarball
find . -type f -name ".cvsignore" -exec rm '{}' \;
rm -rf `find . -type d -name "autom4te.cache" -exec echo '{}' \;`
%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
%configure --disable-vvp32
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%{__make} prefix=%{buildroot}%{_prefix} \
bindir=%{buildroot}%{_bindir} \
libdir=%{buildroot}%{_libdir} \
libdir64=%{buildroot}%{_libdir} \
includedir=%{buildroot}%{_includedir} \
mandir=%{buildroot}%{_mandir} \
vpidir=%{buildroot}%{_libdir}/ivl/ \
INSTALL="install -p" \
install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING README.txt BUGS.txt QUICK_START.txt ieee1364-notes.txt
%doc swift.txt netlist.txt t-dll.txt vpi.txt xnf.txt tgt-fpga/fpga.txt
%doc cadpli/cadpli.txt xilinx-hint.txt examples/*
%{_bindir}/*
%dir %{_libdir}/ivl
%{_libdir}/ivl/*
%{_mandir}/man1/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
%exclude %{_libdir}/*.a
%changelog
* Thu Feb 27 2007 Balint Cristian <cbalint at redhat.com> 0.9.20070123-5
- clean junks from tarball
- exlude static library
- smp build seems fine
- use snapshot instead of cvsver macro
- follow package n-v-r from fedora standard
* Thu Feb 23 2007 Balint Cristian <cbalint at redhat.com> 20070123-4
- use cvsver macro
- move examples in main.
- more spec cleanup
* Thu Feb 23 2007 Balint Cristian <cbalint at redhat.com> 20070123-3
- buildroot coherency in spec
* Thu Feb 22 2007 Balint Cristian <cbalint at redhat.com> 20070123-2
- first build for fedora-extras
- request gnu/stubs-32.h to force working gcc in 32 bit enviroment
- fix PAGE_SIZE wich is missing on some arch
- dont use libdir macro, all library always will be 32 bit
* Thu Feb 22 2007 Balint Cristian <cbalint at redhat.com> 20070123-1
- initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/iverilog/FC-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Mar 2007 05:48:57 -0000 1.1
+++ .cvsignore 1 Mar 2007 14:05:29 -0000 1.2
@@ -0,0 +1 @@
+verilog-20070123.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/iverilog/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Mar 2007 05:48:57 -0000 1.1
+++ sources 1 Mar 2007 14:05:29 -0000 1.2
@@ -0,0 +1 @@
+f3431dabd9c152cfe1cbf0610a481a14 verilog-20070123.tar.gz
More information about the fedora-extras-commits
mailing list