File gtkwave.spec of Package gtkwave

%define Name gtkwave
%define Version 3.3.110

Name        	: %{Name}
Version     	: %{Version}
Release     	: c4m.1.<CI_CNT>.<B_CNT>

Summary     	: Waveform Viewer
Group       	: Applications/Engineering
License   	: GPLv2+
URL         	: http://gtkwave.sourceforge.net/

Source0		: %{Name}-%{Version}.tar.gz
BuildRequires   : gdb
BuildRequires   : flex, bison
BuildRequires	: tcl-devel, tk-devel
BuildRequires	: gtk3-devel
BuildRequires   : xz-devel, bzip2-devel, zlib-devel
BuildRequires   : gperf
BuildRoot	: %{_tmppath}/%{name}-%{version}-build

%description
GTKWave is a fully featured GTK+ based wave viewer for Unix and Win32 which
reads LXT, LXT2, VZT, FST, and GHW files as well as standard Verilog VCD/EVCD
files and allows their viewing.


%prep
%setup -q -n %{Name}-%{Version}


%build
cd gtkwave3-gtk3
%configure --enable-gtk3
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
cd gtkwave3-gtk3
%make_install


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/*
openSUSE Build Service is sponsored by