Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b3f2f762c | ||
|
|
79cdfa649a | ||
|
|
2b348cdc43 | ||
|
|
efdbe71ee6 | ||
|
|
fa8189aafd | ||
|
|
519a394553 | ||
|
|
5520f912bd | ||
|
|
1c801cff31 | ||
|
|
5ab855a290 | ||
|
|
f89b40c61f | ||
|
|
2a413cd4e8 | ||
|
|
7a9ae85234 | ||
|
|
cc1a1de3e0 | ||
|
|
30193fb903 |
2 changed files with 73 additions and 35 deletions
|
|
@ -1,5 +0,0 @@
|
|||
# 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)')
|
||||
103
DSDP.spec
103
DSDP.spec
|
|
@ -1,9 +1,13 @@
|
|||
Name: DSDP
|
||||
Version: 5.8
|
||||
Release: 31%{?dist}
|
||||
Release: 40%{?dist}
|
||||
Summary: Software for semidefinite programming
|
||||
|
||||
License: DSDP
|
||||
# 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
|
||||
URL: https://www.mcs.anl.gov/hs/software/DSDP/
|
||||
Source0: https://www.mcs.anl.gov/hs/software/DSDP/%{name}%{version}.tar.gz
|
||||
# Man pages written by Jerry James using text from the sources.
|
||||
|
|
@ -12,11 +16,14 @@ Source1: DSDP-man.tar.xz
|
|||
# A substitute makefile to fix the brokenness of the distributed Makefiles
|
||||
Source2: DSDP.Makefile
|
||||
# Fix a buffer overflow in one of the examples.
|
||||
Patch0: %{name}-overflow.patch
|
||||
Patch: %{name}-overflow.patch
|
||||
# Fix -Wint-in-bool-context warnings.
|
||||
Patch1: %{name}-int-in-bool-context.patch
|
||||
Patch: %{name}-int-in-bool-context.patch
|
||||
# Fix big endian problems (patch courtesy of Debian)
|
||||
Patch2: %{name}-type-mismatch.patch
|
||||
Patch: %{name}-type-mismatch.patch
|
||||
|
||||
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: doxygen-latex
|
||||
BuildRequires: gcc
|
||||
|
|
@ -25,31 +32,36 @@ BuildRequires: make
|
|||
BuildRequires: pkgconfig(flexiblas)
|
||||
|
||||
%description
|
||||
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.
|
||||
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.
|
||||
|
||||
%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
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: bundled(jquery)
|
||||
Provides: bundled(js-jquery)
|
||||
|
||||
%description devel
|
||||
Headers and libraries for developing with DSDP.
|
||||
|
||||
%package examples
|
||||
License: DSDP
|
||||
Summary: Example programs that use DSDP
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -57,13 +69,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
Examples programs that use the DSDP library.
|
||||
|
||||
%prep
|
||||
%autosetup -p0 -n %{name}%{version}
|
||||
%setup -q -n %{name}%{version} -T -D -a 1
|
||||
%autosetup -p0 -n %{name}%{version} -a 1
|
||||
|
||||
sed -e "s|@RPM_OPT_FLAGS@|${RPM_OPT_FLAGS}|" \
|
||||
-e "s|@RPM_LD_FLAGS@|${RPM_LD_FLAGS}|" \
|
||||
-e "s|@libdir@|%{_libdir}|" \
|
||||
-e "s|@version@|%{version}|" \
|
||||
%conf
|
||||
sed -e 's|@RPM_OPT_FLAGS@|%{build_cflags}|' \
|
||||
-e 's|@RPM_LD_FLAGS@|%{build_ldflags}|' \
|
||||
-e 's|@libdir@|%{_libdir}|' \
|
||||
-e 's|@version@|%{version}|' \
|
||||
%{SOURCE2} > Makefile
|
||||
|
||||
%build
|
||||
|
|
@ -102,7 +114,7 @@ done
|
|||
%files
|
||||
%doc docs/DSDP5-Exe-UserGuide.pdf docs/DSDP5-P1289-0905.pdf
|
||||
%license dsdp-license
|
||||
%{_libdir}/libdsdp.so.*
|
||||
%{_libdir}/libdsdp.so.5{,.*}
|
||||
|
||||
%files devel
|
||||
%doc docs/DSDP5-API-UserGuide.pdf docs/dox
|
||||
|
|
@ -111,10 +123,41 @@ done
|
|||
|
||||
%files examples
|
||||
%doc examples/Contents
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_bindir}/dsdp*
|
||||
%{_mandir}/man1/dsdp*
|
||||
|
||||
%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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue