3f9a781
Name:           cloog
2320792
%global         tarball_name %{name}
2320792
Version:        0.18.3
2320792
Release:        1%{?dist}
6f6f1fd
Epoch:		1
3f9a781
Summary:        The Chunky Loop Generator
6f6f1fd
3f9a781
Group:          System Environment/Libraries
3f9a781
License:        GPLv2+
a3d4bbe
URL:            http://www.cloog.org
6f6f1fd
2320792
# This tarball was retrieved directly from the Git source code
2320792
# repository of the Cloog project by doing:
2320792
#
2320792
#    git clone git://repo.or.cz/cloog.git -b cloog-0.18.3 cloog-0.18.3
2320792
#    tar -cvf cloog-0.18.3.tar.gz cloog-0.18.3
2320792
2320792
Source0:        cloog-0.18.3.tar.gz
2320792
2320792
BuildRequires:  isl-devel >= 0.12
34bbd26
BuildRequires:  gmp-devel >= 4.1.3
6f6f1fd
BuildRequires:  texinfo >= 4.12
2320792
BuildRequires:  texinfo-tex >= 4.12
34bbd26
BuildRequires:  libtool
2320792
Obsoletes:	cloog-ppl cloog-ppl-devel
34bbd26
6f6f1fd
Requires(post): info
6f6f1fd
Requires(preun): info
6f6f1fd
3f9a781
%description
3f9a781
CLooG is a software which generates loops for scanning Z-polyhedra. That is,
3f9a781
CLooG finds the code or pseudo-code where each integral point of one or more
3f9a781
parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
3f9a781
designed to avoid control overhead and to produce a very efficient code.
3f9a781
2320792
%package devel
2320792
Summary:        Development tools for the Chunky Loop Generator
3f9a781
Group:          Development/Libraries
2320792
Requires:       %{name} = %{epoch}:%{version}-%{release}
2320792
Requires:       isl-devel >= 0.12, gmp-devel >= 4.1.3
2320792
2320792
%description devel
3f9a781
The header files and dynamic shared libraries of the Chunky Loop Generator.
3f9a781
3f9a781
%prep
6f6f1fd
%setup -q -n %{tarball_name}-%{version}
3f9a781
3f9a781
%build
2320792
./autogen.sh
2320792
%configure \
2320792
    --with-isl=system \
2320792
    --with-isl-prefix=%{_prefix}
