]> git.pld-linux.org Git - packages/clan.git/blob - clan.spec
d74e6428c67ad064b30204026f5cc14f0be0c2c1
[packages/clan.git] / clan.spec
1 Summary:        Clan - a Polyhedral Representation Extraction Tool for C-Based High Level Languages
2 Summary(pl.UTF-8):      Clan - narzędzie do tworzenia reprezentacji wielościennej dla języków opartych na C
3 Name:           clan
4 Version:        0.8.0
5 Release:        1
6 License:        LGPL v3+
7 Group:          Libraries
8 #Source0Download: http://icps.u-strasbg.fr/people/bastoul/public_html/development/clan/
9 Source0:        http://icps.u-strasbg.fr/people/bastoul/public_html/development/clan/docs/%{name}-%{version}.tar.gz
10 # Source0-md5:  0dcba7f4bdf32159405f27ebce439d63
11 Patch0:         %{name}-info.patch
12 Patch1:         %{name}-osl.patch
13 URL:            http://icps.u-strasbg.fr/people/bastoul/public_html/development/clan/
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  bison >= 2.4
17 BuildRequires:  doxygen
18 BuildRequires:  flex >= 2.5.35
19 BuildRequires:  libtool
20 BuildRequires:  osl-devel >= 0.9.0
21 BuildRequires:  texinfo
22 BuildRequires:  texinfo-texi2dvi
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Clan is a free software and library which translates some particular
27 parts of high level programs written in C, C++, C# or Java into a
28 polyhedral representation called OpenScop. This representation may be
29 manipulated by other tools to, e.g., achieve complex analyses or
30 program restructurations (for optimization, parallelization or any
31 other kind of manipulation). It has been created to avoid tedious and
32 error-prone input file writing for polyhedral tools (such as CLooG,
33 LeTSeE, Clan etc.). Using Clan, the user has to deal with source
34 codes based on C grammar only (as C, C++, C# or Java).
35
36 %description -l pl.UTF-8
37 Clan (Chunky ANalyzer for Dependences in Loops - blokowy analizator
38 zależności w pętlach) to wolnodostępne oprogramowanie i biblioteka
39 służące do obliczeń zależności danych.
40
41 %package devel
42 Summary:        Header files for Clan library
43 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Clan
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       osl-devel >= 0.9.0
47
48 %description devel
49 Header files for Clan library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki Clan.
53
54 %package static
55 Summary:        Static Clan library
56 Summary(pl.UTF-8):      Statyczna biblioteka Clan
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static Clan library.
62
63 %description static -l pl.UTF-8
64 Statyczna biblioteka Clan.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69 %patch1 -p1
70
71 %build
72 %{__libtoolize}
73 %{__aclocal} -I m4
74 %{__autoconf}
75 %{__automake}
76 %configure \
77         --disable-silent-rules \
78         --with-osl=system
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %post   devel -p /sbin/postshell
95 -/usr/sbin/fix-info-dir -c %{_infodir}
96
97 %postun devel -p /sbin/postshell
98 -/usr/sbin/fix-info-dir -c %{_infodir}
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog README THANKS
103 %attr(755,root,root) %{_bindir}/clan
104 %attr(755,root,root) %{_libdir}/libclan.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libclan.so.0
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libclan.so
110 %{_libdir}/libclan.la
111 %{_includedir}/clan
112 %{_infodir}/clan.info*
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/libclan.a
This page took 0.053628 seconds and 2 git commands to generate.