SHA256
1
0
forked from pool/ppl

Accepting request 526296 from devel:libraries:c_c++

as discussed a priori with rguenther, transfer the package to /science with new maintainer

OBS-URL: https://build.opensuse.org/request/show/526296
OBS-URL: https://build.opensuse.org/package/show/science/ppl?expand=0&rev=1
This commit is contained in:
Matthias Mailänder 2017-09-19 15:50:06 +00:00 committed by Git OBS Bridge
commit 1318253325
12 changed files with 1981 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

1220
GLS-0.12-1.1 Normal file

File diff suppressed because it is too large Load Diff

6
baselibs.conf Normal file
View File

@ -0,0 +1,6 @@
libppl14
libppl_c4
ppl-devel
requires -ppl-<targettype>
requires "libppl14-<targettype> = <version>"
requires "libppl_c4-<targettype> = <version>"

3
ppl-1.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:691f0d5a4fb0e206f4e132fc9132c71d6e33cdda168470d40ac3cf62340e9a60
size 14136236

BIN
ppl-1.2.tar.xz.sign Normal file

Binary file not shown.

20
ppl-testsuite.changes Normal file
View File

@ -0,0 +1,20 @@
-------------------------------------------------------------------
Tue Mar 5 19:30:04 UTC 2013 - idonmez@suse.com
- Add ppl-gmp-5.1.0.patch to fix build with new gmp
-------------------------------------------------------------------
Tue Jan 24 12:20:24 UTC 2012 - jengelh@medozas.de
- Remove redundant sections (see specfile guidelines)
-------------------------------------------------------------------
Sun Jun 21 11:23:52 CEST 2009 - coolo@suse.de
- add empty %install section to fix build
-------------------------------------------------------------------
Tue Jun 16 14:44:47 CEST 2009 - coolo@novell.com
- build test suite in a package on its own

205
ppl-testsuite.spec Normal file
View File

