]>
Commit | Line | Data |
---|---|---|
cb695bf1 JB |
1 | Summary: Candl - Data Dependence Analysis Tool in the Polyhedral Model |
2 | Summary(pl.UTF-8): Candl - narzędzie do analizy zależności danych w modelu wielościennym | |
3 | Name: candl | |
4 | Version: 0.6.2 | |
5 | Release: 1 | |
6 | License: LGPL v3+ | |
7 | Group: Libraries | |
8 | Source0: http://web.cse.ohio-state.edu/~pouchet/software/pocc/download/modules/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 4e86392fa46a514b03532f93d9c83f8d | |
10 | Patch0: %{name}-isl.patch | |
11 | Patch1: %{name}-info.patch | |
12 | URL: http://icps.u-strasbg.fr/people/bastoul/public_html/development/candl/ | |
13 | BuildRequires: gmp-devel | |
14 | # 0.12.x originally, 0.13 with isl patch | |
15 | BuildRequires: isl-devel >= 0.13 | |
16 | BuildRequires: piplib-devel | |
17 | BuildRequires: scoplib-devel >= 0.2.1-2 | |
18 | BuildRequires: texinfo | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Candl (Chunky ANalyzer for Dependences in Loops) is a free software | |
23 | and a library devoted to data dependences computation. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Candl (Chunky ANalyzer for Dependences in Loops - blokowy analizator | |
27 | zależności w pętlach) to wolnodostępne oprogramowanie i biblioteka | |
28 | służące do obliczeń zależności danych. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for Candl library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Candl | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: gmp-devel | |
36 | Requires: isl-devel >= 0.13 | |
37 | Requires: piplib-devel | |
38 | Requires: scoplib-devel >= 0.2.1-2 | |
39 | ||
40 | %description devel | |
41 | Header files for Candl library. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki nagłówkowe biblioteki Candl. | |
45 | ||
46 | %package static | |
47 | Summary: Static Candl library | |
48 | Summary(pl.UTF-8): Statyczna biblioteka Candl | |
49 | Group: Development/Libraries | |
50 | Requires: %{name}-devel = %{version}-%{release} | |
51 | ||
52 | %description static | |
53 | Static Candl library. | |
54 | ||
55 | %description static -l pl.UTF-8 | |
56 | Statyczna biblioteka Candl. | |
57 | ||
58 | %prep | |
59 | %setup -q | |
60 | %patch0 -p1 | |
61 | %patch1 -p1 | |
62 | ||
63 | %build | |
64 | %configure \ | |
65 | --enable-mp-version \ | |
66 | --disable-silent-rules | |
67 | ||
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %post devel -p /sbin/postshell | |
83 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
84 | ||
85 | %postun devel -p /sbin/postshell | |
86 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
90 | %doc AUTHORS ChangeLog README | |
91 | %attr(755,root,root) %{_bindir}/candl | |
92 | %attr(755,root,root) %{_libdir}/libcandl.so.*.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/libcandl.so.0 | |
94 | ||
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
97 | %attr(755,root,root) %{_libdir}/libcandl.so | |
98 | %{_libdir}/libcandl.la | |
99 | %{_includedir}/candl | |
100 | %{_infodir}/candl.info* | |
101 | ||
102 | %files static | |
103 | %defattr(644,root,root,755) | |
104 | %{_libdir}/libcandl.a |