commit ppl for openSUSE:Factory
Hello community, here is the log from the commit of package ppl for openSUSE:Factory checked in at Fri Jun 19 10:29:16 CEST 2009. -------- New Changes file: --- /dev/null 2009-04-14 11:58:14.000000000 +0200 +++ /mounts/work_src_done/STABLE/ppl/ppl-testsuite.changes 2009-06-16 14:45:08.000000000 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Jun 16 14:44:47 CEST 2009 - coolo@novell.com + +- build test suite in a package on its own + calling whatdependson for head-i586 New: ---- ppl-testsuite.changes ppl-testsuite.spec pre_checkin.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ppl.spec ++++++ --- /var/tmp/diff_new_pack.f15832/_old 2009-06-19 10:28:51.000000000 +0200 +++ /var/tmp/diff_new_pack.f15832/_new 2009-06-19 10:28:51.000000000 +0200 @@ -19,10 +19,10 @@ Name: ppl Version: 0.10.2 -Release: 2 +Release: 1 Summary: The Parma Polyhedra Library Group: Development/Libraries/C and C++ -License: GPL v3 or later +License: GPL v2 or later Url: http://www.cs.unipr.it/ppl/ Source: ppl-%{version}.tar.bz2 BuildRequires: c++_compiler gmp-devel >= 4.1.3 @@ -76,7 +76,7 @@ %package -n libppl7 -License: GPL v3 or later +License: GPL v2 or later Summary: Shared library for the Parma Polyhedra Library Group: Development/Libraries/C and C++ @@ -108,7 +108,7 @@ %prep -%setup -q +%setup -q -n ppl-%{version} %build %configure --enable-shared --with-pic --disable-rpath \ @@ -116,9 +116,11 @@ #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 %{?jobs:-j%jobs} +%if "%{name}" == "ppl-testsuite" %check make %{?jobs:-j%jobs} check +%else %install make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install @@ -136,6 +138,8 @@ 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}* +# %name == ppl +%endif %post -n libppl7 -p /sbin/ldconfig @@ -144,6 +148,7 @@ %post -n libppl_c2 -p /sbin/ldconfig %postun -n libppl_c2 -p /sbin/ldconfig +%if "%{name}" == "ppl" %files %defattr(-,root,root,-) @@ -193,6 +198,7 @@ %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 %clean rm -rf $RPM_BUILD_ROOT ++++++ ppl-testsuite.spec ++++++ # # spec file for package ppl-testsuite (Version 0.10.2) # # Copyright (c) 2009 SUSE LINUX Products 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/ # Name: ppl-testsuite Version: 0.10.2 Release: 1 Summary: The Parma Polyhedra Library Group: Development/Libraries/C and C++ License: GPL v2 or later Url: http://www.cs.unipr.it/ppl/ Source: ppl-%{version}.tar.bz2 BuildRequires: c++_compiler gmp-devel >= 4.1.3 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 License: GPL v2 or later Summary: Development tools for the Parma Polyhedra Library C and C++ interfaces Group: Development/Libraries/C and C++ Requires: libppl7 = %{version}-%{release} Requires: libppl_c2 = %{version}-%{release} Requires: gmp-devel >= 4.1.3 %if 0%{suse_version} > 1000 Recommends: ppl-doc = %{version}-%{release} %endif %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 License: GPL v2 or later Summary: Static libraries for the Parma Polyhedra Library C and C++ interfaces Group: Development/Libraries/C and C++ Requires: ppl-devel = %{version}-%{release} %if 0%{suse_version} > 1000 Recommends: ppl-doc = %{version}-%{release} %endif %description devel-static Static libraries for the Parma Polyhedra Library C and C++ interfaces. %package -n libppl7 License: GPL v2 or later Summary: Shared library for the Parma Polyhedra Library Group: Development/Libraries/C and C++ %description -n libppl7 Shared library for the Parma Polyhedra Library. %package -n libppl_c2 License: GPL v2 or later Summary: Shared library for the Parma Polyhedra Library C bindings Group: Development/Libraries/C and C++ %description -n libppl_c2 Shared library for the Parma Polyhedra Library C bindings. %package doc License: GPL v2 or later Summary: Documentation for the Parma Polyhedra Library Group: Development/Libraries/C and C++ %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 %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 %{?jobs:-j%jobs} %if "%{name}" == "ppl-testsuite" %check make %{?jobs:-j%jobs} check %else %install make DESTDIR=$RPM_BUILD_ROOT 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}/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}* # %name == ppl %endif %post -n libppl7 -p /sbin/ldconfig %postun -n libppl7 -p /sbin/ldconfig %post -n libppl_c2 -p /sbin/ldconfig %postun -n libppl_c2 -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 %{_mandir}/man1/ppl_lcdd.1.gz %files -n libppl7 %defattr(-,root,root,-) %{_libdir}/libppl.so.* %files -n libppl_c2 %defattr(-,root,root,-) %{_libdir}/libppl_c.so.* %files devel %defattr(-,root,root,-) %doc %{_datadir}/doc/%{name}/README.configure %{_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 %{_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}/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 %clean rm -rf $RPM_BUILD_ROOT %changelog * Tue Jun 16 2009 coolo@novell.com - build test suite in a package on its own ++++++ pre_checkin.sh ++++++ #!/bin/bash # This script is called automatically during autobuild checkin. sed -e "s,^Name:.*ppl,Name: ppl-testsuite," ppl.spec > ppl-testsuite.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de