source: projects/specs/trunk/g/glpk/glpk-vl.spec @ 12038

Revision 12038, 5.2 KB checked in by ara_t, 5 years ago (diff)

glpk: update to 4.65

Line 
1Name:           glpk
2Version:        4.65
3Release:        1%{?_dist_release}
4Summary:        GNU Linear Programming Kit
5Summary(ja):    GNU 線形計画法キット
6
7Group:          System Environment/Libraries
8License:        GPLv3
9URL:            http://www.gnu.org/software/glpk/glpk.html
10Source0:        ftp://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  gmp-devel
14BuildRequires:  zlib-devel
15BuildRequires:  libtool-ltdl-devel
16
17%description
18The GLPK (GNU Linear Programming Kit) package is intended for solving
19large-scale linear programming (LP), mixed integer programming (MIP),
20and other related problems. It is a set of routines written in ANSI C
21and organized in the form of a callable library.
22
23GLPK supports the GNU MathProg language, which is a subset of the AMPL
24language.
25
26The GLPK package includes the following main components:
27
28 * Revised simplex method.
29 * Primal-dual interior point method.
30 * Branch-and-bound method.
31 * Translator for GNU MathProg.
32 * Application program interface (API).
33 * Stand-alone LP/MIP solver.
34
35%package devel
36Summary:        Development headers and files for GLPK
37Summary(ja):    GLPK の開発用ファイル
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40Requires:       gmp-devel
41
42%description devel
43The glpk-devel package contains libraries and headers for developing
44applications which use GLPK (GNU Linear Programming Kit).
45
46
47%package utils
48Summary:        GLPK-related utilities and examples
49Summary(ja):    GLPK に関連するユーティリティとサンプル集
50Group:          Applications/Engineering
51Requires:       %{name} = %{version}-%{release}
52
53%description utils
54The glpk-utils package contains the standalone solver programs glpksol
55and tspsol that use GLPK (GNU Linear Programming Kit).
56
57%package static
58Summary:        Static version of GLPK libraries
59Group:          Development/Libraries
60Requires:       %{name}-devel = %{version}-%{release}
61
62%description static
63The glpk-static package contains the statically linkable version of
64the GLPK (GNU Linear Programming Kit) libraries.
65
66%prep
67%setup -q
68
69%build
70%configure --enable-dl --with-gmp
71make %{?_smp_mflags}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75make install prefix=$RPM_BUILD_ROOT%{_prefix} \
76  bindir=$RPM_BUILD_ROOT%{_bindir} libdir=$RPM_BUILD_ROOT%{_libdir} \
77  includedir=$RPM_BUILD_ROOT%{_includedir}/%{name}
78
79rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
80
81## Clean up directories that are included in docs
82make clean
83rm -Rf examples/.deps examples/Makefile* doc/*.dvi doc/*.latex
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89
90%postun -p /sbin/ldconfig
91
92%files
93%defattr(-,root,root)
94%doc AUTHORS ChangeLog COPYING NEWS README doc
95%{_libdir}/*.so.*
96
97%files devel
98%defattr(-,root,root)
99%doc AUTHORS ChangeLog COPYING NEWS README doc
100%{_includedir}/glpk
101%{_libdir}/*.so
102#exclude %{_libdir}/*.la
103
104%files utils
105%defattr(-,root,root)
106%doc COPYING examples
107%{_bindir}/*
108
109%files static
110%defattr(-,root,root)
111%{_libdir}/*.a
112
113%changelog
114* Tue Jan 29 2019 Toshiaki Ara <ara_t@384.jp> 4.65-1
115- new upstream release
116
117* Sun Oct 29 2017 Toshiaki Ara <ara_t@384.jp> 4.63-1
118- new upstream release
119- deleted --with-zlib
120
121* Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.47-2
122- rebuilt with gmp 5.1.3
123
124* Thu Mar 15 2012 NAKAMURA Kenta <kenta@vinelinux.org> 4.47-1
125- new upstream release
126
127* Sat Apr 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.43-1
128- new upstream release
129- built with new toolchain
130- added static sub-package
131
132* Wed Apr 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.37-1
133- new upstream release
134- added --with-gmp and --with-zlib
135- built with libtool-2.2.6a
136- removed static library
137- added Japanese summary
138
139* Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.28-1
140- new upstream release
141
142* Wed Jan 02 2008 NAKAMURA Kenta <kenta@vinelinux.org> 4.24-1vl1
143- New release.
144
145* Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.20-1vl3
146- rebuilt for VineSeed
147
148* Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.20-1vl2
149- added BuildRequires: gmp-devel
150
151* Mon Aug  6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.20-1vl1
152- initial build for Vine
153
154* Fri Jul 27 2007 Quentin Spencer <qspencer@users.sf.net> 4.20-1
155- New release.
156- Split static libs into separate package.
157
158* Thu Jun 28 2007 Quentin Spencer <qspencer@users.sf.net> 4.18-1
159- New release.
160
161* Wed Mar 28 2007 Quentin Spencer <qspencer@users.sf.net> 4.15-1
162- New release. Shared libraries are now supported.
163
164* Tue Dec 12 2006 Quentin Spencer <qspencer@users.sf.net> 4.13-1
165- New release.
166
167* Tue Aug 29 2006 Quentin Spencer <qspencer@users.sf.net> 4.11-2
168- Rebuild for FC6.
169
170* Tue Jul 25 2006 Quentin Spencer <qspencer@users.sf.net> 4.11-1
171- New release.
172
173* Fri May 12 2006 Quentin Spencer <qspencer@users.sf.net> 4.10-1
174- New release.
175
176* Tue Feb 14 2006 Quentin Spencer <qspencer@users.sf.net> 4.9-2
177- Add dist tag
178
179* Tue Feb 14 2006 Quentin Spencer <qspencer@users.sf.net> 4.9-1
180- New release.
181
182* Tue Aug 09 2005 Quentin Spencer <qspencer@users.sf.net> 4.8-3
183- Remove utils dependency on base package, since it doesn't exist until
184  shared libraries are enabled.
185
186* Tue Aug 09 2005 Quentin Spencer <qspencer@users.sf.net> 4.8-2
187- Add -fPIC to compile flags.
188
189* Fri Jul 22 2005 Quentin Spencer <qspencer@users.sf.net> 4.8-1
190- First version.
Note: See TracBrowser for help on using the repository browser.