]>
Commit | Line | Data |
---|---|---|
e3984c00 | 1 | Summary: Genetic Algorithm Utility Library |
b7bd9a0f | 2 | Summary(pl.UTF-8): Biblioteka narzędziowa algorytmów genetycznych |
e3984c00 | 3 | Name: gaul |
ec705d71 | 4 | Version: 0.1849 |
ad0a3cfe | 5 | Release: 1 |
e3984c00 | 6 | License: GPL |
7 | Group: Libraries | |
a8f6fde2 | 8 | Source0: http://dl.sourceforge.net/gaul/%{name}-devel-%{version}-0.tar.gz |
ec705d71 | 9 | # Source0-md5: b81110b7110b4d69e9bdd585242e2798 |
a8f6fde2 | 10 | URL: http://gaul.sourceforge.net/ |
44c446c9 | 11 | BuildRequires: automake |
e3984c00 | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | The Genetic Algorithm Utility Library (GAUL) is an open source | |
16 | programming library providing genetic algorithms. Both stead y-state | |
17 | and generation based evolution is supported, together with the island | |
a8f6fde2 | 18 | model. GAUL supports the Darwinian, Lamarckian and Baldwinian |
e3984c00 | 19 | evolutionary schemes. Standard mutation, crossover and selection |
20 | operators are provided, while code hooks additionally allow custom | |
21 | operators. Several non-evolutionary search heuristics are provided for | |
a8f6fde2 JB |
22 | comparison and local search purposes, including simplex method, hill |
23 | climbing, simulated annealing and steepest ascent. Much of the | |
24 | functionality is also available through a simple S-Lang interface. | |
e3984c00 | 25 | |
b7bd9a0f JR |
26 | %description -l pl.UTF-8 |
27 | GAUL jest otwartą biblioteką algorytmów genetycznych. Obsługiwana jest | |
a8f6fde2 | 28 | ewolucja miejscowa w stanie y, jak i oparta na pokoleniach, wraz z |
b7bd9a0f JR |
29 | modelem wyspowym. GAUL obsługuje schematy ewolucji darwinowski, |
30 | lamarckowski oraz baldwinowski. Dostarczone są standardowe operatory | |
31 | mutacji, krzyżowania i selekcji, a także miejsca zaczepienia do | |
32 | dodania własnych operatorów. Dodanych est kilka nieewolucyjnych | |
33 | heurystyk wyszukiwania w celu porównania oraz poszukiwania lokalnego, | |
34 | włącznie z metodą sympleks, znajdowaniem maksimum, symulowanym | |
35 | rozprężaniem oraz najszybszego wzrostu. Większość funkcjonalności jest | |
36 | dostępna także przez prosty interfejs oparty na S-Langu. | |
e3984c00 | 37 | |
38 | %package devel | |
39 | Summary: Header files for GAUL library | |
b7bd9a0f | 40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GAUL |
e3984c00 | 41 | Group: Development/Libraries |
42 | Requires: %{name} = %{version}-%{release} | |
43 | ||
44 | %description devel | |
45 | Header files for GAUL library. | |
46 | ||
b7bd9a0f JR |
47 | %description devel -l pl.UTF-8 |
48 | Pliki nagłówkowe biblioteki GAUL. | |
e3984c00 | 49 | |
50 | %package static | |
51 | Summary: Static GAUL library | |
b7bd9a0f | 52 | Summary(pl.UTF-8): Statyczna biblioteka GAUL |
e3984c00 | 53 | Group: Development/Libraries |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | Static GAUL library. | |
58 | ||
b7bd9a0f | 59 | %description static -l pl.UTF-8 |
e3984c00 | 60 | Statyczna biblioteka GAUL. |
61 | ||
62 | %prep | |
63 | %setup -q -n %{name}-devel-%{version}-0 | |
64 | ||
65 | %build | |
f31e2fff | 66 | cp -f /usr/share/automake/config.sub . |
e3984c00 | 67 | %configure \ |
68 | --enable-g=no \ | |
69 | --enable-debug=no \ | |
70 | --enable-slang=no | |
71 | ||
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %post -p /sbin/ldconfig | |
84 | %postun -p /sbin/ldconfig | |
85 | ||
86 | %files | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS ChangeLog NEWS README | |
8d91e2e6 | 89 | %attr(755,root,root) %{_bindir}/* |
e3984c00 | 90 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
91 | ||
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
94 | %attr(755,root,root) %{_libdir}/lib*.so | |
95 | %{_libdir}/lib*.la | |
96 | %{_includedir}/* | |
97 | ||
98 | %files static | |
99 | %defattr(644,root,root,755) | |
100 | %{_libdir}/lib*.a |