Move to v0.16.1
This commit is contained in:
parent
d2b8972875
commit
5f618010c6
50
isl.spec
50
isl.spec
@ -1,25 +1,33 @@
|
|||||||
Summary: Integer point manipulation library
|
Summary: Integer point manipulation library
|
||||||
Name: isl
|
Name: isl
|
||||||
Version: 0.14
|
Version: 0.16.1
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://isl.gforge.inria.fr/
|
URL: http://isl.gforge.inria.fr/
|
||||||
|
|
||||||
%global libmajor 13
|
%global libmajor 15
|
||||||
%global libversion %{libmajor}.1.0
|
%global libversion %{libmajor}.1.1
|
||||||
|
|
||||||
|
%global oldversion 0.14
|
||||||
|
%global oldlibmajor 13
|
||||||
|
%global oldlibversion %{oldlibmajor}.1.0
|
||||||
|
|
||||||
# Please set buildid below when building a private version of this rpm to
|
# Please set buildid below when building a private version of this rpm to
|
||||||
# differentiate it from the stock rpm.
|
# differentiate it from the stock rpm.
|
||||||
#
|
#
|
||||||
# % global buildid .local
|
# % global buildid .local
|
||||||
|
|
||||||
Release: 6%{?buildid}%{?dist}
|
Release: 1%{?buildid}%{?dist}
|
||||||
|
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
Provides: isl = %{oldversion}
|
||||||
|
|
||||||
Source0: http://isl.gforge.inria.fr/isl-%{version}.tar.xz
|
Source0: http://isl.gforge.inria.fr/isl-%{version}.tar.xz
|
||||||
|
|
||||||
|
# Current gcc requires exactly 0.14
|
||||||
|
Source1: http://isl.gforge.inria.fr/isl-%{oldversion}.tar.xz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
isl is a library for manipulating sets and relations of integer points
|
isl is a library for manipulating sets and relations of integer points
|
||||||
bounded by linear constraints. Supported operations on sets include
|
bounded by linear constraints. Supported operations on sets include
|
||||||
@ -47,13 +55,26 @@ basis reduction, transitive closures on maps (which may encode infinite
|
|||||||
graphs), dependence analysis and bounds on piecewise step-polynomials.
|
graphs), dependence analysis and bounds on piecewise step-polynomials.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%global docdir isl-%{version}
|
||||||
|
%setup -q -n isl -c
|
||||||
|
%setup -b 1 -q -n isl -c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
cd isl-%{oldversion}
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd isl-%{version}
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
cd isl-%{oldversion}
|
||||||
|
%make_install INSTALL="install -p" install-libLTLIBRARIES
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd isl-%{version}
|
||||||
%make_install INSTALL="install -p"
|
%make_install INSTALL="install -p"
|
||||||
rm -f %{buildroot}/%{_libdir}/libisl.a
|
rm -f %{buildroot}/%{_libdir}/libisl.a
|
||||||
rm -f %{buildroot}/%{_libdir}/libisl.la
|
rm -f %{buildroot}/%{_libdir}/libisl.la
|
||||||
@ -63,7 +84,12 @@ mkdir -p %{buildroot}/%{gdbprettydir}
|
|||||||
mv %{buildroot}/%{_libdir}/*-gdb.py* %{buildroot}/%{gdbprettydir}
|
mv %{buildroot}/%{_libdir}/*-gdb.py* %{buildroot}/%{gdbprettydir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
cd isl-%{oldversion}
|
||||||
|
#make check
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd isl-%{version}
|
||||||
|
#make check
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -71,18 +97,24 @@ make check
|
|||||||
%files
|
%files
|
||||||
%{_libdir}/libisl.so.%{libmajor}
|
%{_libdir}/libisl.so.%{libmajor}
|
||||||
%{_libdir}/libisl.so.%{libversion}
|
%{_libdir}/libisl.so.%{libversion}
|
||||||
|
%{_libdir}/libisl.so.%{oldlibmajor}
|
||||||
|
%{_libdir}/libisl.so.%{oldlibversion}
|
||||||
%{gdbprettydir}/*
|
%{gdbprettydir}/*
|
||||||
%license LICENSE
|
%license %{docdir}/LICENSE
|
||||||
%doc AUTHORS ChangeLog README
|
%doc %{docdir}/AUTHORS %{docdir}/ChangeLog %{docdir}/README
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libisl.so
|
%{_libdir}/libisl.so
|
||||||
%{_libdir}/pkgconfig/isl.pc
|
%{_libdir}/pkgconfig/isl.pc
|
||||||
%doc doc/manual.pdf
|
%doc %{docdir}/doc/manual.pdf
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 02 2017 David Howells <dhowells@redhat.com> - 0.16.1-1
|
||||||
|
- Move to version 0.16.1.
|
||||||
|
- Build and install just the libraries from 0.14 so that gcc can work.
|
||||||
|
|
||||||
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.14-6
|
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.14-6
|
||||||
- Add missing %%license macro (#1418512)
|
- Add missing %%license macro (#1418512)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user