SPECS: sundials.spec - rel 2 - added devel and static packages - added docu...
baggins
baggins at pld-linux.org
Tue Mar 3 10:56:58 CET 2009
Author: baggins Date: Tue Mar 3 09:56:58 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 2
- added devel and static packages
- added documentation to devel package
---- Files affected:
SPECS:
sundials.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/sundials.spec
diff -u SPECS/sundials.spec:1.2 SPECS/sundials.spec:1.3
--- SPECS/sundials.spec:1.2 Mon Mar 2 23:04:36 2009
+++ SPECS/sundials.spec Tue Mar 3 10:56:53 2009
@@ -2,9 +2,9 @@
Summary: SUite of Nonlinear and DIfferential/ALgebraic equation Solvers
Name: sundials
Version: 2.3.0
-Release: 1
+Release: 2
License: BSD
-Group: Applications/Math
+Group: Development/Libraries
Source0: https://computation.llnl.gov/casc/sundials/download/code/%{name}-%{version}.tar.gz
# Source0-md5: c236f2a7e0e6a03b8fab3d189471b933
Patch0: %{name}-DESTDIR.patch
@@ -25,6 +25,23 @@
equation (DAE) systems.
KINSOL solves nonlinear algebraic systems.
+%package devel
+Summary: SUNDIALS development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains headers and development files needed to
+develop applications with SUNDIALS.
+
+%package static
+Summary: SUNDIALS static libraries
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+This package contains SUNDIALS static libraries.
+
%prep
%setup -q
%patch0 -p1
@@ -58,22 +75,34 @@
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/sundials-config
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %{_libdir}/lib*.so
%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
%attr(755,root,root) %ghost %{_libdir}/lib*.so.1
-%{_libdir}/lib*.a
+
+%files devel
+%defattr(644,root,root,755)
+%doc README doc/*/*.pdf
+%attr(755,root,root) %{_bindir}/sundials-config
+%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/*
%{_examplesdir}/%{name}-%{version}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.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.3 2009/03/03 09:56:53 baggins
+- rel 2
+- added devel and static packages
+- added documentation to devel package
+
Revision 1.2 2009/03/02 22:04:36 baggins
- rel 1
- fixed problems with ancient libtool
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sundials.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list