blob: 417bd8b0015def66ff6347d26d32dd2114fd5b28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
#
# >> macros
# << macros
Name: cloog
Summary: The Chunky Loop Generator
Version: 0.15.9
Release: 1
Group: System/Libraries
License: GPLv2+
URL: http://www.cloog.org
Source0: %{name}-ppl-%{version}.tar.gz
Source1001: packaging/cloog.manifest
BuildRequires: ppl-devel >= 0.10.2
BuildRequires: gmp-devel >= 4.1.3
BuildRequires: libtool
%description
CLooG is a software which generates loops for scanning Z-polyhedra. That is,
CLooG finds the code or pseudo-code where each integral point of one or more
parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
designed to avoid control overhead and to produce a very efficient code.
%package ppl-devel
Summary: Development tools for the ppl based version of Chunky Loop Generator
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-ppl = %{version}-%{release}
Requires: ppl-devel >= 0.10, gmp-devel >= 4.1.3
%description ppl-devel
The header files and dynamic shared libraries of the Chunky Loop Generator.
%package ppl
Summary: Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description ppl
The dynamic shared libraries of the Chunky Loop Generator
%prep
%setup -q -n %{name}-ppl-%{version}
# >> setup
# << setup
%build
cp %{SOURCE1001} .
# >> build pre
# << build pre
%configure --disable-static \
--with-ppl
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
rm -rf %{buildroot}/%{_infodir}
# << install post
%post ppl -p /sbin/ldconfig
%postun ppl -p /sbin/ldconfig
%files
%manifest cloog.manifest
%defattr(-,root,root,-)
# >> files
# << files
%files ppl-devel
%manifest cloog.manifest
%defattr(-,root,root,-)
# >> files ppl-devel
%{_includedir}/cloog
%{_libdir}/libcloog.so
# << files ppl-devel
%files ppl
%manifest cloog.manifest
%defattr(-,root,root,-)
# >> files ppl
%{_bindir}/cloog
%{_libdir}/libcloog.so.*
# << files ppl
|