gtkwave-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. Summary: Waveform Viewer
  2. Summary(ja): 波形ビューワ
  3. Name: gtkwave
  4. Version: 3.3.7
  5. Release: 2%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Engineering
  8. URL: http://gtkwave.sourceforge.net/
  9. Source0: http://gtkwave.sourceforge.net/gtkwave-%{version}.tar.gz
  10. Source1: gtkwave.desktop
  11. Source2: gtkwave-16.png
  12. Source3: gtkwave-32.png
  13. Source4: gtkwave-48.png
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: gtk2-devel
  16. BuildRequires: bzip2-devel
  17. BuildRequires: Judy-devel
  18. %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5"
  19. BuildRequires: xz-devel
  20. %endif
  21. BuildRequires: zlib-devel
  22. BuildRequires: gperf
  23. BuildRequires: flex
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: /usr/include/tcl.h /usr/include/tk.h
  26. BuildRequires: tcl >= 8.4
  27. %description
  28. GTKWave is a waveform viewer that can view VCD files produced by most Verilog
  29. simulation tools, as well as LXT files produced by certain Verilog simulation
  30. tools.
  31. %prep
  32. %setup -q -n gtkwave-%{version}%{?prerel}
  33. %{__cp} -p .gtkwaverc gtkwaverc.sample
  34. %build
  35. %{configure} --disable-dependency-tracking --enable-judy
  36. %{__make} %{_smp_mflags}
  37. %install
  38. %{__rm} -rf %{buildroot}
  39. %{__make} install \
  40. DESTDIR=%{buildroot} \
  41. pkgdatadir=%{_docdir}/gtkwave-%{version} \
  42. INSTALL="%{__install} -p"
  43. # Icons and desktop entry
  44. /usr/bin/desktop-file-install --vendor "" --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
  45. %{__install} -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/gtkwave.png
  46. %{__install} -D -m 644 -p %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/gtkwave.png
  47. %{__install} -D -m 644 -p %{SOURCE4} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gtkwave.png
  48. # Include extra docs
  49. for extradoc in \
  50. gtkwaverc.sample \
  51. ANALOG_README.TXT \
  52. CHANGELOG.TXT \
  53. GNU.TXT \
  54. LICENSE.TXT \
  55. MIT.TXT \
  56. SYSTEMVERILOG_README.TXT
  57. do
  58. %{__install} -p -m 644 ${extradoc} %{buildroot}%{_docdir}/gtkwave-%{version}/
  59. done
  60. %clean
  61. %{__rm} -rf %{buildroot}
  62. %post
  63. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  64. %postun
  65. if [ $1 -eq 0 ] ; then
  66. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  67. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  68. fi
  69. %posttrans
  70. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  71. %files
  72. %defattr(-,root,root,-)
  73. %doc %{_docdir}/gtkwave-%{version}/
  74. %{_bindir}/evcd2vcd
  75. %{_bindir}/fst2vcd
  76. %{_bindir}/ghwdump
  77. %{_bindir}/gtkwave
  78. %{_bindir}/lxt2miner
  79. %{_bindir}/lxt2vcd
  80. %{_bindir}/rtlbrowse
  81. %{_bindir}/shmidcat
  82. %{_bindir}/twinwave
  83. %{_bindir}/vcd2fst
  84. %{_bindir}/vcd2lxt
  85. %{_bindir}/vcd2lxt2
  86. %{_bindir}/vcd2vzt
  87. %{_bindir}/vermin
  88. %{_bindir}/vzt2vcd
  89. %{_bindir}/vztminer
  90. %{_datadir}/applications/gtkwave.desktop
  91. %{_datadir}/icons/hicolor/16x16/apps/gtkwave.png
  92. %{_datadir}/icons/hicolor/32x32/apps/gtkwave.png
  93. %{_datadir}/icons/hicolor/48x48/apps/gtkwave.png
  94. %{_mandir}/man1/evcd2vcd.1*
  95. %{_mandir}/man1/fst2vcd.1*
  96. %{_mandir}/man1/ghwdump.1*
  97. %{_mandir}/man1/gtkwave.1*
  98. %{_mandir}/man1/lxt2miner.1*
  99. %{_mandir}/man1/lxt2vcd.1*
  100. %{_mandir}/man1/rtlbrowse.1*
  101. %{_mandir}/man1/shmidcat.1*
  102. %{_mandir}/man1/twinwave.1*
  103. %{_mandir}/man1/vcd2fst.1*
  104. %{_mandir}/man1/vcd2lxt.1*
  105. %{_mandir}/man1/vcd2lxt2.1*
  106. %{_mandir}/man1/vcd2vzt.1*
  107. %{_mandir}/man1/vermin.1*
  108. %{_mandir}/man1/vzt2vcd.1*
  109. %{_mandir}/man1/vztminer.1*
  110. %{_mandir}/man5/gtkwaverc.5*
  111. %changelog
  112. * Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3.7-2
  113. - Initial build for Vine Linux
  114. * Sun Jun 6 2010 Paul Howarth <paul@city-fan.org> 3.3.7-1
  115. - update to 3.3.7 (general bug and compiler warning fixes)
  116. - -n option not needed in desktop file
  117. * Tue May 4 2010 Paul Howarth <paul@city-fan.org> 3.3.6-1
  118. - update to 3.3.6 (see CHANGELOG.TXT for details)
  119. - add desktop file and icons based on Mandriva package
  120. - BR: desktop-file-utils
  121. - add scriptlets to update icon cache
  122. - no longer need to fix permissions of lzma wrapper code
  123. * Sat Mar 20 2010 Paul Howarth <paul@city-fan.org> 3.3.5-1
  124. - update to 3.3.5 (see CHANGELOG.TXT for details)
  125. - add Judy-devel buildreq for improved memory usage efficiency
  126. * Mon Mar 8 2010 Paul Howarth <paul@city-fan.org> 3.3.4-1
  127. - update to 3.3.4 (see CHANGELOG.TXT for details)
  128. * Fri Feb 19 2010 Paul Howarth <paul@city-fan.org> 3.3.3-1
  129. - update to 3.3.3
  130. - drop upstreamed dlopen linking patch
  131. - drop obsolete helper apps mvl2lxt, mvl2vcd, tex2vcd and tla2vcd
  132. * Mon Feb 15 2010 Paul Howarth <paul@city-fan.org> 3.3.2-2
  133. - fix FTBFS due to missing -ldl linking for dlopen function (#565173)
  134. * Tue Jan 5 2010 Paul Howarth <paul@city-fan.org> 3.3.2-1
  135. - update to 3.3.2 (speed up operation on networked filesystems)
  136. * Sat Dec 26 2009 Paul Howarth <paul@city-fan.org> 3.3.0-1
  137. - update to 3.3.0
  138. - added tk support
  139. - bundled old liblzma replaced by system xz (add BR: xz-devel)
  140. - tcl/tk support require Fedora >= 2 or RHEL >= 4 (tcl 8.4)
  141. * Fri Sep 4 2009 Paul Howarth <paul@city-fan.org> 3.2.3-1
  142. - update to 3.2.3
  143. - fix permissions in bundled liblzma for debuginfo
  144. * Thu Aug 6 2009 Paul Howarth <paul@city-fan.org> 3.2.2-3
  145. - drop patch for #515672, not needed with gcc 4.4.1-4
  146. * Thu Aug 6 2009 Paul Howarth <paul@city-fan.org> 3.2.2-2
  147. - add patch to work around #515672 (internal compiler error on PPC)
  148. * Wed Aug 5 2009 Paul Howarth <paul@city-fan.org> 3.2.2-1
  149. - update to 3.2.2 (new tools evcd2vcd/fst2vcd/vcd2fst)
  150. - drop print-to-file patch, no longer needed
  151. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2.1
  152. - rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  153. * Wed Jul 15 2009 Paul Howarth <paul@city-fan.org> 3.2.1-2
  154. - add upstream patch for crash on print to file (#511858)
  155. * Tue Apr 14 2009 Paul Howarth <paul@city-fan.org> 3.2.1-1
  156. - update to 3.2.1
  157. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 3.2.0-1.1
  158. - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  159. * Tue Feb 17 2009 Paul Howarth <paul@city-fan.org> 3.2.0-1
  160. - update to 3.2.0
  161. * Mon Feb 2 2009 Paul Howarth <paul@city-fan.org> 3.2.0-0.2.RC5
  162. - update to 3.2.0RC5
  163. * Fri Jan 29 2009 Paul Howarth <paul@city-fan.org> 3.2.0-0.1.RC4
  164. - update to 3.2.0RC4 (#481264)
  165. - new upstream URLs
  166. - buildreq /usr/include/tcl.h for embedded tcl support
  167. * Thu Aug 21 2008 Paul Howarth <paul@city-fan.org> 3.1.13-1
  168. - update to 3.1.13
  169. * Mon Jul 14 2008 Paul Howarth <paul@city-fan.org> 3.1.12-1
  170. - update to 3.1.12
  171. * Thu Jun 19 2008 Paul Howarth <paul@city-fan.org> 3.1.11-1
  172. - update to 3.1.11
  173. * Thu May 15 2008 Paul Howarth <paul@city-fan.org> 3.1.10-1
  174. - update to 3.1.10
  175. * Tue Apr 22 2008 Paul Howarth <paul@city-fan.org> 3.1.9-1
  176. - update to 3.1.9
  177. * Mon Apr 7 2008 Paul Howarth <paul@city-fan.org> 3.1.8-1
  178. - update to 3.1.8
  179. * Tue Mar 25 2008 Paul Howarth <paul@city-fan.org> 3.1.7-1
  180. - update to 3.1.7
  181. * Wed Feb 27 2008 Paul Howarth <paul@city-fan.org> 3.1.6-1
  182. - update to 3.1.6
  183. * Fri Feb 1 2008 Paul Howarth <paul@city-fan.org> 3.1.4-1
  184. - update to 3.1.4
  185. * Tue Jan 15 2008 Paul Howarth <paul@city-fan.org> 3.1.3-1
  186. - update to 3.1.3
  187. * Wed Jan 2 2008 Paul Howarth <paul@city-fan.org> 3.1.2-1
  188. - update to 3.1.2
  189. * Fri Sep 28 2007 Paul Howarth <paul@city-fan.org> 3.1.1-1
  190. - update to 3.1.1
  191. * Tue Sep 4 2007 Paul Howarth <paul@city-fan.org> 3.1.0-1
  192. - update to 3.1.0
  193. * Fri Aug 24 2007 Paul Howarth <paul@city-fan.org> 3.0.30-3
  194. - clarify license as GPL, version 2 or later
  195. * Fri Jul 27 2007 Paul Howarth <paul@city-fan.org> 3.0.30-1
  196. - update to 3.0.30
  197. * Fri Jun 8 2007 Paul Howarth <paul@city-fan.org> 3.0.29-1
  198. - update to 3.0.29
  199. - spec file much-simplified as gtkwave is now fully autotooled
  200. - try to retain upstream timestamps as far as possible
  201. - use parallel make
  202. * Tue May 1 2007 Paul Howarth <paul@city-fan.org> 3.0.28-1
  203. - update to 3.0.28
  204. - update source URL to master source
  205. * Mon Apr 30 2007 Paul Howarth <paul@city-fan.org> 3.0.27-1
  206. - update to 3.0.27
  207. - rename "vertex" to "vermin" to avoid conflict with Vertex 3D Model Assembler
  208. (http://wolfpack.twu.net/Vertex/index.html)
  209. * Fri Apr 20 2007 Paul Howarth <paul@city-fan.org> 3.0.26-1
  210. - update to 3.0.26
  211. * Wed Apr 11 2007 Paul Howarth <paul@city-fan.org> 3.0.25-1
  212. - update to 3.0.25
  213. * Thu Apr 5 2007 Paul Howarth <paul@city-fan.org> 3.0.24-1
  214. - update to 3.0.24
  215. * Tue Mar 20 2007 Paul Howarth <paul@city-fan.org> 3.0.23-1
  216. - update to 3.0.23
  217. * Mon Feb 26 2007 Paul Howarth <paul@city-fan.org> 3.0.22-1
  218. - update to 3.0.22
  219. * Mon Feb 5 2007 Paul Howarth <paul@city-fan.org> 3.0.21-1
  220. - update to 3.0.21
  221. * Wed Jan 24 2007 Paul Howarth <paul@city-fan.org> 3.0.20-1
  222. - update to 3.0.20
  223. * Tue Jan 2 2007 Paul Howarth <paul@city-fan.org> 3.0.19-1
  224. - update to 3.0.19
  225. * Tue Dec 5 2006 Paul Howarth <paul@city-fan.org> 3.0.18-1
  226. - update to 3.0.18
  227. * Tue Nov 28 2006 Paul Howarth <paul@city-fan.org> 3.0.17-1
  228. - update to 3.0.17
  229. * Tue Nov 14 2006 Paul Howarth <paul@city-fan.org> 3.0.16-1
  230. - update to 3.0.16
  231. * Mon Oct 30 2006 Paul Howarth <paul@city-fan.org> 3.0.15-1
  232. - update to 3.0.15
  233. * Wed Oct 18 2006 Paul Howarth <paul@city-fan.org> 3.0.14-1
  234. - update to 3.0.14
  235. * Mon Oct 9 2006 Paul Howarth <paul@city-fan.org> 3.0.13-1
  236. - update to 3.0.13
  237. * Tue Oct 3 2006 Paul Howarth <paul@city-fan.org> 3.0.12-2
  238. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  239. * Fri Sep 22 2006 Paul Howarth <paul@city-fan.org> 3.0.12-1
  240. - update to 3.0.12
  241. - create dummy libz/libbz2 Makefile.in files to ensure that config.h gets
  242. generated
  243. * Thu Sep 14 2006 Paul Howarth <paul@city-fan.org> 3.0.11-1
  244. - update to 3.0.11
  245. * Mon Aug 21 2006 Paul Howarth <paul@city-fan.org> 3.0.10-1
  246. - update to 3.0.10
  247. * Fri Aug 11 2006 Paul Howarth <paul@city-fan.org> 3.0.9-1
  248. - update to 3.0.9
  249. - tarball is now .tar.gz rather than .tgz
  250. * Mon Aug 7 2006 Paul Howarth <paul@city-fan.org> 3.0.8-1
  251. - update to 3.0.8
  252. - new program and manpage: shmidcat
  253. * Fri Jul 21 2006 Paul Howarth <paul@city-fan.org> 3.0.7-1
  254. - update to 3.0.7
  255. - new program and manpage: twinwave
  256. * Mon Jul 17 2006 Paul Howarth <paul@city-fan.org> 3.0.6-1
  257. - update to 3.0.6
  258. * Wed Jun 28 2006 Paul Howarth <paul@city-fan.org> 3.0.5-1
  259. - update to 3.0.5
  260. - new program and manpage: ghwdump
  261. * Fri Jun 2 2006 Paul Howarth <paul@city-fan.org> 3.0.4-1
  262. - update to 3.0.4
  263. * Tue May 30 2006 Paul Howarth <paul@city-fan.org> 3.0.3-1
  264. - update to 3.0.3
  265. * Sun May 28 2006 Paul Howarth <paul@city-fan.org> 3.0.2-2
  266. - adding missing buildreq flex
  267. * Wed May 10 2006 Paul Howarth <paul@city-fan.org> 3.0.2-1
  268. - update to 3.0.2
  269. * Tue May 9 2006 Paul Howarth <paul@city-fan.org> 3.0.1-1
  270. - update to 3.0.1
  271. * Tue May 2 2006 Paul Howarth <paul@city-fan.org> 3.0.0-1
  272. - update to 3.0.0
  273. - add examples directory as %%doc
  274. - add new buildreq gperf
  275. - tweak Makefile.in edits to handle Makefiles under contrib/
  276. - add new binaries rtlbrowse and vertex
  277. - add new manpages for rtlbrowse, vertex, and gtkwaverc
  278. - %%{_mandir} no longer needs to be created manually
  279. - configure script now accepts --libdir
  280. * Tue Mar 7 2006 Paul Howarth <paul@city-fan.org> 1.3.86-1
  281. - update to 1.3.86
  282. * Mon Feb 27 2006 Paul Howarth <paul@city-fan.org> 1.3.85-1
  283. - update to 1.3.85
  284. * Tue Feb 21 2006 Paul Howarth <paul@city-fan.org> 1.3.84-1
  285. - update to 1.3.84
  286. - INSTALL now called INSTALL.TXT
  287. * Thu Feb 16 2006 Paul Howarth <paul@city-fan.org> 1.3.83-2
  288. - rebuild
  289. * Tue Jan 31 2006 Paul Howarth <paul@city-fan.org> 1.3.83-1
  290. - update to 1.3.83
  291. * Thu Jan 19 2006 Paul Howarth <paul@city-fan.org> 1.3.82-1
  292. - update to 1.3.82
  293. * Tue Dec 13 2005 Paul Howarth <paul@city-fan.org> 1.3.81-1
  294. - update to 1.3.81
  295. * Sun Nov 27 2005 Paul Howarth <paul@city-fan.org> 1.3.80-1
  296. - update to 1.3.80
  297. * Wed Nov 23 2005 Paul Howarth <paul@city-fan.org> 1.3.79-2
  298. - fix file permissions in debuginfo package
  299. * Mon Nov 21 2005 Paul Howarth <paul@city-fan.org> 1.3.79-1
  300. - update to 1.3.79
  301. * Wed Nov 9 2005 Paul Howarth <paul@city-fan.org> 1.3.78-1
  302. - update to 1.3.78
  303. * Tue Nov 8 2005 Paul Howarth <paul@city-fan.org> 1.3.77-1
  304. - update to 1.3.77
  305. - GHDL ghw support now included upstream, so remove patches
  306. * Mon Nov 7 2005 Paul Howarth <paul@city-fan.org> 1.3.76-3
  307. - clean up for Fedora Extras:
  308. - don't support GTK1 builds
  309. - unconditionally remove buildroot in %%clean and %%install
  310. - remove redundant glib2-devel buildreq
  311. - add dist tag
  312. * Mon Nov 7 2005 Thomas Sailer <t.sailer@alumni.ethz.ch> - 1.3.76-2
  313. - add GHDL ghw support
  314. * Thu Oct 27 2005 Paul Howarth <paul@city-fan.org> 1.3.76-1
  315. - update to 1.3.76
  316. * Thu Oct 13 2005 Paul Howarth <paul@city-fan.org> 1.3.73-1
  317. - update to 1.3.73
  318. * Mon Oct 10 2005 Paul Howarth <paul@city-fan.org> 1.3.72-1
  319. - update to 1.3.72
  320. * Fri Oct 7 2005 Paul Howarth <paul@city-fan.org> 1.3.71-1
  321. - update to 1.3.71
  322. * Thu Sep 15 2005 Paul Howarth <paul@city-fan.org> 1.3.70-1
  323. - update to 1.3.70
  324. - new program tla2vcd (with manpage)
  325. * Mon Sep 5 2005 Paul Howarth <paul@city-fan.org> 1.3.69-1
  326. - update to 1.3.69
  327. - honour %%{optflags}
  328. - use system bzip and zlib libraries
  329. * Fri Sep 2 2005 Paul Howarth <paul@city-fan.org> 1.3.68-1
  330. - update to 1.3.68
  331. * Wed Aug 25 2005 Paul Howarth <paul@city-fan.org> 1.3.67-1
  332. - update to 1.3.67
  333. * Wed Aug 10 2005 Paul Howarth <paul@city-fan.org> 1.3.64-1
  334. - update to 1.3.64
  335. - new programs lxt2miner & vztminer (with manpages)
  336. * Tue Jul 26 2005 Paul Howarth <paul@city-fan.org> 1.3.63-1
  337. - update to 1.3.63
  338. * Mon Jul 11 2005 Paul Howarth <paul@city-fan.org> 1.3.62-1
  339. - update to 1.3.62
  340. * Thu Apr 21 2005 Paul Howarth <paul@city-fan.org> 1.3.58-1
  341. - update to 1.3.58
  342. - include sample .gtkwaverc in doc area
  343. - update URL to point to new project home page
  344. * Wed Apr 13 2005 Paul Howarth <paul@city-fan.org> 1.3.57-1
  345. - update to 1.3.57
  346. - add support for building with gtk version 1 (build using: --without gtk2)
  347. * Tue Apr 12 2005 Paul Howarth <paul@city-fan.org> 1.3.56-1
  348. - initial RPM build