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