]>
Commit | Line | Data |
---|---|---|
09bdb9e1 | 1 | Summary: A C++ Framework for Evolutionary Computing |
2 | Name: libevocosm | |
ff7a8a1b | 3 | Version: 3.3.1 |
09bdb9e1 | 4 | Release: 1 |
5 | License: GPL | |
6 | Group: Libraries | |
7 | URL: http://www.coyotegulch.com/products/libcoyotl/index.html | |
ff7a8a1b | 8 | Source0: http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 9975e9375aaf6a9365f62ceca58518ea | |
10 | BuildRequires: libbrahe-devel | |
11 | BuildRequires: libcoyotl-devel = 3.1.0 | |
09bdb9e1 | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | libevocosm, a collection of tools for creating a wide variety of | |
16 | evolutionary algorithms. | |
17 | ||
18 | %package devel | |
19 | Summary: libcoyotl headers and documentation | |
20 | Group: Development/Libraries | |
21 | Requires: %{name} = %{version}-%{release} | |
22 | ||
23 | %description devel | |
24 | libevocosm libraries headers and documentation. | |
25 | ||
26 | %package static | |
27 | Summary: libevocosm static libraries | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description static | |
32 | libevocosm static libraries. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %configure | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %attr(755,root,root) %{_libdir}/lib*.so.* | |
54 | ||
55 | %files devel | |
56 | %defattr(644,root,root,755) | |
57 | %attr(755,root,root) %{_libdir}/*.so | |
58 | %{_libdir}/lib*.la | |
59 | %dir %{_includedir}/%{name} | |
60 | %{_includedir}/%{name}/*.h | |
ff7a8a1b | 61 | %dir %{_docdir}/%{name} |
09bdb9e1 | 62 | %dir %{_docdir}/%{name}/api |
63 | %{_docdir}/%{name}/api/* | |
64 | ||
65 | %files static | |
66 | %defattr(644,root,root,755) | |
67 | %{_libdir}/lib*.a |