]> git.pld-linux.org Git - packages/electric.git/blob - electric.spec
- release 2
[packages/electric.git] / electric.spec
1 Summary:        Electric VLSI Design System
2 Summary(pl):    System projektowania uk³adów VLSI
3 Name:           electric
4 Version:        6.01
5 Release:        2
6 License:        GPL
7 Vendor:         Static Free Software
8 Group:          Applications/Engineering
9 Group(de):      Applikationen/Ingenieurwesen
10 Group(pl):      Aplikacje/In¿ynierskie
11 Source0:        ftp://ftp.gnu.org/pub/gnu/electric/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-datadir.patch
13 Patch1:         %{name}-tcl.patch
14 BuildRequires:  lesstif-devel
15 BuildRequires:  tcl-devel
16 BuildRequires:  automake
17 BuildRequires:  autoconf
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix /usr/X11R6
21
22 %description
23 Electric designs MOS and bipolar integrated circuits,
24 printed-circuit-boards, or any type of circuit you choose. It has many
25 editing styles including layout, schematics, artwork, and
26 architectural specifications.
27
28 A large set of tools is available including design-rule checkers,
29 simulators, routers, layout generators, and more. Electric interfaces
30 to most popular CAD specifications including VHDL, CIF, and GDS II.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 aclocal
39 autoconf
40 %configure
41
42 %{__make} DEBUG="%{rpmcflags} -Wall"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/electric} 
48 install electric $RPM_BUILD_ROOT/%{_bindir}
49 install lib/.cadrc $RPM_BUILD_ROOT/%{_datadir}/electric
50 install lib/*.help $RPM_BUILD_ROOT/%{_datadir}/electric
51 install lib/*.mac $RPM_BUILD_ROOT/%{_datadir}/electric
52 install lib/*.txt $RPM_BUILD_ROOT/%{_datadir}/electric
53
54 # can't find better way to make electric find tcl.init
55 ln -s /usr/lib/tcl8.* $RPM_BUILD_ROOT/%{_datadir}/electric/tcl
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README* ChangeLog*
63 %doc html/manual
64 %doc examples
65 %attr(755,root,root) %{_bindir}/*
66 %{_datadir}/electric
This page took 0.087309 seconds and 3 git commands to generate.