34bbd26
6f6f1fd
# Remove the cloog.info in the tarball
6f6f1fd
# to force the re-generation of a new one
6f6f1fd
test -f doc/cloog.info && rm doc/cloog.info
6f6f1fd
3f9a781
# Remove the -fomit-frame-pointer compile flag
34bbd26
# Use system libtool to disable standard rpath
34bbd26
make %{?_smp_mflags} AM_CFLAGS= LIBTOOL=%{_bindir}/libtool
2320792
make %{?_smp_mflags} AM_CFLAGS= LIBTOOL=%{_bindir}/libtool -C doc cloog.pdf
6f6f1fd
3f9a781
%install
2320792
%make_install INSTALL="%{__install} -p"
2320792
# GCC wants the library to be named libcloog.so, as it's what it uses
2320792
# at runtime.
2320792
rm %{buildroot}%{_libdir}/*/*.cmake
2320792
mkdir -p %{buildroot}%{_docdir}/cloog-%{version}
2320792
%{__install} -m0644 -p README LICENSE ChangeLog doc/cloog.pdf %{buildroot}%{_docdir}/cloog-%{version}
6f6f1fd
6f6f1fd
%clean
2320792
rm -rf %{buildroot}
3f9a781
2320792
%files
2320792
%{_docdir}/cloog-%{version}/README
2320792
%{_docdir}/cloog-%{version}/LICENSE
2320792
%{_docdir}/cloog-%{version}/ChangeLog
3f9a781
%{_bindir}/cloog
2320792
%{_libdir}/libcloog-isl.so.*
3f9a781
2320792
%files devel
3f9a781
%{_includedir}/cloog
2320792
%{_libdir}/libcloog-isl.so
2320792
%{_libdir}/pkgconfig/cloog-isl.pc
2320792
%exclude %{_libdir}/libcloog-isl.a
2320792
%exclude %{_libdir}/libcloog-isl.la
2320792
%{_docdir}/cloog-%{version}/cloog.pdf
6f6f1fd
2320792
%post
6f6f1fd
/sbin/ldconfig
6f6f1fd
test -f %{_infodir}/%{name}.info \
6f6f1fd
     && /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
6f6f1fd
2320792
%preun
6f6f1fd
if [ $1 = 0 ] ; then
6f6f1fd
  test -f %{_infodir}/%{name}.info && \
6f6f1fd
      /sbin/install-info \
6f6f1fd
          --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
6f6f1fd
fi
3f9a781
2320792
%postun -p /sbin/ldconfig
da25827
3f9a781
%changelog
2320792
* Mon Jan 12 2015 David Howells <dhowells@redhat.com> - 1:0.18.3-1
2320792
      	     	  Dodji Seketeli <dodji@seketeli.org>
2320792
- Update to upstream cloog-0.18.3
2320792
- Obsoletes the previous cloog-ppl package.
2320792
- Requires isl-devel.
2320792
- Ship the ChangeLog file.
2320792
- Ship the libcloog-isl.so* files.
2320792
50eca44
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.15.11-10
50eca44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
50eca44
a6a476e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.15.11-9
a6a476e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a6a476e
4762e0d
* Tue May 06 2014 Adam Williamson <awilliam@redhat.com> - 1:0.15.11-8
4762e0d
- rebuild for new libppl
4762e0d
c3c85cd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.15.11-7
c3c85cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c3c85cd
6b3dadd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.15.11-6
6b3dadd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6b3dadd
6f6f1fd
* Mon Dec  3 2012 Tom Callaway <spot@fedoraproject.org> - 1:0.15.11-5
6f6f1fd
- roll back to 0.15.11
6f6f1fd
2984ae6
* Mon Dec  3 2012 Tom Callaway <spot@fedoraproject.org> - 0.16.1-4
2984ae6
- undo hacks
2984ae6
f3a0561
* Mon Dec  3 2012 Tom Callaway <spot@fedoraproject.org> - 0.16.1-3
f3a0561
- put the hacky provides in the right place
f3a0561
c12091e
* Mon Dec  3 2012 Tom Callaway <spot@fedoraproject.org> - 0.16.1-2
c12091e
- hack to get the compilers built (will go away)
c12091e
5b2a312
* Fri Nov 30 2012 Tom Callaway <spot@fedoraproject.org> - 0.16.1-1
5b2a312
- update to 0.16.1
5b2a312
bb149cd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.11-4.1
bb149cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bb149cd
97d1223
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.11-3.1
97d1223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
97d1223
Marcela Mašláňová b82a5a1
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.15.11-2.1
Marcela Mašláňová b82a5a1
- rebuild with new gmp without compat lib
Marcela Mašláňová b82a5a1
Marcela Mašláňová 224ab7f
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.15.11-2
Marcela Mašláňová 224ab7f
- rebuilt once again with new gmp
Marcela Mašláňová 224ab7f
60b0513
* Tue Oct 18 2011  <dodji@redhat.com> - 0.15.11-1
60b0513
- Update to cloog 0.15.11
60b0513
Marcela Mašláňová 6fb8d88
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 0.15.9-2.1
Marcela Mašláňová 6fb8d88
- rebuild with new gmp
Marcela Mašláňová 6fb8d88
5629123
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.9-2
5629123
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5629123
3c33fcd
* Sat Nov 20 2010  <dodji@redhat.com> - 0.15.9-1
3c33fcd
- Long overdue update to upstream revision 0.15.9
3c33fcd
- Upstream fixes:
3c33fcd
  http://gcc.gnu.org/PR43012
3c33fcd
  Memory leaks
3c33fcd
  Use top_builddir, not undefined builddir
3c33fcd
  Uninitialised configure variables
3c33fcd
  Compilation with -Wc++-compat
3c33fcd
  Import cloog_domain_scatter from cloog trunk.
3c33fcd
- Remove unused git_revision macro.
3c33fcd
- Upate download URL to ftp://gcc.gnu.org/pub/gcc/infrastructure
3c33fcd
9994ae0
* Mon Mar 01 2010 Dodji Seketeli <dodji@redhat.com> - 0.15-7-1
9994ae0
- Add README and LICENSE file to package
9994ae0
- Escape '%%' character in the changelog
9994ae0
34bbd26
* Sat Aug 15 2009 Dodji Seketeli <dodji@redhat.com> - 0.15.7-1
34bbd26
- Update to new upstream version (0.15.7)
34bbd26
- Do not build from git snapshot anymore. Rather, got the tarball from
34bbd26
  ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.7.tar.gz
34bbd26
- The upstream tarball is named cloog-ppl, not cloog. Adjusted thusly.
34bbd26
- Use system libtool to disable standard rpath
34bbd26
- Do not try to touch the info file if it's not present. Closes #515929.
34bbd26
6065528
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-0.10.gitb9d79
6065528
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6065528
659d7e5
* Tue Jul 07 2009 Dodji Seketeli <dodji@redhat.com> - 0.15-0.9.gitb9d79
659d7e5
- Update to new upstream git snapshot.
659d7e5
- Update some comments in the spec file.
659d7e5
49ab3e7
* Thu Apr 09 2009 Dodji Seketeli <dodji@redhat.com> - 0.15-0.8.git1334c
49ab3e7
- Update to new upstream git snapshot
49ab3e7
- Drop the cloog.info patch as now upstreamed
49ab3e7
- No need to add an argument to the --with-ppl
49ab3e7
  configure switch anymore as new upstream fixed this
49ab3e7
fa5e1d6
* Wed Apr 08 2009 Dodji Seketeli <dodji@redhat.org> - 0.15-0.7.gitad322
fa5e1d6
- Add BuildRequire texinfo needed to regenerate the cloog.info doc
fa5e1d6
da25827
* Wed Apr 08 2009 Dodji Seketeli <dodji@redhat.org> - 0.15-0.6.gitad322
da25827
- Remove the cloog.info that is in the tarball
da25827
  That forces the regeneration of a new cloog.info with
da25827
  suitable INFO_DIR_SECTION, so that install-info doesn't cry
da25827
  at install time.
da25827
- Slightly changed the patch to make install-info actually
da25827
  install the cloog information in the info directory file.
9994ae0
- Run install-info --delete in %%preun, not in %%postun,
da25827
  otherwise the info file is long gone with we try to
da25827
  run install-info --delete on it.
da25827
da25827
* Mon Apr 06 2009 Dodji Seketeli <dodji@redhat.org> - 0.15-0.5.gitad322
281c838
- Added patch to fix #492794
281c838
- Need to add an argument to the --with-ppl switch now.
281c838
fc81cd8
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-0.4.gitad322
fc81cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fc81cd8
3f9a781
* Tue Feb 10 2009 Dodji Seketeli <dodji@redhat.org> 0.15-0.3.gitad322
3f9a781
- Updated to upstream git hash foo
3f9a781
- Generate cloog-ppl and cloog-ppl-devel packages instead of cloog and
3f9a781
  cloog-devel.
3f9a781
3f9a781
* Mon Dec 01 2008 Dodji Seketeli <dodji@redhat.com> 0.15-0.2.git57a0bc
3f9a781
- Updated to upstream git hash 57a0bcd97c08f44a983385ca0389eb624e66e3c7
3f9a781
- Remove the -fomit-frame-pointer compile flag
3f9a781
3f9a781
* Wed Sep 24 2008 Dodji Seketeli <dodji@redhat.com> 0.15-0.1.git95753
3f9a781
- Initial version from git hash 95753d83797fa9a389c0c07f7cf545e90d7867d7
3f9a781