Added -doc subpackage

- Added GPLv2 in the license field
This commit is contained in:
Mukundan Ragavan 2016-03-28 21:35:37 -04:00
parent 622648544d
commit 68aa02d4a3

View File

@ -3,11 +3,11 @@
Name: SuperLU Name: SuperLU
Version: 5.1.1 Version: 5.1.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Subroutines to solve sparse linear systems Summary: Subroutines to solve sparse linear systems
%{?el5:Group: System/Libraries} %{?el5:Group: System/Libraries}
License: BSD License: BSD and GPLV2+
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
Source0: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/%{genname}_%{version}.tar.gz Source0: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/%{genname}_%{version}.tar.gz
# Build with -fPIC # Build with -fPIC
@ -40,6 +40,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains the header files The %{name}-devel package contains the header files
and libraries for use with %{name} package. and libraries for use with %{name} package.
%package doc
Summary: Documentation and Examples for SuperLU
Requires: %{name}%{?_isa} = %{version}-%{release}
%description doc
The %{name}-doc package contains all the help documentation along with C
and FORTRAN examples.
%prep %prep
%setup -q -n %{name}_%{version} %setup -q -n %{name}_%{version}
%patch0 -p1 %patch0 -p1
@ -101,11 +109,17 @@ popd
%{_libdir}/libsuperlu.so.%{majorver} %{_libdir}/libsuperlu.so.%{majorver}
%files devel %files devel
%doc DOC EXAMPLE FORTRAN
%{_includedir}/%{name}/ %{_includedir}/%{name}/
%{_libdir}/libsuperlu.so %{_libdir}/libsuperlu.so
%files doc
%doc DOC EXAMPLE FORTRAN
%changelog %changelog
* Mon Mar 28 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 5.1.1-2
- Added -doc subpackage
- Added GPLv2 in the license field
* Mon Mar 21 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 5.1.1-1 * Mon Mar 21 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 5.1.1-1
- Update to 5.1.1 - Update to 5.1.1
- Remove format security patch - not needed anymore - Remove format security patch - not needed anymore