--- /dev/null
+--- clan-0.8.0/doc/Makefile.am.orig 2014-10-05 15:00:13.715909221 +0200
++++ clan-0.8.0/doc/Makefile.am 2014-10-05 15:00:20.782575591 +0200
+@@ -65,10 +65,11 @@
+ clan.texi \
+ clan.pdf
+
++info_TEXINFOS =
++AM_MAKEINFOHTMLFLAGS = --no-headers --no-split
+ if GENERATE_DOC
+ # Unfortunately the following is not supported conditionaly
+-#info_TEXINFOS = clan.texi
+-#AM_MAKEINFOHTMLFLAGS = --no-headers --no-split
++info_TEXINFOS += clan.texi
+
+ clan.pdf: clan.texi
+ $(TEXI2PDF) clan.texi
+--- clan-0.8.0/doc/clan.texi.orig 2014-06-03 17:55:58.000000000 +0200
++++ clan-0.8.0/doc/clan.texi 2014-10-05 14:52:41.125928208 +0200
+@@ -33,6 +33,11 @@
+ @afourpaper
+ @end iftex
+
++@dircategory Programming tools:
++@direntry
++* Clan: (clan). A Polyhedral Representation Extraction Tool for C-Based High Level Langauges
++@end direntry
++
+ @c %**end of header
+
+ @c % /*************************************************************************
--- /dev/null
+Summary: Clan - a Polyhedral Representation Extraction Tool for C-Based High Level Languages
+Summary(pl.UTF-8): Clan - narzędzie do tworzenia reprezentacji wielościennej dla języków opartych na C
+Name: clan
+Version: 0.8.0
+Release: 1
+License: LGPL v3+
+Group: Libraries
+#Source0Download: http://icps.u-strasbg.fr/people/bastoul/public_html/development/clan/
+Source0: http://icps.u-strasbg.fr/people/bastoul/public_html/development/clan/docs/%{name}-%{version}.tar.gz
+# Source0-md5: 0dcba7f4bdf32159405f27ebce439d63
+Patch0: %{name}-info.patch
+Patch1: %{name}-osl.patch
+URL: http://icps.u-strasbg.fr/people/bastoul/public_html/development/clan/
+BuildRequires: autoconf >= 2.53
+BuildRequires: automake
+BuildRequires: bison >= 2.4
+BuildRequires: doxygen
+BuildRequires: flex >= 2.5.35
+BuildRequires: libtool
+BuildRequires: osl-devel >= 0.9.0
+BuildRequires: texinfo
+BuildRequires: texinfo-texi2dvi
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Clan is a free software and library which translates some particular
+parts of high level programs written in C, C++, C# or Java into a
+polyhedral representation called OpenScop. This representation may be
+manipulated by other tools to, e.g., achieve complex analyses or
+program restructurations (for optimization, parallelization or any
+other kind of manipulation). It has been created to avoid tedious and
+error-prone input file writing for polyhedral tools (such as CLooG,
+LeTSeE, Clan etc.). Using Clan, the user has to deal with source
+codes based on C grammar only (as C, C++, C# or Java).
+
+%description -l pl.UTF-8
+Clan (Chunky ANalyzer for Dependences in Loops - blokowy analizator
+zależności w pętlach) to wolnodostępne oprogramowanie i biblioteka
+służące do obliczeń zależności danych.
+
+%package devel
+Summary: Header files for Clan library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Clan
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: osl-devel >= 0.9.0
+
+%description devel
+Header files for Clan library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Clan.
+
+%package static
+Summary: Static Clan library
+Summary(pl.UTF-8): Statyczna biblioteka Clan
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static Clan library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka Clan.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ --with-osl=system
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README THANKS
+%attr(755,root,root) %{_bindir}/clan
+%attr(755,root,root) %{_libdir}/libclan.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libclan.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libclan.so
+%{_libdir}/libclan.la
+%{_includedir}/clan
+%{_infodir}/clan.info*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libclan.a