From 9b5899739f98e0859a1466c8e7a54eb92213dd89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 3 Mar 2009 09:56:53 +0000 Subject: [PATCH] - rel 2 - added devel and static packages - added documentation to devel package Changed files: sundials.spec -> 1.3 --- sundials.spec | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/sundials.spec b/sundials.spec index d06b38e..805de4f 100644 --- a/sundials.spec +++ b/sundials.spec @@ -1,9 +1,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 @@ -24,6 +24,23 @@ IDA solves initial value problems for differential-algebraic 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 @@ -57,12 +74,19 @@ rm -rf $RPM_BUILD_ROOT %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 -- 2.44.0