@ -0,0 +1,205 @@
#
# spec file for package ppl
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define so_name 14
Name: ppl-testsuite
Version: 1.2
Release: 0
Summary: The Parma Polyhedra Library
License: GPL-3.0+
Group: Development/Libraries/C and C++
Url: http://bugseng.com/products/ppl/
#Git-Web: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=summary
#Git-Clone: git://git.cs.unipr.it/ppl/ppl
Source: http://bugseng.com/products/ppl/download/ftp/releases/%version/ppl-%version.tar.xz
Source1: http://bugseng.com/products/ppl/download/ftp/releases/%version/ppl-%version.tar.xz.sign
Source2: baselibs.conf
Source3: ppl.keyring
Source4: GLS-0.12-1.1
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: gmp-devel >= 4.1.3
BuildRequires: m4
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Parma Polyhedra Library (PPL) is a library for the manipulation of
(not necessarily closed) convex polyhedra and other numerical
abstractions. The applications of convex polyhedra include program
analysis, optimized compilation, integer and combinatorial optimization
and statistical data-editing. The Parma Polyhedra Library comes with
several user friendly interfaces, is fully dynamic (available virtual
memory is the only limitation to the dimension of anything), written in
accordance to all the applicable standards, exception-safe, rather
efficient, thoroughly documented, and free software. This package
provides all what is necessary to run applications using the PPL
through its C and C++ interfaces.
%package devel
Summary: Development tools for the Parma Polyhedra Library C and C++ interfaces
Group: Development/Libraries/C and C++
Requires: gmp-devel >= 4.1.3
Requires: libppl%{so_name} = %{version}
Requires: libppl_c4 = %{version}
Recommends: ppl-doc = %{version}
%description devel
The header files, Autoconf macro, and ppl-config tool for developing
applications using the Parma Polyhedra Library through its C and C++
interfaces.
%package devel-static
Summary: Static libraries for the Parma Polyhedra Library C and C++ interfaces
Group: Development/Libraries/C and C++
Requires: ppl-devel = %{version}-%{release}
Recommends: ppl-doc = %{version}-%{release}
%description devel-static
Static libraries for the Parma Polyhedra Library C and C++ interfaces.
%package -n libppl%{so_name}
Summary: Shared library for the Parma Polyhedra Library
Group: System/Libraries
%description -n libppl%{so_name}
Shared library for the Parma Polyhedra Library.
%package -n libppl_c4
Summary: Shared library for the Parma Polyhedra Library C bindings
Group: System/Libraries
%description -n libppl_c4
Shared library for the Parma Polyhedra Library C bindings.
%package doc
Summary: Documentation for the Parma Polyhedra Library
Group: Documentation/HTML
BuildArch: noarch
%description doc
This package contains all the documentations required by programmers
using the Parma Polyhedra Library (PPL). Install this package if you
want to program with the PPL.
%prep
%setup -q -n ppl-%{version}
%build
%if "%{name}" == "ppl-testsuite"
export CXXFLAGS="%{optflags} -g0"
%endif
%configure \
--enable-shared \
--with-pic \
--disable-rpath \
--disable-watchdog
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%if "%{name}" == "ppl-testsuite"
%check
make %{?_smp_mflags} check
%install
%else
%install
make DESTDIR=%{buildroot} INSTALL="install -p" install
# We don't build the binary, so delete its manpage
rm -f %{buildroot}%{_mandir}/man1/ppl_lpsol.1
# We don't build pwl
rm -Rf %{buildroot}%{_datadir}/doc/pwl
# The pdf is enough
rm -f %{buildroot}%{_datadir}/doc/%{name}/ppl-user-*.ps.gz
rm -f %{buildroot}%{_datadir}/doc/%{name}/ChangeLog
rm -f %{buildroot}%{_datadir}/doc/%{name}/README.configure
rm -f %{buildroot}%{_datadir}/doc/%{name}/TODO
rm -f %{buildroot}%{_datadir}/doc/%{name}/gpl.*
rm -f %{buildroot}%{_datadir}/doc/%{name}/fdl.ps.gz
rm -f %{buildroot}%{_datadir}/doc/%{name}/fdl.pdf
rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-prolog-interface-%{version}*
rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-ocaml-interface-%{version}*
rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-java-interface-%{version}*
cp -a %_sourcedir/GLS-* "%buildroot/%_datadir/doc/%name/"
# %%name == ppl
%endif
%fdupes -s %{buildroot}
%post -n libppl%{so_name} -p /sbin/ldconfig
%postun -n libppl%{so_name} -p /sbin/ldconfig
%post -n libppl_c4 -p /sbin/ldconfig
%postun -n libppl_c4 -p /sbin/ldconfig
%if "%{name}" == "ppl"
%files
%defattr(-,root,root,-)
%dir %{_datadir}/doc/%{name}
%doc %{_datadir}/doc/%{name}/BUGS
%doc %{_datadir}/doc/%{name}/COPYING
%doc %{_datadir}/doc/%{name}/CREDITS
%doc %{_datadir}/doc/%{name}/NEWS
%doc %{_datadir}/doc/%{name}/README
%{_bindir}/ppl_lcdd
%{_bindir}/ppl_pips
%{_mandir}/man1/ppl_lcdd.1.gz
%{_mandir}/man1/ppl_pips.1.gz
%files -n libppl%{so_name}
%defattr(-,root,root,-)
%{_libdir}/libppl.so.*
%files -n libppl_c4
%defattr(-,root,root,-)
%{_libdir}/libppl_c.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/ppl.hh
%{_includedir}/ppl_c.h
%{_libdir}/libppl.so
%{_libdir}/libppl_c.so
%{_bindir}/ppl-config
%{_mandir}/man1/ppl-config.1.gz
%{_mandir}/man3/libppl.3.gz
%{_mandir}/man3/libppl_c.3.gz
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/ppl.m4
%{_datadir}/aclocal/ppl_c.m4
%files devel-static
%defattr(-,root,root,-)
%{_libdir}/libppl.a
%{_libdir}/libppl.la
%{_libdir}/libppl_c.a
%{_libdir}/libppl_c.la
%files doc
%defattr(-,root,root,-)
%doc %{_datadir}/doc/%{name}/GLS-*
%doc %{_datadir}/doc/%{name}/README.doc
%doc %{_datadir}/doc/%{name}/fdl.txt
%doc %{_datadir}/doc/%{name}/ppl-user-%{version}-html/
%doc %{_datadir}/doc/%{name}/ppl-user-c-interface-%{version}-html/
%doc %{_datadir}/doc/%{name}/ppl-user-%{version}.pdf
%doc %{_datadir}/doc/%{name}/ppl-user-c-interface-%{version}.pdf
%endif
%changelog

