]> git.pld-linux.org Git - SPECS.git/blob - tkgate.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / tkgate.spec
1 Summary:        Digital circuits simulator
2 Summary(pl.UTF-8):      Symulator obwodów cyfrowych
3 Name:           tkgate
4 Version:        1.8.7
5 Release:        0.2
6 Group:          X11/Applications/Science
7 License:        GPL
8 Source0:        ftp://gadoid.ices.cmu.edu/pub/tkgate/%{name}-%{version}.tgz
9 # Source0-md5:  628b5ca66283fc1473c9ef7300ae73c8
10 Patch0:         %{name}-config.patch
11 Patch1:         %{name}-destdir.patch
12 URL:            http://www.tkgate.org/
13 BuildRequires:  flex
14 BuildRequires:  bison
15 BuildRequires:  tcl-devel
16 BuildRequires:  tk-devel
17 BuildRequires:  xorg-cf-files
18 BuildRequires:  xorg-util-gccmakedep
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 TkGate is an event driven digital circuit simulator with a
23 Tcl/Tk-based graphical editor. TkGate supports a wide range of
24 primitive circuit elements as well as user-defined modules for
25 hierarchical design. The distribution comes with a number of tutorial
26 and example circuits which can be loaded through the "Help" menu. The
27 example circuits include a simple CPU, programmed to run the Animals
28 game.
29
30 %description -l pl.UTF-8
31 TkGate jest sterowanym zdarzeniami symulatorem obwodów cyfrowych z
32 graficznym interfejsem opartym o Tcl/Tk. TkGate pozwala korzystać z
33 dużego zestawu podstawowych elementów jak również z definiowanych
34 przez użytkownika modułów. Dystrybucja zawiera zestaw tutoriali i
35 przykładowych obwodów, które mogą zostać załadowane poprzez menu
36 "Help". Wśród nich znajduje się prosty procesor zaprogramowany do gry
37 w "Animals".
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43
44 %build
45 LDFLAGS="%{rpmldflags}" ; export LDFLAGS
46 CXXDEBUGFLAGS="%{rpmcflags}" ; export CXXDEBUGFLAGS
47
48 # This is NOT a GNU Configure.
49 ./configure
50
51 %{__make} \
52         OPT_FLAGS="%{rpmcflags}"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install install.man \
58         DESTDIR="$RPM_BUILD_ROOT"
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/*
66 %doc README
67 %dir %{_libdir}/%{name}-%{version}
68 %{_libdir}/%{name}-%{version}/bitmaps
69 %{_libdir}/%{name}-%{version}/doc
70 %{_libdir}/%{name}-%{version}/locale
71 %dir %{_libdir}/%{name}-%{version}/libexec
72 %attr(755,root,root) %{_libdir}/%{name}-%{version}/libexec/*
73 %{_libdir}/%{name}-%{version}/gdf
74 %{_libdir}/%{name}-%{version}/scripts
75 %{_libdir}/%{name}-%{version}/sitename.txt
76 %{_mandir}/*/*
This page took 0.114169 seconds and 3 git commands to generate.