Hello community,

here is the log from the commit of package lpsolve for openSUSE:Factory checked 
in at 2012-12-05 13:59:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lpsolve (Old)
 and      /work/SRC/openSUSE:Factory/.lpsolve.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lpsolve", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lpsolve/lpsolve.changes  2011-09-23 
02:12:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lpsolve.new/lpsolve.changes     2012-12-05 
13:59:27.000000000 +0100
@@ -1,0 +2,33 @@
+Mon Dec  3 08:44:47 UTC 2012 - [email protected]
+
+- Add obsoletes/provides for old libname so depending pkgs work.
+  * drop no longer needed lpsolve-5.5.0.11-cflags.patch we use
+    autotools now.
+  * drop no longer needed lpsolve-pic.diff for the same reason.
+
+-------------------------------------------------------------------
+Fri Nov 30 10:12:44 UTC 2012 - [email protected]
+
+- Use the spec-beautifier to make it more readable.
+
+-------------------------------------------------------------------
+Thu Nov 29 10:53:07 UTC 2012 - [email protected]
+
+- Drop duplication of the license string.
+
+-------------------------------------------------------------------
+Wed Nov 21 16:46:59 UTC 2012 - [email protected]
+
+- Last commit was really bad idea.
+
+-------------------------------------------------------------------
+Wed Nov 21 16:22:36 UTC 2012 - [email protected]
+
+- Drop useless requires line.
+
+-------------------------------------------------------------------
+Wed Nov 21 16:15:05 UTC 2012 - [email protected]
+
+- Try to version bump on 5.5.2.0 based of Gentoo.
+
+-------------------------------------------------------------------

Old:
----
  lp_solve_5.5.0.13_source.tar.bz2
  lpsolve-5.5.0.11-cflags.patch
  lpsolve-pic.diff

New:
----
  lpsolve_bundled_colamd-5.5.2.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lpsolve.spec ++++++
--- /var/tmp/diff_new_pack.QPywkr/_old  2012-12-05 13:59:28.000000000 +0100
+++ /var/tmp/diff_new_pack.QPywkr/_new  2012-12-05 13:59:28.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package lpsolve (Version 5.5.0.13)
+# spec file for package lpsolve
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,17 +16,16 @@
 #
 
 
+%define libname liblpsolve55-0
 
 Name:           lpsolve
 Summary:        A Mixed Integer Linear Programming (MILP) Solver
-Version:        5.5.0.13
-Release:        12
+Version:        5.5.2.0
+Release:        0
 Group:          Productivity/Scientific/Math
 License:        LGPL-2.0+
 Url:            http://sourceforge.net/projects/lpsolve
-Source:         lp_solve_%{version}_source.tar.bz2
-Patch0:         lpsolve-5.5.0.11-cflags.patch
-Patch1:         lpsolve-pic.diff
+Source:         %{name}_bundled_colamd-%version.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -34,68 +33,59 @@
 linear, (mixed) integer/binary, semi-continuous and special ordered
 sets (SOS) models.
 
-
-
-%package -n liblpsolve55
-License:        LGPL-2.0+
+%package -n %libname
 Summary:        A Mixed Integer Linear Programming (MILP) Solver Library
 Group:          Productivity/Scientific/Math
+Provides:       liblpsolve55 = %version
+Obsoletes:      liblpsolve55 < %version
 
-%description -n liblpsolve55
+%description -n %libname
 Mixed Integer Linear Programming (MILP) solver library lpsolve solves
 pure linear, (mixed) integer/binary, semi-continuous and special
 ordered sets (SOS) models.
 
-
-
 %package devel
-License:        LGPL-2.0+
-Requires:       liblpsolve55 = %{version}-%{release}
+Requires:       %libname = %version
 Summary:        Files for Developing with lpsolve
 Group:          Development/Libraries/C and C++
 
 %description devel
 Includes and definitions for developing with the lpsolve library.
 
-
-
 %prep
-%setup -q -n lp_solve_5.5
-%patch0 -p1 -b .cflags.patch
-%patch -P 1 -p1
+%setup -q
 
 %build
-cd lpsolve55
-sh -x ccc
-rm liblpsolve55.a
-cd ../lp_solve
-sh -x ccc
+export CFLAGS="%optflags -Icolamd/"
+%configure \
+       --disable-static \
+       --docdir="%_docdir/%name"
+make %{?_smp_mflags}
 
 %install
-install -d $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libdir} 
$RPM_BUILD_ROOT%{_includedir}/lpsolve
-install -m 755 lp_solve/lp_solve $RPM_BUILD_ROOT%{_bindir}
-install -m 755 lpsolve55/liblpsolve55.so $RPM_BUILD_ROOT%{_libdir}
-install -m 644 lp*.h $RPM_BUILD_ROOT%{_includedir}/lpsolve
+make DESTDIR=%buildroot install
+rm %buildroot%_libdir/*.la
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %buildroot
 
-%post -p /sbin/ldconfig
+%post -n %libname -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n %libname -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt 
./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt
-%{_bindir}/lp_solve
+%doc ./bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt 
./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt
+%_docdir/%name/README.txt
+%_bindir/*
 
-%files -n liblpsolve55
+%files -n %libname
 %defattr(-,root,root,-)
-%doc README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt 
./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt
-%{_libdir}/*.so
+%_libdir/*.so.0*
 
 %files devel
 %defattr(-,root,root,-)
-%{_includedir}/lpsolve
+%_includedir/%name
+%_libdir/*.so
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to