Blame SPECS/isl.spec

a3c673
Summary: Integer point manipulation library
a3c673
Name: isl
a3c673
Version: 0.16.1
a3c673
License: MIT
a3c673
Group: System Environment/Libraries
a3c673
URL: http://isl.gforge.inria.fr/
a3c673
a3c673
%global libmajor 15
a3c673
%global libversion %{libmajor}.1.1
a3c673
a3c673
%global oldversion 0.14
a3c673
%global oldlibmajor 13
a3c673
%global oldlibversion %{oldlibmajor}.1.0
a3c673
a3c673
# Please set buildid below when building a private version of this rpm to
a3c673
# differentiate it from the stock rpm.
a3c673
#
a3c673
# % global buildid .local
a3c673
a3c673
Release: 6%{?buildid}%{?dist}
a3c673
a3c673
BuildRequires: gmp-devel
a3c673
BuildRequires: pkgconfig
a3c673
Provides: isl = %{oldversion}
a3c673
a3c673
Source0: http://isl.gforge.inria.fr/isl-%{version}.tar.xz
a3c673
a3c673
# Current gcc requires exactly 0.14
a3c673
Source1: http://isl.gforge.inria.fr/isl-%{oldversion}.tar.xz
a3c673
a3c673
%description
a3c673
isl is a library for manipulating sets and relations of integer points
a3c673
bounded by linear constraints.  Supported operations on sets include
a3c673
intersection, union, set difference, emptiness check, convex hull,
a3c673
(integer) affine hull, integer projection, computing the lexicographic
a3c673
minimum using parametric integer programming, coalescing and parametric
a3c673
vertex enumeration.  It also includes an ILP solver based on generalized
a3c673
basis reduction, transitive closures on maps (which may encode infinite
a3c673
graphs), dependence analysis and bounds on piecewise step-polynomials.
a3c673
a3c673
%package devel
a3c673
Summary: Development for building integer point manipulation library
a3c673
Requires: isl%{?_isa} == %{version}-%{release}
a3c673
Requires: gmp-devel%{?_isa}
a3c673
Group: Development/Libraries
a3c673
a3c673
%description devel
a3c673
isl is a library for manipulating sets and relations of integer points
a3c673
bounded by linear constraints.  Supported operations on sets include
a3c673
intersection, union, set difference, emptiness check, convex hull,
a3c673
(integer) affine hull, integer projection, computing the lexicographic
a3c673
minimum using parametric integer programming, coalescing and parametric
a3c673
vertex enumeration.  It also includes an ILP solver based on generalized
a3c673
basis reduction, transitive closures on maps (which may encode infinite
a3c673
graphs), dependence analysis and bounds on piecewise step-polynomials.
a3c673
a3c673
%prep
a3c673
%global docdir isl-%{version}
a3c673
%setup -a 1 -q -n isl -c
a3c673
a3c673
%build
a3c673
cd isl-%{oldversion}
a3c673
%configure
a3c673
make %{?_smp_mflags} V=1
a3c673
cd ..
a3c673
a3c673
cd isl-%{version}
a3c673
%configure
a3c673
make %{?_smp_mflags} V=1
a3c673
a3c673
%install
a3c673
cd isl-%{oldversion}
a3c673
%make_install INSTALL="install -p" install-libLTLIBRARIES
a3c673
cd ..
a3c673
a3c673
cd isl-%{version}
a3c673
%make_install INSTALL="install -p"
a3c673
rm -f %{buildroot}/%{_libdir}/libisl.a
a3c673
rm -f %{buildroot}/%{_libdir}/libisl.la
a3c673
mkdir -p %{buildroot}/%{_datadir}
a3c673
%global gdbprettydir %{_datadir}/gdb/auto-load/%{_libdir}
a3c673
mkdir -p %{buildroot}/%{gdbprettydir}
a3c673
mv %{buildroot}/%{_libdir}/*-gdb.py* %{buildroot}/%{gdbprettydir}
a3c673
a3c673
%check
a3c673
cd isl-%{oldversion}
a3c673
#make check
a3c673
cd ..
a3c673
a3c673
cd isl-%{version}
a3c673
#make check
a3c673
a3c673
%post -p /sbin/ldconfig
a3c673
%postun -p /sbin/ldconfig
a3c673
a3c673
%files
a3c673
%{_libdir}/libisl.so.%{libmajor}
a3c673
%{_libdir}/libisl.so.%{libversion}
a3c673
%{_libdir}/libisl.so.%{oldlibmajor}
a3c673
%{_libdir}/libisl.so.%{oldlibversion}
a3c673
%{gdbprettydir}/*
a3c673
%license %{docdir}/LICENSE
a3c673
%doc %{docdir}/AUTHORS %{docdir}/ChangeLog %{docdir}/README
a3c673
a3c673
%files devel
a3c673
%{_includedir}/*
a3c673
%{_libdir}/libisl.so
a3c673
%{_libdir}/pkgconfig/isl.pc
a3c673
%doc %{docdir}/doc/manual.pdf
a3c673
a3c673
a3c673
%changelog
a3c673
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.16.1-6
a3c673
- Escape macros in %%changelog
a3c673
a3c673
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-5
a3c673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a3c673
a3c673
* Fri Sep 15 2017 Troy Dawson <tdawson@redhat.com> - 0.16.1-4
a3c673
- Fix %%setup options
a3c673
a3c673
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-3
a3c673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a3c673
a3c673
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
a3c673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a3c673
a3c673
* Thu Feb 02 2017 David Howells <dhowells@redhat.com> - 0.16.1-1
a3c673
- Move to version 0.16.1.
a3c673
- Build and install just the libraries from 0.14 so that gcc can work.
a3c673
a3c673
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.14-6
a3c673
- Add missing %%license macro (#1418512)
a3c673
a3c673
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-5
a3c673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a3c673
a3c673
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
a3c673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a3c673
a3c673
* Mon Jan 5 2015 David Howells <dhowells@redhat.com> - 0.14-3
a3c673
- Initial packaging.