]> git.pld-linux.org Git - packages/glpk.git/blob - glpk.spec
- updated to 4.4
[packages/glpk.git] / glpk.spec
1 Summary:        Solver LP and MIP problems
2 Summary(pl):    Narzêdzie do rozwi±zywania problemów LP i MIP
3 Name:           glpk
4 Version:        4.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  8ccbba6bd19251a0d0f410e37a8b6475
10 URL:            http://www.gnu.org/software/glpk/glpk.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The GLPK package is intended for solving linear programming (LP) and
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.
20
21 %description -l pl
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
25 biblioteki i napisanych w ANSI C.
26
27 %package devel
28 Summary:        Solver LP and MIP problems - developers libraries.
29 Summary(pl):    Narzêdzie do rozwi±zywania problemów LP i MIP - biblioteki.
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 Solver LP and MIP problems - libraries for developers
35
36 %description devel -l pl
37 Narzêdzie do rozwi±zywania problemów LP i MIP - biblioteki dla
38 programistów.
39
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}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README NEWS doc/*
63 %attr(755,root,root) %{_bindir}/*
64
65 %files devel
66 %defattr(644,root,root,755)
67 %{_libdir}/*.a
68 %{_includedir}/*.h
This page took 0.123641 seconds and 3 git commands to generate.