]> git.pld-linux.org Git - packages/gtkwave.git/blame - gtkwave.spec
- tcl rebuild
[packages/gtkwave.git] / gtkwave.spec
CommitLineData
6e730732
JB
1# TODO: simarama, FsdbReader support? (BR proprietary libs?)
2#
3# Conditional build:
4%bcond_without gconf # GConf usage for preferences
5#
1ba1a860 6Summary: The GTKWave - electronic waveform viewer
280109f0 7Summary(pl.UTF-8): GTKWave - przeglądarka przebiegów elektronicznych
1ba1a860 8Name: gtkwave
6e730732 9Version: 3.3.57
68015a22 10Release: 2
280109f0 11License: GPL v2+
1ba1a860 12Group: Applications/Printing
0573bcb1 13Source0: http://gtkwave.sourceforge.net/%{name}-%{version}.tar.gz
6e730732 14# Source0-md5: 48b512df622302dcc39f9f1dd109aa70
0573bcb1 15URL: http://gtkwave.sourceforge.net/
6e730732 16%{?with_gconf:BuildRequires: GConf2-devel >= 2.0}
280109f0 17BuildRequires: autoconf >= 2.59
1ba1a860 18BuildRequires: automake
1ba1a860 19BuildRequires: bzip2-devel
280109f0
JB
20BuildRequires: gperf
21BuildRequires: gtk+2-devel >= 2:2.2.0
0573bcb1 22BuildRequires: judy-devel
280109f0
JB
23BuildRequires: libstdc++-devel
24BuildRequires: pkgconfig
25BuildRequires: tcl-devel >= 8.4
26BuildRequires: tk-devel >= 8.4
0573bcb1 27BuildRequires: xz-devel
280109f0 28BuildRequires: zlib-devel
0573bcb1 29Requires(post,postun): shared-mime-info >= 0.14
1ba1a860 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33The GTKWave electronic waveform viewer.
34
142c2e6e 35%description -l pl.UTF-8
280109f0 36GTKWave jest przeglądraką przebiegów elektronicznych.
1ba1a860 37
38%prep
39%setup -q
1ba1a860 40
41%build
0573bcb1 42%{__aclocal} -I .
1ba1a860 43%{__autoconf}
280109f0
JB
44%{__autoheader}
45%{__automake}
4d02ff08 46%configure \
0573bcb1 47 --enable-judy \
280109f0 48 --disable-mime-update \
6e730732 49 %{?with_gconf:--with-gconf} \
0573bcb1
PZ
50 --with-tcl=/usr/lib \
51 --with-tk=/usr/lib
52
1ba1a860 53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
280109f0 57install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1ba1a860 58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
280109f0
JB
62# non-themed icons belong to pixmapsdir
63%{__mv} $RPM_BUILD_ROOT%{_iconsdir}/*.png $RPM_BUILD_ROOT%{_pixmapsdir}
1ba1a860 64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
0573bcb1
PZ
68%post
69%update_mime_database
70
71%postun
72%update_mime_database
73
1ba1a860 74%files
75%defattr(644,root,root,755)
6e730732 76%doc AUTHORS ChangeLog LICENSE.TXT README
280109f0
JB
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
0573bcb1 94%{_datadir}/%{name}
280109f0 95%{_datadir}/mime/packages/x-gtkwave-extension-*.xml
0573bcb1 96%{_desktopdir}/%{name}.desktop
280109f0
JB
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.093587 seconds and 4 git commands to generate.