2 Summary: Stuttgart Neural Network Simulator
3 Summary(pl): Sztutgardzki symulator sieci neuronowych
8 Group: X11/Applications
9 Source0: ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/%{name}v%{version}.tar.gz
10 # Source0-md5: 4609dfd61714bfbb0842d4e8e905e584
11 Source2: ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/%{name}v%{version}.Manual.ps.gz
12 # Source2-md5: 1df5e14726c88d01be9f67e4590600a9
13 #Source3: ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/%{name}info-1.03.tar.gz
14 # Source3-md5: c2a99f0294bd02e5f3bfdff6bf16469a
15 Patch0: %{name}-include.patch
16 Patch1: %{name}-DESTDIR.patch
17 Patch2: %{name}-XGUILOADPATH.diff
18 Patch3: %{name}-inc_fix.patch
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 SNNS (Stuttgart Neural Network Simulator) is a neuron network
27 SNNS (Stuttgart Neural Network Simulator) ist ein Simulationsprogramm
28 für Neuronal Netzwerk.
31 SNNS (Stuttgart Neural Network Simulator) jest symulatorem sieci
35 Summary: SNNS-Dokomentationen
36 Group: X11/Applications
39 Documentation for SNNS in HTML and postscript.
41 %description doc -l de
42 Dieses Paket enthält die Dokumentationen in HTML und
45 %description doc -l pl
46 Ten pakiet zawiera dokumentacje w HTMLu i postscripcie.
49 %setup -q -n %{name}v%{version}
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_mandir}/man1}
65 DESTDIR=$RPM_BUILD_ROOT
67 cp -af help.hdoc default.cfg examples $RPM_BUILD_ROOT%{_libdir}/%{name}
68 install man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
70 gunzip %{name}v%{version}.Manual.ps.gz
72 cd $RPM_BUILD_ROOT%{_bindir}
75 #cd $RPM_BUILD_ROOT%{_libdir}/SNNS
76 #tar zopxf $RPM_SOURCE_DIR/SNNSinfo-1.03.tar.gz
77 #rm -rf SNNSinfo/UserManual.ps SNNSinfo/Icons/.xvpics
78 #cp -f $RPM_SOURCE_DIR/SNNSv%{version}.Manual.ps.gz SNNSinfo
79 #chown -R root.root SNNSinfo
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
86 %doc Readme* tools/doc/* %{name}v%{version}.Manual.ps
87 %config %{_libdir}/%{name}/default.cfg
88 %{_libdir}/%{name}/help.hdoc
89 %attr(755,root,root) %{_bindir}/*
90 %attr(755,root,root) %{_libdir}/%{name}/examples
94 #%defattr(644,root,root,755)
95 #%docdir %{_libdir}/SNNS/SNNSinfo
96 #%doc %{_libdir}/SNNS/SNNSinfo/*