1 Summary: Stuttgart Neural Network Simulator
2 Summary(pl.UTF-8): Sztutgardzki symulator sieci neuronowych
7 Group: X11/Applications
8 Source0: ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/%{name}v%{version}.tar.gz
9 # Source0-md5: 4609dfd61714bfbb0842d4e8e905e584
10 Source2: ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/%{name}v%{version}.Manual.ps.gz
11 # Source2-md5: 1df5e14726c88d01be9f67e4590600a9
12 #Source3: ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/%{name}info-1.03.tar.gz
13 Source4: %{name}.desktop
14 Patch0: %{name}-include.patch
15 Patch1: %{name}-DESTDIR.patch
16 Patch2: %{name}-XGUILOADPATH.diff
17 Patch3: %{name}-inc_fix.patch
18 URL: http://www.informatik.uni-stuttgart.de/ipvr/bv/projekte/snns/snns.html
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 SNNS (Stuttgart Neural Network Simulator) is a neuron network
26 %description -l de.UTF-8
27 SNNS (Stuttgart Neural Network Simulator) ist ein Simulationsprogramm
28 für Neuronal Netzwerk.
30 %description -l pl.UTF-8
31 SNNS (Stuttgart Neural Network Simulator) jest symulatorem sieci
35 Summary: SNNS documentation
36 Summary(de.UTF-8): SNNS-Dokomentationen
37 Summary(pl.UTF-8): Dokumentacja do SNNS
41 Documentation for SNNS in HTML and postscript.
43 %description doc -l de.UTF-8
44 Dieses Paket enthält die Dokumentationen in HTML und
47 %description doc -l pl.UTF-8
48 Ten pakiet zawiera dokumentację w HTML-u i postscripcie.
51 %setup -q -n %{name}v%{version}
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_mandir}/man1,%{_desktopdir}}
67 DESTDIR=$RPM_BUILD_ROOT
69 cp -af help.hdoc default.cfg examples $RPM_BUILD_ROOT%{_libdir}/%{name}
70 install man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
72 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
74 gunzip %{name}v%{version}.Manual.ps.gz
76 cd $RPM_BUILD_ROOT%{_bindir}
79 #cd $RPM_BUILD_ROOT%{_libdir}/SNNS
80 #tar zopxf $RPM_SOURCE_DIR/SNNSinfo-1.03.tar.gz
81 #rm -rf SNNSinfo/UserManual.ps SNNSinfo/Icons/.xvpics
82 #cp -f $RPM_SOURCE_DIR/SNNSv%{version}.Manual.ps.gz SNNSinfo
83 #chown -R root.root SNNSinfo
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
91 %config %{_libdir}/%{name}/default.cfg
92 %{_libdir}/%{name}/help.hdoc
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/%{name}/examples
96 %{_desktopdir}/*.desktop
99 %defattr(644,root,root,755)
100 %docdir %{_libdir}/SNNS/SNNSinfo
101 %doc tools/doc/* %{name}v%{version}.Manual.ps
102 #%doc %{_libdir}/SNNS/SNNSinfo/*