1 # TODO: simarama, FsdbReader support? (BR proprietary libs?)
4 %bcond_without gconf # GConf usage for preferences
6 Summary: The GTKWave - electronic waveform viewer
7 Summary(pl.UTF-8): GTKWave - przeglądarka przebiegów elektronicznych
12 Group: Applications/Printing
13 Source0: http://gtkwave.sourceforge.net/%{name}-%{version}.tar.gz
14 # Source0-md5: 48b512df622302dcc39f9f1dd109aa70
15 URL: http://gtkwave.sourceforge.net/
16 %{?with_gconf:BuildRequires: GConf2-devel >= 2.0}
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake
19 BuildRequires: bzip2-devel
21 BuildRequires: gtk+2-devel >= 2:2.2.0
22 BuildRequires: judy-devel
23 BuildRequires: libstdc++-devel
24 BuildRequires: pkgconfig
25 BuildRequires: tcl-devel >= 8.4
26 BuildRequires: tk-devel >= 8.4
27 BuildRequires: xz-devel
28 BuildRequires: zlib-devel
29 Requires(post,postun): shared-mime-info >= 0.14
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 The GTKWave electronic waveform viewer.
35 %description -l pl.UTF-8
36 GTKWave jest przeglądraką przebiegów elektronicznych.
48 --disable-mime-update \
49 %{?with_gconf:--with-gconf} \
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
60 DESTDIR=$RPM_BUILD_ROOT
62 # non-themed icons belong to pixmapsdir
63 %{__mv} $RPM_BUILD_ROOT%{_iconsdir}/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
66 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog LICENSE.TXT README
77 %attr(755,root,root) %{_bindir}/evcd2vcd
78 %attr(755,root,root) %{_bindir}/fst2vcd
79 %attr(755,root,root) %{_bindir}/fstminer
80 %attr(755,root,root) %{_bindir}/ghwdump
81 %attr(755,root,root) %{_bindir}/gtkwave
82 %attr(755,root,root) %{_bindir}/lxt2miner
83 %attr(755,root,root) %{_bindir}/lxt2vcd
84 %attr(755,root,root) %{_bindir}/rtlbrowse
85 %attr(755,root,root) %{_bindir}/shmidcat
86 %attr(755,root,root) %{_bindir}/twinwave
87 %attr(755,root,root) %{_bindir}/vcd2fst
88 %attr(755,root,root) %{_bindir}/vcd2lxt
89 %attr(755,root,root) %{_bindir}/vcd2lxt2
90 %attr(755,root,root) %{_bindir}/vcd2vzt
91 %attr(755,root,root) %{_bindir}/vermin
92 %attr(755,root,root) %{_bindir}/vzt2vcd
93 %attr(755,root,root) %{_bindir}/vztminer
95 %{_datadir}/mime/packages/x-gtkwave-extension-*.xml
96 %{_desktopdir}/%{name}.desktop
97 %{_iconsdir}/gnome/*x*/mimetypes/gnome-mime-application-vnd.gtkwave-*.png
98 %{_iconsdir}/gnome/*x*/mimetypes/gtkwave.png
99 %{_pixmapsdir}/gtkwave*_256x256x32.png
100 %{_mandir}/man1/evcd2vcd.1*
101 %{_mandir}/man1/fst2vcd.1*
102 %{_mandir}/man1/fstminer.1*
103 %{_mandir}/man1/ghwdump.1*
104 %{_mandir}/man1/gtkwave.1*
105 %{_mandir}/man1/lxt2miner.1*
106 %{_mandir}/man1/lxt2vcd.1*
107 %{_mandir}/man1/rtlbrowse.1*
108 %{_mandir}/man1/shmidcat.1*
109 %{_mandir}/man1/twinwave.1*
110 %{_mandir}/man1/vcd2fst.1*
111 %{_mandir}/man1/vcd2lxt.1*
112 %{_mandir}/man1/vcd2lxt2.1*
113 %{_mandir}/man1/vcd2vzt.1*
114 %{_mandir}/man1/vermin.1*
115 %{_mandir}/man1/vzt2vcd.1*
116 %{_mandir}/man1/vztminer.1*
117 %{_mandir}/man5/gtkwaverc.5*