]> git.pld-linux.org Git - packages/glpk.git/blame - glpk.spec
- libtool 2.2 fix
[packages/glpk.git] / glpk.spec
CommitLineData
b837fa08 1Summary: Solver LP and MIP problems
d1fa44a2 2Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP
b837fa08 3Name: glpk
ec84081a 4Version: 4.27
6c0dec7b 5Release: 3
70043c89 6License: GPL v3+
b837fa08 7Group: Applications/Math
08c44223 8Source0: ftp://ftp.gnu.org/pub/gnu/glpk/%{name}-%{version}.tar.gz
ec84081a 9# Source0-md5: aa089dd6a5becd9251d9e716d660316d
b837fa08 10URL: http://www.gnu.org/software/glpk/glpk.html
af9659ab
JB
11BuildRequires: autoconf
12BuildRequires: automake
ec84081a 13BuildRequires: libiodbc-devel
14BuildRequires: mysql-devel
b837fa08 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18The GLPK package is intended for solving linear programming (LP) and
a79a4289 19mixed integer linear programming (MIP) problems. It is a set of
20routines organized in the form of a library and written in the ANSI C
21programming language.
b837fa08 22
26ecdac2
JR
23%description -l pl.UTF-8
24Pakiet GLPK służy do rozwiązywania problemów programowania liniowego
25(LP) oraz mieszanych problemów całkowitoliczbowego programowania
26liniowego (MIP). Jest to zestaw narzędzi zorganizowanych w formie
b837fa08 27biblioteki i napisanych w ANSI C.
28
a79a4289 29%package devel
70043c89
JB
30Summary: Solver LP and MIP problems - header file
31Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - plik nagłówkowy
a79a4289 32Group: Development/Libraries
08c44223 33Requires: %{name} = %{version}-%{release}
a79a4289 34
35%description devel
70043c89 36Solver LP and MIP problems - development files.
a79a4289 37
26ecdac2 38%description devel -l pl.UTF-8
70043c89 39Narzędzie do rozwiązywania problemów LP i MIP - pliki dla
26ecdac2 40programistów.
a79a4289 41
9233632a 42%package static
70043c89
JB
43Summary: Solver LP and MIP problems - static library
44Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - biblioteka statyczna
9233632a
JR
45Group: Development/Libraries
46Requires: %{name}-devel = %{version}-%{release}
47
48%description static
70043c89 49Solver LP and MIP problems - static library.
9233632a
JR
50
51%description devel -l pl.UTF-8
70043c89
JB
52Narzędzie do rozwiązywania problemów LP i MIP - biblioteka
53statyczna.
9233632a 54
b837fa08 55%prep
56%setup -q
57
58%build
6c0dec7b 59%{__libtoolize} --install
b837fa08 60%{__aclocal}
61%{__autoconf}
62%configure
63
64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
af9659ab
JB
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
b837fa08 72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
70043c89
JB
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
9233632a 78
b837fa08 79%files
80%defattr(644,root,root,755)
70043c89
JB
81%doc AUTHORS ChangeLog NEWS README doc/{*.txt,glpk.ps,gmpl.ps,memo}
82%attr(755,root,root) %{_bindir}/glpsol
83%attr(755,root,root) %{_libdir}/libglpk.so.*.*.*
84%attr(755,root,root) %ghost %{_libdir}/libglpk.so.0
a79a4289 85
86%files devel
87%defattr(644,root,root,755)
70043c89
JB
88%attr(755,root,root) %{_libdir}/libglpk.so
89%{_libdir}/libglpk.la
90%{_includedir}/glpk.h
9233632a
JR
91
92%files static
93%defattr(644,root,root,755)
70043c89 94%{_libdir}/libglpk.a
This page took 0.072924 seconds and 4 git commands to generate.