SPECS: glpk.spec - up to 4.24 - added static subpackage

baggins baggins at pld-linux.org
Sun Dec 2 15:33:16 CET 2007


Author: baggins                      Date: Sun Dec  2 14:33:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 4.24
- added static subpackage

---- Files affected:
SPECS:
   glpk.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/glpk.spec
diff -u SPECS/glpk.spec:1.13 SPECS/glpk.spec:1.14
--- SPECS/glpk.spec:1.13	Tue Feb 13 08:16:46 2007
+++ SPECS/glpk.spec	Sun Dec  2 15:33:11 2007
@@ -2,12 +2,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
@@ -38,6 +38,19 @@
 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
 
@@ -58,23 +71,36 @@
 %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
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.13  2007-02-13 07:16:46  glen
+Revision 1.14  2007-12-02 14:33:11  baggins
+- up to 4.24
+- added static subpackage
+
+Revision 1.13  2007/02/13 07:16:46  glen
 - tabs in preamble
 
 Revision 1.12  2007/02/12 00:48:52  baggins
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glpk.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list