]> git.pld-linux.org Git - packages/glpk.git/blame - glpk.spec
- libtool BR for --install arg
[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
43d72bd0 8Source0: http://ftp.gnu.org/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
43d72bd0 14BuildRequires: libtool >= 2:2.2
ec84081a 15BuildRequires: mysql-devel
b837fa08 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The GLPK package is intended for solving linear programming (LP) and
a79a4289 20mixed integer linear programming (MIP) problems. It is a set of
21routines organized in the form of a library and written in the ANSI C
22programming language.
b837fa08 23
26ecdac2
JR
24%description -l pl.UTF-8
25Pakiet GLPK służy do rozwiązywania problemów programowania liniowego
26(LP) oraz mieszanych problemów całkowitoliczbowego programowania
27liniowego (MIP). Jest to zestaw narzędzi zorganizowanych w formie
b837fa08 28biblioteki i napisanych w ANSI C.
29
a79a4289 30%package devel
70043c89
JB
31Summary: Solver LP and MIP problems - header file
32Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - plik nagłówkowy
a79a4289 33Group: Development/Libraries
08c44223 34Requires: %{name} = %{version}-%{release}
a79a4289 35
36%description devel
70043c89 37Solver LP and MIP problems - development files.
a79a4289 38
26ecdac2 39%description devel -l pl.UTF-8
70043c89 40Narzędzie do rozwiązywania problemów LP i MIP - pliki dla
26ecdac2 41programistów.
a79a4289 42
9233632a 43%package static
70043c89
JB
44Summary: Solver LP and MIP problems - static library
45Summary(pl.UTF-8): Narzędzie do rozwiązywania problemów LP i MIP - biblioteka statyczna
9233632a
JR
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
70043c89 50Solver LP and MIP problems - static library.
9233632a
JR
51
52%description devel -l pl.UTF-8
43d72bd0 53Narzędzie do rozwiązywania problemów LP i MIP - biblioteka statyczna.
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.064266 seconds and 4 git commands to generate.