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