1 # TODO: OpenScop support
2 Summary: The Chunky Loop Generator
3 Summary(pl.UTF-8): Chunky Loop Generator - generator pętli cząstkowych
8 Group: Development/Tools
9 Source0: http://www.bastoul.net/cloog/pages/download/cloog-%{version}.tar.gz
10 # Source0-md5: be78a47bd82523250eb3e91646db5b3d
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
16 BuildRequires: isl-devel >= 0.08
17 BuildRequires: libtool
18 BuildRequires: texinfo-texi2dvi
19 Requires: %{name}-libs = %{version}-%{release}
20 Provides: cloog = %{version}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
31 This version is based on isl.
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.
41 Ta wersja jest oparta na bibliotece isl.
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
50 Chunky Loop Generator shared library - isl based version.
52 %description libs -l pl.UTF-8
53 Biblioteka współdzielona Chunky Loop Generatora - wersja oparta na
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}
67 The header files for Chunky Loop Generator library.
69 %description devel -l pl.UTF-8
70 Pliki nagłówkowe biblioteki Chunky Loop Generatora.
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}
79 Static library of isl based version of Chunky Loop Generator.
81 %description static -l pl.UTF-8
82 Statyczna biblioteka opartej na isl wersji Chunky Loop Generatora.
85 %setup -q -n cloog-%{version}
89 --disable-silent-rules \
94 %{__make} -C doc cloog.pdf
97 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
103 rm -rf $RPM_BUILD_ROOT
105 %post libs -p /sbin/ldconfig
106 %postun libs -p /sbin/ldconfig
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_bindir}/cloog
113 %defattr(644,root,root,755)
114 %doc ChangeLog README
115 %attr(755,root,root) %{_libdir}/libcloog-isl.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libcloog-isl.so.4
119 %defattr(644,root,root,755)
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
130 %defattr(644,root,root,755)
131 %{_libdir}/libcloog-isl.a