- incorporate the package review feedback

This commit is contained in:
Ivana Varekova 2007-03-14 14:57:17 +00:00
parent e1beed372a
commit e1e12d481f

View File

@ -1,24 +1,25 @@
Summary: The GNU Scientific Library for numerical analysis Summary: The GNU Scientific Library for numerical analysis
Name: gsl Name: gsl
Version: 1.8 Version: 1.8
Release: 2%{?dist} Release: 3%{?dist}
URL: http://sources.redhat.com/gsl/ URL: http://sources.redhat.com/gsl/
Source: ftp://sources.redhat.com/pub/gsl/%{name}-%{version}.tar.gz Source: ftp://sources.redhat.com/pub/gsl/%{name}-%{version}.tar.gz
Patch0: gsl-1.1-nousr.patch Patch0: gsl-1.1-nousr.patch
Patch1: gsl-1.8-lib64.patch Patch1: gsl-1.8-lib64.patch
License: GPL License: GPL
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: /sbin/install-info
%description %description
The GNU Scientific Library (GSL) is a collection of routines for The GNU Scientific Library (GSL) is a collection of routines for
numerical analysis, written in C numerical analysis, written in C
%package devel %package devel
Summary: Static libraries and header files for GSL development. Summary: Static libraries and header files for GSL development
Group: Development/Libraries Group: Development/Libraries
Requires: gsl = %{version} Requires: gsl = %{version}-%{release}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description devel %description devel
@ -33,11 +34,12 @@ Library).
%build %build
%configure %configure
#touch doc/gsl-ref.info
make make %{?_smp_mflags}
%install %install
%makeinstall rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# remove unpackaged files from the buildroot # remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
@ -83,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/gsl-randist %{_bindir}/gsl-randist
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS COPYING
%{_bindir}/gsl-config* %{_bindir}/gsl-config*
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
@ -93,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Wed Mar 14 2007 Ivana Varekova <varekova@redhat.com> - 1.8-3
- incorporate the package review feedback
* Mon Jan 22 2007 Ivana Varekova <varekova@redhat.com> - 1.8-2 * Mon Jan 22 2007 Ivana Varekova <varekova@redhat.com> - 1.8-2
- Resolves: 223700 - Resolves: 223700
fix non-failsafe install-info problem fix non-failsafe install-info problem