]> git.pld-linux.org Git - packages/electric.git/blob - electric.spec
- added using %%{rpmcflags} macro.
[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:        1
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/electric/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-datadir.patch
13 Patch1:         %{name}-tcl.patch
14 BuildRequires:  lesstif-devel
15 BuildRequires:  tcl-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix /usr/X11R6
19
20 %description
21 Electric designs MOS and bipolar integrated circuits,
22 printed-circuit-boards, or any type of circuit you choose. It has many
23 editing styles including layout, schematics, artwork, and
24 architectural specifications.
25
26 A large set of tools is available including design-rule checkers,
27 simulators, routers, layout generators, and more. Electric interfaces
28 to most popular CAD specifications including VHDL, CIF, and GDS II.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 %configure
37
38 %{__make} DEBUG="%{rpmcflags} -Wall"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/electric} 
44 install electric $RPM_BUILD_ROOT/%{_bindir}
45 install lib/.cadrc $RPM_BUILD_ROOT/%{_datadir}/electric
46 install lib/*.help $RPM_BUILD_ROOT/%{_datadir}/electric
47 install lib/*.mac $RPM_BUILD_ROOT/%{_datadir}/electric
48 install lib/*.txt $RPM_BUILD_ROOT/%{_datadir}/electric
49
50 # can't find better way to make electric find tcl.init
51 ln -s /usr/lib/tcl8.* $RPM_BUILD_ROOT/%{_datadir}/electric/tcl
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README* ChangeLog*
59 %doc html/manual
60 %doc examples
61 %attr(755,root,root) %{_bindir}/*
62 %{_datadir}/electric
This page took 0.067978 seconds and 3 git commands to generate.