]> git.pld-linux.org Git - packages/candl.git/blob - candl.spec
- added opt patch (adjust CFLAGS check for current autoconf); release 3
[packages/candl.git] / candl.spec
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.3
5 Release:        3
6 License:        LGPL v3+
7 Group:          Libraries
8 #Source0:       http://web.cse.ohio-state.edu/~pouchet/software/pocc/download/modules/%{name}-0.6.2.tar.gz
9 #Source0Download: https://github.com/periscop/candl/tags
10 Source0:        https://github.com/periscop/candl/archive/%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5:  392176a94ee0c99cdb45797568cda786
12 Patch0:         %{name}-piplib.patch
13 Patch1:         %{name}-isl.patch
14 Patch2:         %{name}-info.patch
15 Patch3:         %{name}-opt.patch
16 URL:            http://icps.u-strasbg.fr/people/bastoul/public_html/development/candl/
17 BuildRequires:  autoconf >= 2.53
18 BuildRequires:  automake >= 1:1.9
19 BuildRequires:  gmp-devel
20 # 0.12.x originally, 0.13 with isl patch
21 BuildRequires:  isl-devel >= 0.13
22 BuildRequires:  libtool
23 BuildRequires:  osl-devel >= 0.9.4
24 BuildRequires:  piplib-devel >= 1.4.0
25 BuildRequires:  texinfo
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Candl (Chunky ANalyzer for Dependences in Loops) is a free software
30 and a library devoted to data dependences computation.
31
32 %description -l pl.UTF-8
33 Candl (Chunky ANalyzer for Dependences in Loops - blokowy analizator
34 zależności w pętlach) to wolnodostępne oprogramowanie i biblioteka
35 służące do obliczeń zależności danych.
36
37 %package devel
38 Summary:        Header files for Candl library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Candl
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       gmp-devel
43 Requires:       isl-devel >= 0.13
44 Requires:       osl-devel >= 0.9.4
45 Requires:       piplib-devel >= 1.4.0
46
47 %description devel
48 Header files for Candl library.
49
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki Candl.
52
53 %package static
54 Summary:        Static Candl library
55 Summary(pl.UTF-8):      Statyczna biblioteka Candl
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static Candl library.
61
62 %description static -l pl.UTF-8
63 Statyczna biblioteka Candl.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68 %patch1 -p1
69 %patch2 -p1
70 %patch3 -p1
71
72 %build
73 %{__libtoolize}
74 %{__aclocal} -I m4
75 %{__autoconf}
76 %{__automake}
77 %configure \
78         --enable-mp-version \
79         --disable-silent-rules
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %post   devel -p /sbin/postshell
96 -/usr/sbin/fix-info-dir -c %{_infodir}
97
98 %postun devel -p /sbin/postshell
99 -/usr/sbin/fix-info-dir -c %{_infodir}
100
101 %files
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog README
104 %attr(755,root,root) %{_bindir}/candl
105 %attr(755,root,root) %{_libdir}/libcandl.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libcandl.so.0
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libcandl.so
111 %{_libdir}/libcandl.la
112 %{_includedir}/candl
113 %dir %{_libdir}/candl
114 %{_libdir}/candl/candl-config.cmake
115 %{_infodir}/candl.info*
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libcandl.a
This page took 0.213061 seconds and 3 git commands to generate.