]> git.pld-linux.org Git - packages/candl.git/blame - candl.spec
- x32 rebuild
[packages/candl.git] / candl.spec
CommitLineData
e7f613e6 1%define rel 2
cb695bf1
JB
2Summary: Candl - Data Dependence Analysis Tool in the Polyhedral Model
3Summary(pl.UTF-8): Candl - narzędzie do analizy zależności danych w modelu wielościennym
4Name: candl
5Version: 0.6.2
65a2ccbc 6%define snap 20140806
8952844f 7Release: 1.%{snap}.%{rel}
cb695bf1
JB
8License: LGPL v3+
9Group: Libraries
10Source0: http://web.cse.ohio-state.edu/~pouchet/software/pocc/download/modules/%{name}-%{version}.tar.gz
11# Source0-md5: 4e86392fa46a514b03532f93d9c83f8d
65a2ccbc
JB
12# git clone git://repo.or.cz/candl.git
13# git diff 0.6.2
14Patch0: %{name}-git.patch
15Patch1: %{name}-isl.patch
16Patch2: %{name}-info.patch
17Patch3: %{name}-system-libs.patch
cb695bf1 18URL: http://icps.u-strasbg.fr/people/bastoul/public_html/development/candl/
65a2ccbc
JB
19BuildRequires: autoconf >= 2.53
20BuildRequires: automake >= 1:1.9
cb695bf1
JB
21BuildRequires: gmp-devel
22# 0.12.x originally, 0.13 with isl patch
23BuildRequires: isl-devel >= 0.13
65a2ccbc
JB
24BuildRequires: libtool
25BuildRequires: osl-devel
cb695bf1 26BuildRequires: piplib-devel
cb695bf1
JB
27BuildRequires: texinfo
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Candl (Chunky ANalyzer for Dependences in Loops) is a free software
32and a library devoted to data dependences computation.
33
34%description -l pl.UTF-8
35Candl (Chunky ANalyzer for Dependences in Loops - blokowy analizator
36zależności w pętlach) to wolnodostępne oprogramowanie i biblioteka
37służące do obliczeń zależności danych.
38
39%package devel
40Summary: Header files for Candl library
41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Candl
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
44Requires: gmp-devel
45Requires: isl-devel >= 0.13
65a2ccbc 46Requires: osl-devel
cb695bf1 47Requires: piplib-devel
cb695bf1
JB
48
49%description devel
50Header files for Candl library.
51
52%description devel -l pl.UTF-8
53Pliki nagłówkowe biblioteki Candl.
54
55%package static
56Summary: Static Candl library
57Summary(pl.UTF-8): Statyczna biblioteka Candl
58Group: Development/Libraries
59Requires: %{name}-devel = %{version}-%{release}
60
61%description static
62Static Candl library.
63
64%description static -l pl.UTF-8
65Statyczna biblioteka Candl.
66
67%prep
68%setup -q
65a2ccbc
JB
69# clean after make dist to allow git patch
70%{__rm} include/candl/candl.h
cb695bf1
JB
71%patch0 -p1
72%patch1 -p1
65a2ccbc
JB
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
80install -d osl piplib
cb695bf1
JB
81
82%build
65a2ccbc
JB
83%{__libtoolize}
84%{__aclocal} -I m4
85%{__autoconf}
86%{__automake}
cb695bf1
JB
87%configure \
88 --enable-mp-version \
89 --disable-silent-rules
90
91%{__make}
92
93%install
94rm -rf $RPM_BUILD_ROOT
95
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
98
99%clean
100rm -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.658429 seconds and 4 git commands to generate.