2012-10-04 17:39:57 +00:00
|
|
|
#
|
|
|
|
# spec file for package gtkwave
|
|
|
|
#
|
2023-03-11 18:06:38 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-10-04 17:39:57 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2012-11-02 16:36:33 +00:00
|
|
|
|
2020-02-24 15:25:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-10-04 17:39:57 +00:00
|
|
|
#
|
|
|
|
|
2012-11-02 16:36:33 +00:00
|
|
|
|
2012-10-04 17:39:57 +00:00
|
|
|
Name: gtkwave
|
2023-03-11 18:06:38 +00:00
|
|
|
Version: 3.3.114
|
2012-10-04 17:39:57 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Waveform viewer for Ditital Signals
|
2020-02-24 15:25:20 +00:00
|
|
|
License: GPL-2.0-or-later
|
2012-10-04 17:39:57 +00:00
|
|
|
Group: Productivity/Scientific/Electronics
|
2022-12-25 08:55:34 +00:00
|
|
|
URL: https://gtkwave.sourceforge.net/
|
|
|
|
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
2012-10-04 17:39:57 +00:00
|
|
|
BuildRequires: fdupes
|
2012-11-02 16:36:33 +00:00
|
|
|
BuildRequires: flex
|
2012-10-04 17:39:57 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gperf
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: judy-devel
|
|
|
|
BuildRequires: tcl-devel
|
|
|
|
BuildRequires: tk-devel
|
2012-11-02 16:36:33 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2012-10-04 17:39:57 +00:00
|
|
|
BuildRequires: xz-devel
|
|
|
|
BuildRequires: zlib-devel
|
2014-08-30 07:22:17 +00:00
|
|
|
Recommends: %{name}-doc
|
2012-10-04 17:39:57 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
GTKWave is a waveform viewer that can view VCD files produced by most Verilog
|
|
|
|
simulation tools, as well as LXT files produced by certain Verilog simulation
|
|
|
|
tools.
|
|
|
|
|
2014-08-30 07:22:17 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for GTKWave
|
|
|
|
Group: Documentation/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
GTKWave is a waveform viewer that can view VCD files produced by most Verilog
|
|
|
|
simulation tools, as well as LXT files produced by certain Verilog simulation
|
|
|
|
tools.
|
|
|
|
|
|
|
|
This package contains documentation for GTKWave
|
|
|
|
|
|
|
|
%package examples
|
|
|
|
Summary: Examples for GTKWave
|
|
|
|
Group: Documentation/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description examples
|
|
|
|
GTKWave is a waveform viewer that can view VCD files produced by most Verilog
|
|
|
|
simulation tools, as well as LXT files produced by certain Verilog simulation
|
|
|
|
tools.
|
|
|
|
|
|
|
|
This package contains examples for GTKWave
|
|
|
|
|
2012-10-04 17:39:57 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-mime-update \
|
|
|
|
--enable-judy
|
2022-12-25 08:55:34 +00:00
|
|
|
%make_build
|
2012-10-04 17:39:57 +00:00
|
|
|
|
|
|
|
%install
|
2014-08-30 07:22:17 +00:00
|
|
|
%make_install
|
2012-10-04 17:39:57 +00:00
|
|
|
|
|
|
|
install -D -m 644 share/icons/gnome/16x16/mimetypes/gtkwave.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/gtkwave.png
|
|
|
|
install -D -m 644 share/icons/gnome/32x32/mimetypes/gtkwave.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gtkwave.png
|
|
|
|
install -D -m 644 share/icons/gnome/48x48/mimetypes/gtkwave.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gtkwave.png
|
|
|
|
|
|
|
|
%suse_update_desktop_file -i -r %{name} Education Engineering
|
|
|
|
|
|
|
|
# non OSI compliant files [bnc#783166]
|
|
|
|
rm -r %{buildroot}%{_datadir}/%{name}/examples/des*
|
|
|
|
|
2014-08-30 07:22:17 +00:00
|
|
|
# move documentation
|
|
|
|
install -d %{buildroot}%{_docdir}/%{name}/
|
|
|
|
mv %{buildroot}%{_datadir}/%{name}/gtkwave.odt %{buildroot}%{_docdir}/%{name}/
|
|
|
|
# move examples
|
|
|
|
mv %{buildroot}%{_datadir}/%{name}/examples %{buildroot}%{_docdir}/%{name}/
|
2012-10-04 17:39:57 +00:00
|
|
|
|
2014-08-30 07:22:17 +00:00
|
|
|
%fdupes %{buildroot}/%{_datadir}/icons/
|
2012-10-04 17:39:57 +00:00
|
|
|
|
|
|
|
%files
|
2022-12-25 08:55:34 +00:00
|
|
|
%license COPYING LICENSE.TXT
|
|
|
|
%doc ChangeLog README
|
2014-08-30 07:22:17 +00:00
|
|
|
%exclude %{_docdir}/%{name}/gtkwave.odt
|
|
|
|
%exclude %{_docdir}/%{name}/examples/
|
2012-10-04 17:39:57 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man5/*
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%dir %{_datadir}/icons/gnome/
|
|
|
|
%dir %{_datadir}/icons/gnome/*x*/
|
|
|
|
%dir %{_datadir}/icons/gnome/*/mimetypes/
|
|
|
|
%{_datadir}/icons/gnome/*/mimetypes/*.png
|
|
|
|
%{_datadir}/icons/gtkwave*
|
2016-04-19 08:32:24 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
2012-10-04 17:39:57 +00:00
|
|
|
%{_datadir}/mime/packages/x-gtkwave-extension*.xml
|
|
|
|
|
2014-08-30 07:22:17 +00:00
|
|
|
%files doc
|
|
|
|
%doc %{_docdir}/%{name}/gtkwave.odt
|
|
|
|
|
|
|
|
%files examples
|
|
|
|
%doc %{_docdir}/%{name}/examples/
|
|
|
|
|
2012-10-04 17:39:57 +00:00
|
|
|
%changelog
|