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