178
ppl.changes Normal file
View File

@ -0,0 +1,178 @@
-------------------------------------------------------------------
Tue Oct 11 14:33:01 UTC 2016 - adam.majer@suse.de
- Update to new upstream release 1.2
* Improved the efficiency of the conversion procedure for
polyhedra by adding a quick adjacency check.
* In the Java language interface, throw an exception when trying
to build a disequality Constraint.
* Fixed a bug in the implementation of dense rows.
* Fixed a bug in the implementation of ::relation_with
* Portability improved.
- soname bumped
-------------------------------------------------------------------
Sat Nov 14 10:07:48 UTC 2015 - jengelh@inai.de
- Update to new upstream release 1.1
* Remove the Sparse_Matrix class and add a Matrix<Row> class
instead.
* Dense_Row: remove the capacity argument from the two-argument
OK() method.
* Matrix: add some methods: row_capacity(), reserve_rows(),
remove_rows() and swap_columns().
* Dense_Matrix: add non-const iterator and the remove_rows() and
reserve_rows() methods.
* Matrix: rename the row_capacity() method into capacity().
* Remove the Dense_Matrix class, and use Matrix<Dense_Row> instead.
* Constraint_System: replace the const_iterator class with an
external Constraint_System_const_iterator class.
* Generator_System: replace the const_iterator class with an
external Generator_System_const_iterator class.
* Split the Linear_System::With_Bit_Matrix_iterator class out of
Linear_System and rename it to Linear_System_With_Bit_Matrix_iterator.
* Many more API changes. See the git log summary lines for details,
provided in /usr/share/doc/packages/GLS-0.12-1.1.
- Drop ppl-gmp-5.1.0.patch (merged upstream)
-------------------------------------------------------------------
Mon Nov 2 10:46:25 UTC 2015 - rpm@fthiessen.de
- Fixed dependencies of devel package.
- Cleaned spec file: Use so-name.
-------------------------------------------------------------------
Sun Sep 27 13:14:53 UTC 2015 - mpluskal@suse.com
- Update to 0.12.1
* See NEWS file for complete list of changes
-------------------------------------------------------------------
Tue Aug 4 21:45:13 UTC 2015 - mpluskal@suse.com
- Update to 0.12
* See NEWS file for complete list of changes
- Cleanup spec file with spec-clener
- Remove no longer needed dependency on gpg-offline
- Refresh ppl-gmp-5.1.0.patch
- Reduce duplicate files in documentation
-------------------------------------------------------------------
Wed Sep 4 12:43:27 UTC 2013 - rguenther@suse.com
- Disable -g when building the testsuite.
-------------------------------------------------------------------
Mon Apr 15 13:09:40 UTC 2013 - idonmez@suse.com
- Comment out GPG part, since it'll break bootstrap
-------------------------------------------------------------------
Mon Apr 15 09:35:38 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
- Add GPG verification
-------------------------------------------------------------------
Tue Mar 5 19:30:04 UTC 2013 - idonmez@suse.com
- Add ppl-gmp-5.1.0.patch to fix build with new gmp
-------------------------------------------------------------------
Tue Jan 24 12:20:24 UTC 2012 - jengelh@medozas.de
- Remove redundant sections (see specfile guidelines)
-------------------------------------------------------------------
Mon Jan 23 17:22:51 CET 2012 - meissner@suse.de
- include /usr/share/aclocal directory as we no longer require autoconf
-------------------------------------------------------------------
Wed Aug 31 13:44:35 UTC 2011 - rguenther@suse.com
- Fix fixed baselibs.conf
-------------------------------------------------------------------
Thu Mar 3 14:24:24 UTC 2011 - rguenther@novell.com
- Update to version 0.11.2. [fate#311972]
* Minor bugfixes
-------------------------------------------------------------------
Wed Sep 22 07:17:41 UTC 2010 - coolo@novell.com
- fix baselibs.conf
-------------------------------------------------------------------
Thu Aug 5 09:36:22 UTC 2010 - rguenther@novell.com
- Update to version 0.11.
* Many new features, see NEWS file
- Library package name changes for SONAME bumps.
-------------------------------------------------------------------
Sun Jun 27 16:15:03 UTC 2010 - jengelh@medozas.de
- use %_smp_mflags
-------------------------------------------------------------------
Fri Jun 18 16:08:42 UTC 2010 - prusnak@opensuse.org
- add baselibs.conf
-------------------------------------------------------------------
Wed Dec 16 10:46:43 CET 2009 - jengelh@medozas.de
- package documentation as noarch
-------------------------------------------------------------------
Thu Apr 16 14:12:13 CEST 2009 - rguenther@suse.de
- Update to version 0.10.2. [fate#306970]
* fixes build with gmp 4.3.0
-------------------------------------------------------------------
Tue Apr 14 15:16:26 CEST 2009 - rguenther@suse.de
- Update to bugfix release 0.10.1.
- Make the testsuite fatal everywhere.
- Disable memory1 test on s390x.
-------------------------------------------------------------------
Mon Mar 16 14:31:13 CET 2009 - rguenther@suse.de
- Wrap Recommends in suse_version check.
-------------------------------------------------------------------
Tue Nov 4 17:46:01 CET 2008 - rguenther@suse.de
- Update to final version 0.10.
* many new features and bugfixes (see NEWS file for details)
-------------------------------------------------------------------
Thu Oct 30 23:28:02 CET 2008 - rguenther@suse.de
- Update to version 0.10pre37.
- Rename libppl_c0 to libppl_c2 to follow new shared object name.
-------------------------------------------------------------------
Fri Sep 5 10:39:34 CEST 2008 - rguenther@suse.de
- Re-add static libs to ppl-devel-static.
-------------------------------------------------------------------
Wed Sep 3 17:55:41 CEST 2008 - rguenther@suse.de
- Remove all static libs.
-------------------------------------------------------------------
Wed Sep 3 13:46:30 CEST 2008 - rguenther@suse.de
- Update to version 0.10pre24.
-------------------------------------------------------------------
Sun Aug 3 20:23:09 CEST 2008 - rguenther@suse.de
- Package version 0.9.

117
ppl.keyring Normal file
View File

@ -0,0 +1,117 @@
This key is used and stored on a multi-user GNU/Linux system that is
connected to the Internet. Its security is thus only as good as the
security of the machine it is used on (i.e., reasonable, but not
perfect).
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
mQGiBDnirDkRBADCTL/iUTeZKb0tiAcKdZdsUP/KSnrGGjlinolUAsUC0D6/hUB1
RdCpJOOERTIEr1yvehqDM7veRhNMoxJNQxa/sSrkywey5qc8uaskUNEqenimq/70
bahWJeoWXjad68mQFh65lULnHQrrioeJnh9UpyGJppNb/yIjdnymH9aYEwCglgP7
UegBzH22h8NVQEK2PWWbyUUD/jQA4lI0wRWcL9HpkYkHcH0LTKRB9zYpQYtyvzJi
yTGwJyFMfYNXy0RT11dICeLkf3HMR84hkPERKMhALobLxVUbfc7j2AygmzGphWGy
DH/xjptQP/zrsq87ylYRONK18w1J42cm+yZa4XThMDPJMrb9/l8qnxU1JnW7W1al
HKTpBACbs+91KLqrnIGcF44TMwxgUj5CUrayPoEnLU+ZMBqfSjmu8RqEYmTxJCKv
7erBFSuazBGj5X7twunrtrW3bxO63MbLbHjfXSRrMnKOb8dRULIg6eWAnoAx8VVZ
YjrOpwAntU3WxYOpbiCHt9kLbb+N5rvNtFcmOqRRQaCIUFOOaLQ8TGludXggS2Vy
bmVsIEFyY2hpdmVzIFZlcmlmaWNhdGlvbiBLZXkgPGZ0cGFkbWluQGtlcm5lbC5v
cmc+iEYEEBECAAYFAjoMCcwACgkQAxLow12M2nuGgQCeM+Mvy/g72K26zRNR1GVC
fX3kCdcAnjObo6+2VkGE0ICD2nMbLAblTjpuiEYEEBECAAYFAjoklTMACgkQCFX+
FF4npQ5SnQCeKZ2AJFyYTDo10pfCIz8yu7KgsbIAn2GL5ab1Jj9v4Kt/4T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KOZRyka4oXiDXGwpJ/LsYsCm+6Vi7bPZTO8U6JW5
uP/YRjt0X4a0JVJvYmVydG8gQmFnbmFyYSA8YmFnbmFyYUBjcy51bmlwci5pdD6I
VwQTEQIAFwUCO8vg2gULBwoDBAMVAwIDFgIBAheAAAoJEIgUV8u1lEOSpQ4AoMoZ
cc7eyzkm6UvFovYx0E5hvfdKAJ44gD3pvjSmaWBNHw+7LhUlI8gr9bkBDQQ7y+Db
EAQAoRjba1OYCJsyQC1uzBJDio5SvAE0xwr+gBo9SZg+4zP/so07qCJz78cSiAj0
f1tE+qaVc37S8krLjAkiB3zBtFdfLenntY6dyOe0l/gxj6S+oBK0wBW5QCErgNwe
s8iPYW4ekijiNTWLZA67Gou3te8e5nvokl5ZNobVnwTuPPcAAwcD/2TcD2/I8B/L
DdUBMoK/LiPgXezuJpex3Sl0ucrcShu3lGlT0yzDE8GgIHWfZrmRVmvmyJYkwJDN
R3IWC/0aVrFKjrzGVbSszDxabiRlUR1Fi9Px22/+iUgg2HgZg2hQiyvmwLuolDn6
+vet3lKepy7BcW2l2t9LgyS1B4vdK2dViEYEGBECAAYFAjvL4NsACgkQiBRXy7WU
Q5IgLACfXdKxBH7vil0P1856ZLw5POIvdiUAnjyxZaufoNlCGpJszPqejdMpu1WA
=qDKP
-----END PGP PUBLIC KEY BLOCK-----

205
ppl.spec Normal file
View File

@ -0,0 +1,205 @@
#
# spec file for package ppl
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define so_name 14
Name: ppl
Version: 1.2
Release: 0
Summary: The Parma Polyhedra Library
License: GPL-3.0+
Group: Development/Libraries/C and C++
Url: http://bugseng.com/products/ppl/
#Git-Web: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=summary
#Git-Clone: git://git.cs.unipr.it/ppl/ppl
Source: http://bugseng.com/products/ppl/download/ftp/releases/%version/ppl-%version.tar.xz
Source1: http://bugseng.com/products/ppl/download/ftp/releases/%version/ppl-%version.tar.xz.sign
Source2: baselibs.conf
Source3: ppl.keyring
Source4: GLS-0.12-1.1
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: gmp-devel >= 4.1.3
BuildRequires: m4
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Parma Polyhedra Library (PPL) is a library for the manipulation of
(not necessarily closed) convex polyhedra and other numerical
abstractions. The applications of convex polyhedra include program
analysis, optimized compilation, integer and combinatorial optimization
and statistical data-editing. The Parma Polyhedra Library comes with
several user friendly interfaces, is fully dynamic (available virtual
memory is the only limitation to the dimension of anything), written in
accordance to all the applicable standards, exception-safe, rather
efficient, thoroughly documented, and free software. This package
provides all what is necessary to run applications using the PPL
through its C and C++ interfaces.
%package devel
Summary: Development tools for the Parma Polyhedra Library C and C++ interfaces
Group: Development/Libraries/C and C++
Requires: gmp-devel >= 4.1.3
Requires: libppl%{so_name} = %{version}
Requires: libppl_c4 = %{version}
Recommends: ppl-doc = %{version}
%description devel
The header files, Autoconf macro, and ppl-config tool for developing
applications using the Parma Polyhedra Library through its C and C++
interfaces.
%package devel-static
Summary: Static libraries for the Parma Polyhedra Library C and C++ interfaces
Group: Development/Libraries/C and C++
Requires: ppl-devel = %{version}-%{release}
Recommends: ppl-doc = %{version}-%{release}
%description devel-static
Static libraries for the Parma Polyhedra Library C and C++ interfaces.
%package -n libppl%{so_name}
Summary: Shared library for the Parma Polyhedra Library
Group: System/Libraries
%description -n libppl%{so_name}
Shared library for the Parma Polyhedra Library.
%package -n libppl_c4
Summary: Shared library for the Parma Polyhedra Library C bindings
Group: System/Libraries
%description -n libppl_c4
Shared library for the Parma Polyhedra Library C bindings.
%package doc
Summary: Documentation for the Parma Polyhedra Library
Group: Documentation/HTML
BuildArch: noarch
%description doc
This package contains all the documentations required by programmers
using the Parma Polyhedra Library (PPL). Install this package if you
want to program with the PPL.
%prep
%setup -q -n ppl-%{version}
%build
%if "%{name}" == "ppl-testsuite"
export CXXFLAGS="%{optflags} -g0"
%endif
%configure \
--enable-shared \
--with-pic \
--disable-rpath \
--disable-watchdog
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%if "%{name}" == "ppl-testsuite"
%check
make %{?_smp_mflags} check
%install
%else
%install
make DESTDIR=%{buildroot} INSTALL="install -p" install
# We don't build the binary, so delete its manpage
rm -f %{buildroot}%{_mandir}/man1/ppl_lpsol.1
# We don't build pwl
rm -Rf %{buildroot}%{_datadir}/doc/pwl
# The pdf is enough
rm -f %{buildroot}%{_datadir}/doc/%{name}/ppl-user-*.ps.gz
rm -f %{buildroot}%{_datadir}/doc/%{name}/ChangeLog
rm -f %{buildroot}%{_datadir}/doc/%{name}/README.configure
rm -f %{buildroot}%{_datadir}/doc/%{name}/TODO
rm -f %{buildroot}%{_datadir}/doc/%{name}/gpl.*
rm -f %{buildroot}%{_datadir}/doc/%{name}/fdl.ps.gz
rm -f %{buildroot}%{_datadir}/doc/%{name}/fdl.pdf
rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-prolog-interface-%{version}*
rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-ocaml-interface-%{version}*
rm -Rf %{buildroot}%{_datadir}/doc/%{name}/ppl-user-java-interface-%{version}*
cp -a %_sourcedir/GLS-* "%buildroot/%_datadir/doc/%name/"
# %%name == ppl
%endif
%fdupes -s %{buildroot}
%post -n libppl%{so_name} -p /sbin/ldconfig
%postun -n libppl%{so_name} -p /sbin/ldconfig
%post -n libppl_c4 -p /sbin/ldconfig
%postun -n libppl_c4 -p /sbin/ldconfig
%if "%{name}" == "ppl"
%files
%defattr(-,root,root,-)
%dir %{_datadir}/doc/%{name}
%doc %{_datadir}/doc/%{name}/BUGS
%doc %{_datadir}/doc/%{name}/COPYING
%doc %{_datadir}/doc/%{name}/CREDITS
%doc %{_datadir}/doc/%{name}/NEWS
%doc %{_datadir}/doc/%{name}/README
%{_bindir}/ppl_lcdd
%{_bindir}/ppl_pips
%{_mandir}/man1/ppl_lcdd.1.gz
%{_mandir}/man1/ppl_pips.1.gz
%files -n libppl%{so_name}
%defattr(-,root,root,-)
%{_libdir}/libppl.so.*
%files -n libppl_c4
%defattr(-,root,root,-)
%{_libdir}/libppl_c.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/ppl.hh
%{_includedir}/ppl_c.h
%{_libdir}/libppl.so
%{_libdir}/libppl_c.so
%{_bindir}/ppl-config
%{_mandir}/man1/ppl-config.1.gz
%{_mandir}/man3/libppl.3.gz
%{_mandir}/man3/libppl_c.3.gz
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/ppl.m4
%{_datadir}/aclocal/ppl_c.m4
%files devel-static
%defattr(-,root,root,-)
%{_libdir}/libppl.a
%{_libdir}/libppl.la
%{_libdir}/libppl_c.a
%{_libdir}/libppl_c.la
%files doc
%defattr(-,root,root,-)
%doc %{_datadir}/doc/%{name}/GLS-*
%doc %{_datadir}/doc/%{name}/README.doc
%doc %{_datadir}/doc/%{name}/fdl.txt
%doc %{_datadir}/doc/%{name}/ppl-user-%{version}-html/
%doc %{_datadir}/doc/%{name}/ppl-user-c-interface-%{version}-html/
%doc %{_datadir}/doc/%{name}/ppl-user-%{version}.pdf
%doc %{_datadir}/doc/%{name}/ppl-user-c-interface-%{version}.pdf
%endif
%changelog

3
pre_checkin.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
# This script is called automatically during autobuild checkin.
sed -e "s,^\(Name:.*ppl\),\1-testsuite," ppl.spec > ppl-testsuite.spec