]> git.pld-linux.org Git - packages/gtkwave.git/blob - gtkwave.spec
- tcl rebuild
[packages/gtkwave.git] / gtkwave.spec
1 # TODO: simarama, FsdbReader support? (BR proprietary libs?)
2 #
3 # Conditional build:
4 %bcond_without  gconf   # GConf usage for preferences
5 #
6 Summary:        The GTKWave - electronic waveform viewer
7 Summary(pl.UTF-8):      GTKWave - przeglądarka przebiegów elektronicznych
8 Name:           gtkwave
9 Version:        3.3.57
10 Release:        2
11 License:        GPL v2+
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
20 BuildRequires:  gperf
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)
31
32 %description
33 The GTKWave electronic waveform viewer.
34
35 %description -l pl.UTF-8
36 GTKWave jest przeglądraką przebiegów elektronicznych.
37
38 %prep
39 %setup -q
40
41 %build
42 %{__aclocal} -I .
43 %{__autoconf}
44 %{__autoheader}
45 %{__automake}
46 %configure \
47         --enable-judy \
48         --disable-mime-update \
49         %{?with_gconf:--with-gconf} \
50         --with-tcl=/usr/lib \
51         --with-tk=/usr/lib
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 # non-themed icons belong to pixmapsdir
63 %{__mv} $RPM_BUILD_ROOT%{_iconsdir}/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %update_mime_database
70
71 %postun
72 %update_mime_database
73
74 %files
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
94 %{_datadir}/%{name}
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*
This page took 0.117861 seconds and 3 git commands to generate.