]> git.pld-linux.org Git - SPECS.git/blob - libacovea.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libacovea.spec
1 Summary:        ACOVEA (Analysis of Compiler Options via Evolutionary Algorithm)
2 Name:           libacovea
3 Version:        5.1.1
4 Release:        3
5 License:        GPL
6 Group:          Libraries
7 URL:            http://www.coyotegulch.com/products/acovea/index.html
8 Source0:        http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz
9 # Source0-md5:  e3bfa6b782205bad083ba58a8b882158
10 Patch0:         %{name}-evocosm-latest.patch
11 Patch1:         %{name}-libs.patch
12 BuildRequires:  expat-devel
13 BuildRequires:  libcoyotl-devel >= 3.1.0
14 BuildRequires:  libevocosm-devel >= 3.1.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 ACOVEA (Analysis of Compiler Options via Evolutionary Algorithm)
19 implements a genetic algorithm to find the "best" options for
20 compiling programs with the GNU Compiler Collection (GCC) C and C++
21 compilers. "Best", in this context, is defined as those options that
22 produce the fastest executable program from a given source code.
23 Acovea is a C++ framework that can be extended to test other
24 programming languages and non-GCC compilers.
25
26 %package devel
27 Summary:        libacovea headers and documentation
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 libacovea libraries headers and documentation.
33
34 %package static
35 Summary:        libacovea static libraries
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38
39 %description static
40 libacovea static libraries.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p0
46
47 %build
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__automake}
52
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/*
68 %attr(755,root,root) %{_libdir}/lib*.so.*
69
70 %files devel
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/*.so
73 %{_libdir}/lib*.la
74 %dir %{_includedir}/%{name}
75 %{_includedir}/%{name}/*.h
76 %dir %{_datadir}/%{name}
77 %dir %{_datadir}/%{name}/benchmarks
78 %{_datadir}/%{name}/benchmarks/*
79 %dir %{_datadir}/%{name}/config
80 %{_datadir}/%{name}/config/*
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/lib*.a
This page took 0.270899 seconds and 3 git commands to generate.