blob: f0511fbad34b5f69e2d8e8504cc9b60d6f0547bd (
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
|
%define keepstatic 1
Name: cloog
Version: 0.15.10
Release: 0
Summary: The Chunky Loop Generator
License: GPL-2.0+
Group: Development/Languages/C and C++
Url: http://www.cloog.org/
Source: cloog-ppl-0.15.10.tar.bz2
Source1: baselibs.conf
BuildRequires: libtool
BuildRequires: ppl-devel
%description
CLooG is a free software and library to generate code for scanning
Z-polyhedra. It is used by the GCC Graphite optimization framework.
%package devel
Summary: Development tools for CLOOG
Group: Development/Languages/C and C++
Requires: libcloog = %{version}-%{release}
%description devel
Development tools and headers for the Chunky Loop Generator.
%package -n libcloog
Summary: The CLOOG shared library
Group: Development/Languages/C and C++
%description -n libcloog
The shared library for the Chunky Loop Generator.
%prep
%setup -q -n cloog-ppl-0.15.10
%build
./autogen.sh
%configure --with-ppl
make %{_smp_mflags}
%check
make %{_smp_mflags} check
%install
%make_install
%post -n libcloog -p /sbin/ldconfig
%postun -n libcloog -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/cloog
%doc %{_infodir}/cloog.info*gz
%files -n libcloog
%defattr(-,root,root,-)
%{_libdir}/libcloog.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/cloog
%{_libdir}/libcloog.so
%{_libdir}/libcloog.a
%changelog
|