diff --git a/lpsolve.spec b/lpsolve.spec index 6d94d1d..c62bb61 100644 --- a/lpsolve.spec +++ b/lpsolve.spec @@ -5,7 +5,11 @@ Summary: Mixed Integer Linear Programming (MILP) solver # bfp/bfp_LUSOL/lp_LUSOL.c: LGPL-2.1-or-later # bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt: LGLP-2.1 text # colamd/colamd.c: ??? (free with attribution in Matlab) +# Waiting on an identifier +# # colamd/colamd.h: ??? (free with attribution in Matlab) +# Waiting on an identifier +# # lp_crash.c: LGPL-2.1-or-later # lp_lib.c: LGPL-2.1-or-later # lp_lib.h: LGPL-2.1-or-later @@ -25,7 +29,7 @@ Summary: Mixed Integer Linear Programming (MILP) solver ## Unused and nonpackaged # bfp/bfp_LUSOL/LUSOL/hbio.c: xlock-like # configure: FSFUL -License: LGPL-2.1-or-later +License: LGPL-2.1-or-later AND GPL-2.0-or-later WITH Bison-exception-2.2 # There is a mailing list at . URL: https://sourceforge.net/projects/lpsolve Source: https://downloads.sourceforge.net/lpsolve/lp_solve_%{version}_source.tar.gz @@ -45,6 +49,7 @@ Mixed Integer Linear Programming (MILP) solver lpsolve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. %package devel +License: LGPL-2.1-or-later Requires: %{name}%{?_isa} = %{version}-%{release} Summary: Files for developing with lpsolve @@ -53,6 +58,8 @@ Header files for developing with lpsolve library. %prep %autosetup -p1 -n lp_solve_5.5 +sed -n -e '/Authors:/,/http:\/\/www\.cise\.ufl/p' < colamd/colamd.c \ + > colamd/colamd_license %build %set_build_flags @@ -74,7 +81,7 @@ install -p -m 644 \ lp*.h %{buildroot}%{_includedir}/lpsolve %files -%license bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt +%license bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt colamd/colamd_license # LUSOL_Overview.txt is identical to LUSOL-overview.txt %doc README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt %{_bindir}/lp_solve @@ -87,6 +94,7 @@ install -p -m 644 \ %changelog * Wed Jun 07 2023 Petr Pisar - 5.5.2.0-33 - Modernize a spec file +- Partially correct a license tag * Thu Feb 23 2023 Caolán McNamara - 5.5.2.0-32 - migrated to SPDX license