netgen/scripts/netgen.spec.in

46 lines
1.3 KiB
Plaintext

Name: netgen
Version: @VERSION@
Release: 1
Summary: LVS netlist comparison tool
Group: Applications/Engineering
License: GPL
URL: http://www.opencircuitdesign.com/netgen/index.html
Source: http://www.opencircuitdesign.com/netgen/archive/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel, libXt-devel, tcl-devel, tk-devel
Requires: libX11, libXt, tcl, tk
%description
Netgen is a tool for comparing netlists, a process known as LVS. This is an
important step in the integrated circuit design flow, ensuring that the
geometry that has been laid out matches the expected circuit. Even for small
circuits, LVS can be done much faster than simulation, and provides feedback
that makes it easier to find an error than does a simulation.
%prep
%setup -q
%build
%configure \
--with-tcl=%{_libdir} \
--with-tk=%{_libdir} \
--with-tclincls=%{_includedir} \
--with-tkincls=%{_includedir} \
--with-tcllibs=%{_libdir} \
--with-tklibs=%{_libdir}
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes Copying README TO_DO VERSION
%{_bindir}/netgen
%{_libdir}/netgen/*