]>
Commit | Line | Data |
---|---|---|
b837fa08 | 1 | Summary: Solver LP and MIP problems |
d1fa44a2 | 2 | Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP |
b837fa08 | 3 | Name: glpk |
8f54f4d7 | 4 | Version: 4.11 |
b837fa08 | 5 | Release: 1 |
bd7d9ce3 | 6 | License: GPL v2 |
b837fa08 | 7 | Group: Applications/Math |
08c44223 | 8 | Source0: ftp://ftp.gnu.org/pub/gnu/glpk/%{name}-%{version}.tar.gz |
8f54f4d7 | 9 | # Source0-md5: 8f3ceb60b8a488cb93d5acd31fb780ac |
b837fa08 | 10 | URL: http://www.gnu.org/software/glpk/glpk.html |
af9659ab JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
b837fa08 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | The GLPK package is intended for solving linear programming (LP) and | |
a79a4289 | 17 | mixed integer linear programming (MIP) problems. It is a set of |
18 | routines organized in the form of a library and written in the ANSI C | |
19 | programming language. | |
b837fa08 | 20 | |
26ecdac2 JR |
21 | %description -l pl.UTF-8 |
22 | Pakiet GLPK służy do rozwiązywania problemów programowania liniowego | |
23 | (LP) oraz mieszanych problemów całkowitoliczbowego programowania | |
24 | liniowego (MIP). Jest to zestaw narzędzi zorganizowanych w formie | |
b837fa08 | 25 | biblioteki i napisanych w ANSI C. |
26 | ||
a79a4289 | 27 | %package devel |
08c44223 | 28 | Summary: Solver LP and MIP problems - developers libraries |
d1fa44a2 | 29 | Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - biblioteki. |
a79a4289 | 30 | Group: Development/Libraries |
08c44223 | 31 | Requires: %{name} = %{version}-%{release} |
a79a4289 | 32 | |
33 | %description devel | |
34 | Solver LP and MIP problems - libraries for developers | |
35 | ||
26ecdac2 JR |
36 | %description devel -l pl.UTF-8 |
37 | Narzędzie do rozwiązywania problemów LP i MIP - biblioteki dla | |
38 | programistów. | |
a79a4289 | 39 | |
b837fa08 | 40 | %prep |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %configure | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}} | |
af9659ab JB |
53 | |
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
b837fa08 | 56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
a79a4289 | 62 | %doc README NEWS doc/* |
af9659ab | 63 | %attr(755,root,root) %{_bindir}/* |
a79a4289 | 64 | |
65 | %files devel | |
66 | %defattr(644,root,root,755) | |
b837fa08 | 67 | %{_libdir}/*.a |
68 | %{_includedir}/*.h |