Compare commits

..

No commits in common. "rawhide" and "f36" have entirely different histories.

3 changed files with 35 additions and 92 deletions

5
DSDP.rpmlintrc Normal file
View file

@ -0,0 +1,5 @@
# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON
# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors
# The dictionary is missing some technical terms
addFilter(r'W: spelling-error .* (combinatorial|infeasib(ility|le)|semidefinite)')

106
DSDP.spec
View file

@ -1,13 +1,9 @@
Name: DSDP Name: DSDP
Version: 5.8 Version: 5.8
Release: 40%{?dist} Release: 30%{?dist}
Summary: Software for semidefinite programming Summary: Software for semidefinite programming
# The content is DSDP. The remaining licenses cover the various fonts embedded License: DSDP
# in PDFs.
# AMS: OFL-1.1-RFN
# CM: Knuth-CTAN
License: DSDP AND OFL-1.1-RFN AND Knuth-CTAN
URL: https://www.mcs.anl.gov/hs/software/DSDP/ URL: https://www.mcs.anl.gov/hs/software/DSDP/
Source0: https://www.mcs.anl.gov/hs/software/DSDP/%{name}%{version}.tar.gz Source0: https://www.mcs.anl.gov/hs/software/DSDP/%{name}%{version}.tar.gz
# Man pages written by Jerry James using text from the sources. # Man pages written by Jerry James using text from the sources.
@ -16,14 +12,11 @@ Source1: DSDP-man.tar.xz
# A substitute makefile to fix the brokenness of the distributed Makefiles # A substitute makefile to fix the brokenness of the distributed Makefiles
Source2: DSDP.Makefile Source2: DSDP.Makefile
# Fix a buffer overflow in one of the examples. # Fix a buffer overflow in one of the examples.
Patch: %{name}-overflow.patch Patch0: %{name}-overflow.patch
# Fix -Wint-in-bool-context warnings. # Fix -Wint-in-bool-context warnings.
Patch: %{name}-int-in-bool-context.patch Patch1: %{name}-int-in-bool-context.patch
# Fix big endian problems (patch courtesy of Debian) # Fix big endian problems (patch courtesy of Debian)
Patch: %{name}-type-mismatch.patch Patch2: %{name}-type-mismatch.patch
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: doxygen-latex BuildRequires: doxygen-latex
BuildRequires: gcc BuildRequires: gcc
@ -32,36 +25,31 @@ BuildRequires: make
BuildRequires: pkgconfig(flexiblas) BuildRequires: pkgconfig(flexiblas)
%description %description
DSDP is a free open source implementation of an interior-point method for DSDP is a free open source implementation of an interior-point method
semidefinite programming. It provides primal and dual solutions, exploits for semidefinite programming. It provides primal and dual solutions,
low-rank structure and sparsity in the data, and has relatively low memory exploits low-rank structure and sparsity in the data, and has relatively
requirements for an interior-point method. It allows feasible and infeasible low memory requirements for an interior-point method. It allows
starting points and provides approximate certificates of infeasibility when no feasible and infeasible starting points and provides approximate
feasible solution exists. The dual-scaling algorithm implemented in this certificates of infeasibility when no feasible solution exists. The
package has a convergence proof and worst-case polynomial complexity under dual-scaling algorithm implemented in this package has a convergence
mild assumptions on the data. The software can be used as a set of proof and worst-case polynomial complexity under mild assumptions on the
subroutines, through Matlab, or by reading and writing to data files. data. The software can be used as a set of subroutines, through Matlab,
Furthermore, the solver offers scalable parallel performance for large or by reading and writing to data files. Furthermore, the solver offers
problems and a well documented interface. Some of the most popular scalable parallel performance for large problems and a well documented
applications of semidefinite programming and linear matrix inequalities (LMI) interface. Some of the most popular applications of semidefinite
are model control, truss topology design, and semidefinite relaxations of programming and linear matrix inequalities (LMI) are model control,
combinatorial and global optimization problems. truss topology design, and semidefinite relaxations of combinatorial and
global optimization problems.
%package devel %package devel
# The content is DSDP. The remaining licenses cover the various fonts embedded
# in PDFs.
# AMS: OFL-1.1-RFN
# CM: Knuth-CTAN
License: DSDP AND OFL-1.1-RFN AND Knuth-CTAN
Summary: Headers and libraries for developing with DSDP Summary: Headers and libraries for developing with DSDP
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: bundled(js-jquery) Provides: bundled(jquery)
%description devel %description devel
Headers and libraries for developing with DSDP. Headers and libraries for developing with DSDP.
%package examples %package examples
License: DSDP
Summary: Example programs that use DSDP Summary: Example programs that use DSDP
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -69,13 +57,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Examples programs that use the DSDP library. Examples programs that use the DSDP library.
%prep %prep
%autosetup -p0 -n %{name}%{version} -a 1 %autosetup -p0 -n %{name}%{version}
%setup -q -n %{name}%{version} -T -D -a 1
%conf sed -e "s|@RPM_OPT_FLAGS@|${RPM_OPT_FLAGS}|" \
sed -e 's|@RPM_OPT_FLAGS@|%{build_cflags}|' \ -e "s|@RPM_LD_FLAGS@|${RPM_LD_FLAGS}|" \
-e 's|@RPM_LD_FLAGS@|%{build_ldflags}|' \ -e "s|@libdir@|%{_libdir}|" \
-e 's|@libdir@|%{_libdir}|' \ -e "s|@version@|%{version}|" \
-e 's|@version@|%{version}|' \
%{SOURCE2} > Makefile %{SOURCE2} > Makefile
%build %build
@ -114,7 +102,7 @@ done
%files %files
%doc docs/DSDP5-Exe-UserGuide.pdf docs/DSDP5-P1289-0905.pdf %doc docs/DSDP5-Exe-UserGuide.pdf docs/DSDP5-P1289-0905.pdf
%license dsdp-license %license dsdp-license
%{_libdir}/libdsdp.so.5{,.*} %{_libdir}/libdsdp.so.*
%files devel %files devel
%doc docs/DSDP5-API-UserGuide.pdf docs/dox %doc docs/DSDP5-API-UserGuide.pdf docs/dox
@ -123,44 +111,10 @@ done
%files examples %files examples
%doc examples/Contents %doc examples/Contents
%{_bindir}/dsdp* %{_bindir}/*
%{_mandir}/man1/dsdp* %{_mandir}/man1/*
%changelog %changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 23 2022 Jerry James <loganjerry@gmail.com> - 5.8-31
- Add SPDX License identifiers for PDF documentation
- Minor spec file cleanups
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-30 * Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View file

@ -1,16 +0,0 @@
# DSDP
[DSDP](https://www.mcs.anl.gov/hs/software/DSDP/) is a free open source
implementation of an interior-point method for semidefinite programming. It
provides primal and dual solutions, exploits low-rank structure and sparsity
in the data, and has relatively low memory requirements for an interior-point
method. It allows feasible and infeasible starting points and provides
approximate certificates of infeasibility when no feasible solution exists.
The dual-scaling algorithm implemented in this package has a convergence proof
and worst-case polynomial complexity under mild assumptions on the data. The
software can be used as a set of subroutines, through Matlab, or by reading
and writing to data files. Furthermore, the solver offers scalable parallel
performance for large problems and a well documented interface. Some of the
most popular applications of semidefinite programming and linear matrix
inequalities (LMI) are model control, truss topology design, and semidefinite
relaxations of combinatorial and global optimization problems.