3f9a781
Name:           cloog
34bbd26
%define         tarball_name %{name}-ppl
60b0513
Version:        0.15.11
bb149cd
Release:        4%{?dist}.1
3f9a781
Summary:        The Chunky Loop Generator
3f9a781
3f9a781
Group:          System Environment/Libraries
3f9a781
License:        GPLv2+
a3d4bbe
URL:            http://www.cloog.org
a3d4bbe
Source0:        ftp://gcc.gnu.org/pub/gcc/infrastructure/%{tarball_name}-%{version}.tar.gz
34bbd26
BuildRoot:      %{_tmppath}/%{tarball_name}-%{version}-%{release}-root-%(%{__id_u} -n)
34bbd26
34bbd26
BuildRequires:  ppl-devel >= 0.10
34bbd26
BuildRequires:  gmp-devel >= 4.1.3
34bbd26
BuildRequires:  texinfo >= 4.12
34bbd26
BuildRequires:  libtool
34bbd26
3f9a781
Requires(post): info
3f9a781
Requires(preun): info
3f9a781
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
3f9a781
%package ppl
3f9a781
Summary: Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
3f9a781
Group: Development/Libraries
3f9a781
%description ppl
3f9a781
The dynamic shared libraries of the Chunky Loop Generator
3f9a781
3f9a781
%package ppl-devel
3f9a781
Summary:        Development tools for the ppl based version of Chunky Loop Generator
3f9a781
Group:          Development/Libraries
3f9a781
Requires:       %{name}-ppl = %{version}-%{release}
3f9a781
Requires:       ppl-devel >= 0.10, gmp-devel >= 4.1.3
3f9a781
%description ppl-devel
3f9a781
The header files and dynamic shared libraries of the Chunky Loop Generator.
3f9a781
3f9a781
%prep
34bbd26
%setup -q -n %{tarball_name}-%{version}
3f9a781
3f9a781
%build
49ab3e7
%configure --with-ppl
34bbd26
da25827
# Remove the cloog.info in the tarball
da25827
# to force the re-generation of a new one
da25827
test -f doc/cloog.info && rm doc/cloog.info
34bbd26
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
3f9a781
3f9a781
3f9a781
%install
3f9a781
rm -rf $RPM_BUILD_ROOT
3f9a781
make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install
3f9a781
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
3f9a781
3f9a781
%clean
3f9a781
rm -rf $RPM_BUILD_ROOT
3f9a781
3f9a781
%files ppl
3f9a781
%defattr(-,root,root,-)
9994ae0
%doc README LICENSE
3f9a781
%{_infodir}/cloog.info*gz
3f9a781
%{_bindir}/cloog
3f9a781
%{_libdir}/libcloog.so.*
3f9a781
3f9a781
%files ppl-devel
3f9a781
%defattr(-,root,root,-)
3f9a781
%{_includedir}/cloog
3f9a781
%{_libdir}/libcloog.so
3f9a781
%exclude %{_libdir}/libcloog.a
3f9a781
%exclude %{_libdir}/libcloog.la
3f9a781
3f9a781
%post ppl
3f9a781
/sbin/ldconfig
34bbd26
test -f %{_infodir}/%{name}.info \
34bbd26
     && /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
3f9a781
da25827
%preun ppl
3f9a781
if [ $1 = 0 ] ; then
34bbd26
  test -f %{_infodir}/%{name}.info && \
34bbd26
      /sbin/install-info \
34bbd26
          --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
3f9a781
fi
3f9a781
da25827
%postun ppl -p /sbin/ldconfig
da25827
3f9a781
%changelog
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