1 Summary: Solver LP and MIP problems
2 Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP
7 Group: Applications/Math
8 Source0: http://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz
9 # Source0-md5: eda7965907f6919ffc69801646f13c3e
10 Patch0: %{name}-dl.patch
11 Patch1: %{name}-sonames.patch
12 URL: http://www.gnu.org/software/glpk/glpk.html
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: gmp-devel
16 BuildRequires: libtool >= 2:2.2
17 BuildRequires: mysql-devel >= 5.5.10
18 BuildRequires: unixODBC-devel >= 2.3.1
19 %ifarch %{x8664} ppc64 sparc64 s390x
20 Suggests: libodbc.so.2()(64bit)
21 Suggests: libmysqlclient.so.18()(64bit)
23 Suggests: libodbc.so.2
24 Suggests: libmysqlclient.so.18
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The GLPK package is intended for solving linear programming (LP) and
30 mixed integer linear programming (MIP) problems. It is a set of
31 routines organized in the form of a library and written in the ANSI C
34 %description -l pl.UTF-8
35 Pakiet GLPK służy do rozwiązywania problemów programowania liniowego
36 (LP) oraz mieszanych problemów całkowitoliczbowego programowania
37 liniowego (MIP). Jest to zestaw narzędzi zorganizowanych w formie
38 biblioteki i napisanych w ANSI C.
41 Summary: Solver LP and MIP problems - header file
42 Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - plik nagłówkowy
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
47 Solver LP and MIP problems - development files.
49 %description devel -l pl.UTF-8
50 Narzędzie do rozwiązywania problemów LP i MIP - pliki dla
54 Summary: Solver LP and MIP problems - static library
55 Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - biblioteka statyczna
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Solver LP and MIP problems - static library.
62 %description static -l pl.UTF-8
63 Narzędzie do rozwiązywania problemów LP i MIP - biblioteka statyczna.
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog NEWS README THANKS doc/{*.txt,*.pdf,notes}
99 %attr(755,root,root) %{_bindir}/glpsol
100 %attr(755,root,root) %{_libdir}/libglpk.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libglpk.so.40
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libglpk.so
106 %{_libdir}/libglpk.la
107 %{_includedir}/glpk.h
110 %defattr(644,root,root,755)