]>
Commit | Line | Data |
---|---|---|
16fd4dbc | 1 | # TODO: OpenScop support |
748bb20d JB |
2 | Summary: The Chunky Loop Generator |
3 | Summary(pl.UTF-8): Chunky Loop Generator - generator pętli cząstkowych | |
4 | Name: cloog-isl | |
16fd4dbc | 5 | Version: 0.18.0 |
748bb20d JB |
6 | Release: 1 |
7 | License: LGPL v2.1+ | |
8 | Group: Development/Tools | |
9 | Source0: http://www.bastoul.net/cloog/pages/download/cloog-%{version}.tar.gz | |
16fd4dbc | 10 | # Source0-md5: be78a47bd82523250eb3e91646db5b3d |
748bb20d JB |
11 | URL: http://www.cloog.org/ |
12 | BuildRequires: autoconf >= 2.13 | |
13 | BuildRequires: automake | |
14 | BuildRequires: gmp-devel >= 5.0.2 | |
15 | BuildRequires: gmp-c++-devel >= 5.0.2 | |
748bb20d | 16 | BuildRequires: isl-devel >= 0.08 |
16fd4dbc JB |
17 | BuildRequires: libtool |
18 | BuildRequires: texinfo-texi2dvi | |
748bb20d JB |
19 | Requires: %{name}-libs = %{version}-%{release} |
20 | Provides: cloog = %{version} | |
21 | Obsoletes: cloog | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | CLooG is a software which generates loops for scanning Z-polyhedra. | |
26 | That is, CLooG finds the code or pseudo-code where each integral point | |
27 | of one or more parametrized polyhedron or parametrized polyhedra union | |
28 | is reached. CLooG is designed to avoid control overhead and to produce | |
29 | a very efficient code. | |
30 | ||
31 | This version is based on isl. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | CLooG to oprogramowanie generujące pętle do przeszukiwania | |
35 | Z-wielościanów (Z-polyhedra). Oznacza to, że CLooG znajduje kod lub | |
36 | pseudokod osiągający każdy punkt całkowity jednego lub większej liczby | |
37 | sparametryzowanych wielościanów lub sum sparametryzowanych | |
38 | wielościanów. CLooG jest zaprojektowany z myślą o zapobieganiu | |
39 | narzutowi na sterowaniu oraz generowaniu bardzo wydajnego kodu. | |
40 | ||
41 | Ta wersja jest oparta na bibliotece isl. | |
42 | ||
43 | %package libs | |
44 | Summary: Chunky Loop Generator shared library - isl based version | |
45 | Summary(pl.UTF-8): Biblioteka współdzielona Chunky Loop Generatora - wersja oparta na isl | |
46 | Group: Libraries | |
47 | Requires: isl >= 0.08 | |
48 | ||
49 | %description libs | |
50 | Chunky Loop Generator shared library - isl based version. | |
51 | ||
52 | %description libs -l pl.UTF-8 | |
53 | Biblioteka współdzielona Chunky Loop Generatora - wersja oparta na | |
54 | isl. | |
55 | ||
56 | %package devel | |
57 | Summary: Header files for the isl based version of Chunky Loop Generator | |
58 | Summary(pl.UTF-8): Pliki nagłówkowe opartej na isl wersji Chunky Loop Generatora | |
59 | Group: Development/Libraries | |
60 | Requires: %{name}-libs = %{version}-%{release} | |
61 | Requires: gmp-devel >= 5.0.2 | |
62 | Requires: gmp-c++-devel >= 5.0.2 | |
63 | Requires: isl-devel >= 0.08 | |
64 | Provides: cloog-devel = %{version} | |
65 | ||
66 | %description devel | |
67 | The header files for Chunky Loop Generator library. | |
68 | ||
69 | %description devel -l pl.UTF-8 | |
70 | Pliki nagłówkowe biblioteki Chunky Loop Generatora. | |
71 | ||
72 | %package static | |
73 | Summary: Static library of isl based version of Chunky Loop Generator | |
74 | Summary(pl.UTF-8): Statyczna biblioteka opartej na isl wersji Chunky Loop Generatora | |
75 | Group: Development/Libraries | |
76 | Requires: %{name}-devel = %{version}-%{release} | |
77 | ||
78 | %description static | |
79 | Static library of isl based version of Chunky Loop Generator. | |
80 | ||
81 | %description static -l pl.UTF-8 | |
82 | Statyczna biblioteka opartej na isl wersji Chunky Loop Generatora. | |
83 | ||
84 | %prep | |
85 | %setup -q -n cloog-%{version} | |
86 | ||
87 | %build | |
88 | %configure \ | |
89 | --disable-silent-rules \ | |
90 | --with-isl=system | |
91 | ||
92 | %{__make} | |
93 | ||
16fd4dbc JB |
94 | %{__make} -C doc cloog.pdf |
95 | ||
748bb20d JB |
96 | %install |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %{__make} install \ | |
100 | DESTDIR=$RPM_BUILD_ROOT | |
101 | ||
102 | %clean | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %post libs -p /sbin/ldconfig | |
106 | %postun libs -p /sbin/ldconfig | |
107 | ||
108 | %files | |
109 | %defattr(644,root,root,755) | |
110 | %attr(755,root,root) %{_bindir}/cloog | |
111 | ||
112 | %files libs | |
113 | %defattr(644,root,root,755) | |
114 | %doc ChangeLog README | |
115 | %attr(755,root,root) %{_libdir}/libcloog-isl.so.*.*.* | |
16fd4dbc | 116 | %attr(755,root,root) %ghost %{_libdir}/libcloog-isl.so.4 |
748bb20d JB |
117 | |
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
120 | %doc doc/cloog.pdf | |
121 | %attr(755,root,root) %{_libdir}/libcloog-isl.so | |
122 | %{_libdir}/libcloog-isl.la | |
123 | %dir %{_includedir}/cloog | |
124 | %{_includedir}/cloog/*.h | |
125 | %{_includedir}/cloog/isl | |
126 | %{_includedir}/cloog/matrix | |
127 | %{_pkgconfigdir}/cloog-isl.pc | |
128 | ||
129 | %files static | |
130 | %defattr(644,root,root,755) | |
131 | %{_libdir}/libcloog-isl.a |