]>
Commit | Line | Data |
---|---|---|
df9243f8 | 1 | Summary: Stuttgart Neural Network Simulator |
2f44d2a7 | 2 | Summary(pl.UTF-8): Sztutgardzki symulator sieci neuronowych |
df9243f8 | 3 | Name: SNNS |
af52649a | 4 | Version: 4.2 |
37518cd6 | 5 | Release: 1 |
df9243f8 | 6 | License: Free Software |
7 | Group: X11/Applications | |
af52649a TP |
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 | |
59e7dea5 | 13 | Source4: %{name}.desktop |
af52649a TP |
14 | Patch0: %{name}-include.patch |
15 | Patch1: %{name}-DESTDIR.patch | |
df9243f8 | 16 | Patch2: %{name}-XGUILOADPATH.diff |
17 | Patch3: %{name}-inc_fix.patch | |
f48f674a | 18 | URL: http://www.informatik.uni-stuttgart.de/ipvr/bv/projekte/snns/snns.html |
af52649a | 19 | BuildRequires: bison |
df9243f8 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
e7debdd6 | 22 | %description |
b9a071a3 | 23 | SNNS (Stuttgart Neural Network Simulator) is a neuron network |
24 | simulator. | |
df9243f8 | 25 | |
12e5eb24 | 26 | %description -l de.UTF-8 |
b9a071a3 | 27 | SNNS (Stuttgart Neural Network Simulator) ist ein Simulationsprogramm |
12e5eb24 | 28 | für Neuronal Netzwerk. |
df9243f8 | 29 | |
12e5eb24 | 30 | %description -l pl.UTF-8 |
af52649a TP |
31 | SNNS (Stuttgart Neural Network Simulator) jest symulatorem sieci |
32 | neuronowych. | |
df9243f8 | 33 | |
34 | %package doc | |
90fd22a6 | 35 | Summary: SNNS documentation |
2f44d2a7 ER |
36 | Summary(de.UTF-8): SNNS-Dokomentationen |
37 | Summary(pl.UTF-8): Dokumentacja do SNNS | |
04872ef1 | 38 | Group: Documentation |
df9243f8 | 39 | |
b9a071a3 | 40 | %description doc |
41 | Documentation for SNNS in HTML and postscript. | |
df9243f8 | 42 | |
12e5eb24 JR |
43 | %description doc -l de.UTF-8 |
44 | Dieses Paket enthält die Dokumentationen in HTML und | |
df9243f8 | 45 | Postscript-Format. |
46 | ||
12e5eb24 JR |
47 | %description doc -l pl.UTF-8 |
48 | Ten pakiet zawiera dokumentację w HTML-u i postscripcie. | |
df9243f8 | 49 | |
50 | %prep | |
51 | %setup -q -n %{name}v%{version} | |
af52649a | 52 | %patch0 -p1 |
df9243f8 | 53 | %patch1 -p1 |
54 | %patch2 -p1 | |
55 | %patch3 -p1 | |
56 | ||
57 | %build | |
af52649a TP |
58 | %configure2_13 \ |
59 | --enable-global | |
60 | %{__make} | |
df9243f8 | 61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
59e7dea5 | 64 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_mandir}/man1,%{_desktopdir}} |
ec7f3c62 | 65 | |
af52649a | 66 | %{__make} install \ |
df9243f8 | 67 | DESTDIR=$RPM_BUILD_ROOT |
68 | ||
af52649a TP |
69 | cp -af help.hdoc default.cfg examples $RPM_BUILD_ROOT%{_libdir}/%{name} |
70 | install man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1 | |
71 | install %{SOURCE2} . | |
59e7dea5 | 72 | install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir} |
73 | ||
af52649a | 74 | gunzip %{name}v%{version}.Manual.ps.gz |
df9243f8 | 75 | |
af52649a | 76 | cd $RPM_BUILD_ROOT%{_bindir} |
df9243f8 | 77 | ln -fs xgui snns |
78 | ||
158e7b46 | 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 | |
df9243f8 | 84 | |
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
03d5a3fe | 90 | %doc Readme* |
af52649a TP |
91 | %config %{_libdir}/%{name}/default.cfg |
92 | %{_libdir}/%{name}/help.hdoc | |
df9243f8 | 93 | %attr(755,root,root) %{_bindir}/* |
af52649a TP |
94 | %attr(755,root,root) %{_libdir}/%{name}/examples |
95 | %{_mandir}/man1/* | |
67b49818 | 96 | %{_desktopdir}/*.desktop |
df9243f8 | 97 | |
03d5a3fe | 98 | %files doc |
99 | %defattr(644,root,root,755) | |
100 | %docdir %{_libdir}/SNNS/SNNSinfo | |
101 | %doc tools/doc/* %{name}v%{version}.Manual.ps | |
158e7b46 | 102 | #%doc %{_libdir}/SNNS/SNNSinfo/* |