]> git.pld-linux.org Git - packages/glpk.git/commitdiff
- up to 4.24 auto/th/glpk-4_24-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 2 Dec 2007 14:33:11 +0000 (14:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added static subpackage

Changed files:
    glpk.spec -> 1.14

glpk.spec

index 68c8a152102fb11ccb6ef36a6e13610bbcd0888e..762bd77bf290a6c6063bd252e30adf1312621279 100644 (file)
--- a/glpk.spec
+++ b/glpk.spec
@@ -1,12 +1,12 @@
 Summary:       Solver LP and MIP problems
 Summary(pl.UTF-8):     Narzędzie do rozwiązywania problemów LP i MIP
 Name:          glpk
-Version:       4.11
+Version:       4.24
 Release:       1
 License:       GPL v2
 Group:         Applications/Math
 Source0:       ftp://ftp.gnu.org/pub/gnu/glpk/%{name}-%{version}.tar.gz
-# Source0-md5: 8f3ceb60b8a488cb93d5acd31fb780ac
+# Source0-md5: 765dcecc20dc6b80362e65c755f41976
 URL:           http://www.gnu.org/software/glpk/glpk.html
 BuildRequires: autoconf
 BuildRequires: automake
@@ -37,6 +37,19 @@ Solver LP and MIP problems - libraries for developers
 Narzędzie do rozwiązywania problemów LP i MIP - biblioteki dla
 programistów.
 
+%package static
+Summary:       Solver LP and MIP problems - static libraries
+Summary(pl.UTF-8):     Narzędzie do rozwiązywania problemów LP i MIP - biblioteki statyczne
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Solver LP and MIP problems - static libraries.
+
+%description devel -l pl.UTF-8
+Narzędzie do rozwiązywania problemów LP i MIP - biblioteki
+statyczne.
+
 %prep
 %setup -q
 
@@ -57,12 +70,21 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc README NEWS doc/*
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/*.so.*
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.la
 %{_includedir}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
This page took 0.060187 seconds and 4 git commands to generate.