Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-glpk
mingw64-glpk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-glpk.spec of Package mingw64-glpk
# # spec file for package mingw64-glpk # # Copyright (c) 2017 SUSE LINUX 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/ # %define lname mingw64-libglpk40 Name: mingw64-glpk Version: 4.61 Release: 0 Summary: GNU Linear Programming Kit License: GPL-3.0 Group: Productivity/Scientific/Math Url: https://www.gnu.org/software/glpk/glpk.html Source0: https://ftp.gnu.org/gnu/glpk/glpk-%{version}.tar.gz Source1: https://ftp.gnu.org/gnu/glpk/glpk-%{version}.tar.gz.sig Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=glpk&download=1#/glpk.keyring Patch1: glpk-have_config_h.patch BuildRequires: ghostscript BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-gmp-devel >= 3 BuildRequires: gmp-devel BuildRequires: texlive BuildArch: noarch #!BuildIgnore: post-build-checks %description The GLPK package is intended for solving large-scale linear programming, mixed integer programming, and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library. %package devel Summary: GNU Linear Programming Kit Group: Development/Libraries/C and C++ Requires: %{lname} = %{version} %description devel The GLPK package is intended for solving large-scale linear programming, mixed integer programming, and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library. %package -n %{lname} Summary: GNU Linear Programming Kit Group: System/Libraries %description -n %{lname} The GLPK package is intended for solving large-scale linear programming, mixed integer programming, and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library. %package doc Summary: GNU Linear Programming Kit Group: Documentation/Other %if 0%{?suse_version} >= 1120 || 0%{?fedora_version} BuildArch: noarch %endif %description doc The GLPK package is intended for solving large-scale linear programming, mixed integer programming, and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library. %prep %setup -qn glpk-%{version} %patch -P 1 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" %_mingw64_configure \ --with-gmp \ --disable-static make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print mkdir -p %{buildroot}%{_mingw64_prefix}/%{name}/examples cp examples/*.{mod,c,dat,mps,lp} %{buildroot}%{_mingw64_prefix}/%{name}/examples mkdir %{buildroot}%{_mingw64_prefix}/%{name}/doc cp doc/{*.txt,*.pdf} %{buildroot}%{_mingw64_prefix}/%{name}/doc cp {AUTHORS,ChangeLog,COPYING,NEWS,README} %{buildroot}%{_mingw64_prefix}/%{name} %files %defattr(-,root,root) %dir %{_mingw64_prefix}/%{name} %{_mingw64_prefix}/%{name}/AUTHORS %{_mingw64_prefix}/%{name}/ChangeLog %{_mingw64_prefix}/%{name}/COPYING %{_mingw64_prefix}/%{name}/NEWS %{_mingw64_prefix}/%{name}/README %{_mingw64_bindir}/glpsol.exe %files -n %{lname} %defattr(-,root,root) %{_mingw64_bindir}/libglpk-40.dll %files devel %defattr(-,root,root) %{_mingw64_includedir}/* %{_mingw64_libdir}/libglpk.dll.a %files doc %defattr(-,root,root) %dir %{_mingw64_prefix}/%{name} %{_mingw64_prefix}/%{name}/doc %{_mingw64_prefix}/%{name}/examples %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor