]>
Commit | Line | Data |
---|---|---|
a94aa8f1 | 1 | Summary: Spice-like analog simulator |
155d3e2f | 2 | Summary(pl.UTF-8): Symulator układów analogowych typu Spice |
a94aa8f1 | 3 | Name: acs |
238e953b | 4 | Version: 0.29 |
5 | Release: 1 | |
a94aa8f1 AM |
6 | License: GPL |
7 | Group: Applications/Engineering | |
a94aa8f1 | 8 | Source0: ftp://metalab.unc.edu/pub/Linux/apps/circuits/%{name}-%{version}.tar.gz |
f59554e1 | 9 | # Source0-md5: 9766530081d270d4e5bc1760c382f675 |
a94aa8f1 AM |
10 | Patch0: %{name}-opt.patch |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | ACS is a general purpose circuit simulator. It performs nonlinear dc | |
15 | and transient analyses, fourier analysis, and ac analysis linearized | |
16 | at an operating point. It is fully interactive and command driven. It | |
17 | can also be run in batch mode or as a server. The output is produced | |
18 | as it simulates. Spice compatible models for the MOSFET (level | |
19 | 1,2,3,6) and diode are included in this release. | |
20 | ||
b119b523 JR |
21 | %description -l pl.UTF-8 |
22 | ACS jest symulatorem obwodów elektronicznych. Umożliwia on analizy: | |
23 | nieliniową dc, analizy przejściowe, analizy fouriera oraz analizy ac | |
24 | zlinearyzowane w czasie operacji. Symulator jest w pełni interaktywny | |
25 | ale może być uruchamiany w trybie batch lub serwer. Modele MOSFET | |
26 | (poziom 1,2,3,6) oraz diod kompatybilne ze Spice są zawarte w | |
a94aa8f1 AM |
27 | pakiecie. |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | %patch0 -p1 | |
32 | ||
33 | %build | |
591c3212 | 34 | OPT_FLAGS="%{rpmcflags}"; export OPT_FLAGS |
a94aa8f1 AM |
35 | cd src |
36 | %{__make} linux | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
1414f509 | 40 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}} |
a94aa8f1 AM |
41 | |
42 | install src/LINUX/acs $RPM_BUILD_ROOT%{_bindir}/ | |
1414f509 | 43 | install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
a94aa8f1 | 44 | |
a94aa8f1 AM |
45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
238e953b | 50 | %doc man/man doc/{acs-tutorial,whatisit,history,relnotes.029} |
a94aa8f1 | 51 | %attr(755,root,root) %{_bindir}/* |
1414f509 | 52 | %{_examplesdir}/%{name}-%{version} |