Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
eb1d8d2cf8 | |||
dd0314925e | |||
604105dd84 | |||
61b18556d9 | |||
79208736c1 |
@@ -1,4 +0,0 @@
|
|||||||
<multibuild>
|
|
||||||
<package>serial</package>
|
|
||||||
<package>gnu-hpc</package>
|
|
||||||
</multibuild>
|
|
16
gsl.changes
16
gsl.changes
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 30 14:25:12 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||||
|
|
||||||
|
- Don't package the whole _includedir, only the gsl folder
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 28 10:59:18 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- Remove obsolete Obsolete (from almost a decade ago)
|
||||||
|
- Remove HPC code as it's unused now (bsc#1239982)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 09:14:06 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Ensure that %check do not modify build results (boo#1227364)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 11 05:03:47 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
Tue Jun 11 05:03:47 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
320
gsl.spec
320
gsl.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gsl
|
# spec file for package gsl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,110 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%define libname libgsl28
|
||||||
|
%define libcblas libgslcblas0
|
||||||
|
|
||||||
%define pname gsl
|
Name: gsl
|
||||||
%define vers 2.8
|
Version: 2.8
|
||||||
%define _vers 2_8_0
|
|
||||||
%define lgsl_so_v 28
|
|
||||||
%define lgslcblas_so_v 0
|
|
||||||
|
|
||||||
%if "%{flavor}" == ""
|
|
||||||
ExclusiveArch: do_not_build
|
|
||||||
%define package_name %pname
|
|
||||||
%bcond_with hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "serial"
|
|
||||||
%bcond_with hpc
|
|
||||||
%define manext .gz
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "gnu-hpc"
|
|
||||||
%define compiler_family gnu
|
|
||||||
%undefine c_f_ver
|
|
||||||
%define manext %{nil}
|
|
||||||
%bcond_without hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "gnu6-hpc"
|
|
||||||
%define compiler_family gnu
|
|
||||||
%define c_f_ver 6
|
|
||||||
%define manext %{nil}
|
|
||||||
%bcond_without hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "gnu7-hpc"
|
|
||||||
%define compiler_family gnu
|
|
||||||
%define c_f_ver 7
|
|
||||||
%define manext %{nil}
|
|
||||||
%bcond_without hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "gnu8-hpc"
|
|
||||||
%define compiler_family gnu
|
|
||||||
%define c_f_ver 8
|
|
||||||
%define manext %{nil}
|
|
||||||
%bcond_without hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "gnu9-hpc"
|
|
||||||
%define compiler_family gnu
|
|
||||||
%define c_f_ver 9
|
|
||||||
%define manext %{nil}
|
|
||||||
%bcond_without hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == "gnu10-hpc"
|
|
||||||
%define compiler_family gnu
|
|
||||||
%define c_f_ver 10
|
|
||||||
%define manext %{nil}
|
|
||||||
%bcond_without hpc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{without hpc}
|
|
||||||
%if 0%{!?package_name:1}
|
|
||||||
%define package_name %{pname}
|
|
||||||
%endif
|
|
||||||
%define p_prefix %_prefix
|
|
||||||
%define p_includedir %_includedir/%pname
|
|
||||||
%define p_libdir %_libdir
|
|
||||||
%define p_bindir %_bindir
|
|
||||||
%define p_mandir %_mandir
|
|
||||||
%define p_datadir %_datadir
|
|
||||||
%define p_infodir %_infodir
|
|
||||||
%define num_threads 64
|
|
||||||
%define libname lib%{pname}%{lgsl_so_v}
|
|
||||||
%define libcblas lib%{pname}cblas%{lgslcblas_so_v}
|
|
||||||
|
|
||||||
%else
|
|
||||||
|
|
||||||
%{hpc_init -c %{compiler_family} %{?c_f_ver:-v %{c_f_ver}} %{?ext:-e %{ext}}}
|
|
||||||
%define package_name %{hpc_package_name %_vers}
|
|
||||||
|
|
||||||
%define p_prefix %hpc_prefix
|
|
||||||
%define p_includedir %hpc_includedir
|
|
||||||
%define p_libdir %hpc_libdir
|
|
||||||
%define p_bindir %hpc_bindir
|
|
||||||
%define p_mandir %hpc_mandir
|
|
||||||
%define p_datadir %hpc_datadir
|
|
||||||
%define p_infodir %hpc_infodir
|
|
||||||
%define num_threads 256
|
|
||||||
%define libname lib%{package_name}
|
|
||||||
%define libcblas lib%{pname}cblas%{hpc_package_name_tail %{_vers}}
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: %{package_name}
|
|
||||||
Version: %{vers}
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNU Scientific Library
|
Summary: GNU Scientific Library
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
URL: https://www.gnu.org/software/%{pname}/
|
URL: https://www.gnu.org/software/%{name}/
|
||||||
Source0: https://ftp.gnu.org/pub/gnu/%{pname}/%{pname}-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source1: https://ftp.gnu.org/pub/gnu/%{pname}/%{pname}-%{version}.tar.gz.sig
|
Source1: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz.sig
|
||||||
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=gsl&download=1#/%{pname}.keyring
|
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=gsl&download=1#/%{name}.keyring
|
||||||
Patch6: gsl-qawc-test-x86-precision.diff
|
Patch6: gsl-qawc-test-x86-precision.diff
|
||||||
Patch7: gsl-disable-fma.patch
|
Patch7: gsl-disable-fma.patch
|
||||||
# PATCH-FIX-UPSTREAM gsl-bspline-missing-definition.patch svg#65868 badshah400@gmail.com -- Add missing definition for gsl_bspline_eval_nonzero
|
# PATCH-FIX-UPSTREAM gsl-bspline-missing-definition.patch svg#65868 badshah400@gmail.com -- Add missing definition for gsl_bspline_eval_nonzero
|
||||||
@@ -129,17 +38,9 @@ BuildRequires: automake
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%if %{without hpc}
|
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun):update-alternatives
|
Requires(preun): update-alternatives
|
||||||
%else
|
|
||||||
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
|
||||||
BuildRequires: lua-lmod
|
|
||||||
BuildRequires: suse-hpc
|
|
||||||
Requires: %{libname} = %version
|
|
||||||
%global dep_summary %{summary}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU Scientific Library (GSL) is a collection of routines for
|
The GNU Scientific Library (GSL) is a collection of routines for
|
||||||
@@ -151,13 +52,6 @@ high level languages.
|
|||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: GNU Scientific Library
|
Summary: GNU Scientific Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
%if %{with hpc}
|
|
||||||
%{hpc_requires}
|
|
||||||
BuildRequires: lua-lmod
|
|
||||||
Requires: %{name}-module = %version
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package}}
|
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
The GNU Scientific Library (GSL) is a collection of routines for
|
The GNU Scientific Library (GSL) is a collection of routines for
|
||||||
@@ -178,24 +72,15 @@ Numerical Differentiation - Chebyshev Approximation - Series Acceleration -
|
|||||||
Discrete Hankel Transforms - Root-Finding - Minimization -
|
Discrete Hankel Transforms - Root-Finding - Minimization -
|
||||||
Least-Squares Fitting - Physical Constants - IEEE Floating-Point
|
Least-Squares Fitting - Physical Constants - IEEE Floating-Point
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package -l -L}}
|
|
||||||
|
|
||||||
%package -n %{libcblas}
|
%package -n %{libcblas}
|
||||||
Summary: A standard C language APIs for BLAS from GNU Scientific Library
|
Summary: A standard C language APIs for BLAS from GNU Scientific Library
|
||||||
# file conflict, see boo#991155
|
# file conflict, see boo#991155
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Obsoletes: libgsl0
|
|
||||||
%if %{with hpc}
|
|
||||||
%{hpc_requires}
|
|
||||||
Requires: %{name}-module = %version
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n %{libcblas}
|
%description -n %{libcblas}
|
||||||
This library provides a native C interface to BLAS routines. This is part of
|
This library provides a native C interface to BLAS routines. This is part of
|
||||||
the GNU Scientific Library.
|
the GNU Scientific Library.
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package -L -l -n lib%{pname}cblas%{hpc_package_name_tail} -N %{pname}cblas}}
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the GNU Scientific Library
|
Summary: Development files for the GNU Scientific Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@@ -214,13 +99,11 @@ team in ANSI C, and present an Applications Programming Interface
|
|||||||
(API) for C programmers, while allowing wrappers to be written for very
|
(API) for C programmers, while allowing wrappers to be written for very
|
||||||
high level languages.
|
high level languages.
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package -L devel}}
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for the GNU Scientific Library
|
Summary: Documentation for the GNU Scientific Library
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(preun):%{install_info_prereq}
|
Requires(preun): %{install_info_prereq}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
@@ -232,8 +115,6 @@ team in ANSI C, and present an Applications Programming Interface
|
|||||||
(API) for C programmers, while allowing wrappers to be written for very
|
(API) for C programmers, while allowing wrappers to be written for very
|
||||||
high level languages.
|
high level languages.
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package doc}}
|
|
||||||
|
|
||||||
%package examples
|
%package examples
|
||||||
Summary: Examples for the GNU Scientific Library
|
Summary: Examples for the GNU Scientific Library
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
@@ -242,179 +123,71 @@ BuildArch: noarch
|
|||||||
%description examples
|
%description examples
|
||||||
This package contains examples for GSL
|
This package contains examples for GSL
|
||||||
|
|
||||||
|
|
||||||
%if %{with hpc}
|
|
||||||
%package module
|
|
||||||
Summary: Module files for %{name}
|
|
||||||
# Package can not be noarch, as this will lead to the situation, so
|
|
||||||
# that sometimes 32bit rpm is used with %%{_lib}=lib or 64 bit, where
|
|
||||||
# %%{_lib}=lib64
|
|
||||||
Group: Development/Libraries/Parallel
|
|
||||||
|
|
||||||
%description module
|
|
||||||
This package contains the environment module needed for the GSL
|
|
||||||
library packages.
|
|
||||||
%endif
|
|
||||||
# module package only installed thru dependency. No master package
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pname}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch -P 6
|
%patch -P 6
|
||||||
%patch -P 7 -p1
|
%patch -P 7 -p1
|
||||||
%patch -P 8 -p1
|
%patch -P 8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%if %{with hpc}
|
|
||||||
%hpc_debug
|
|
||||||
%hpc_setup
|
|
||||||
%endif
|
|
||||||
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%if %{without hpc}
|
|
||||||
%configure \
|
%configure \
|
||||||
%else
|
|
||||||
%hpc_configure \
|
|
||||||
%endif
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
|
# create a copy for testing without dirtying the installed files
|
||||||
|
cp -a `pwd` ../test.tmp
|
||||||
|
# Clean up to package directory
|
||||||
|
make -C doc/examples clean
|
||||||
|
rm doc/examples/Makefile*
|
||||||
|
chmod a-x doc/examples/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# On i586 this still fails
|
cd ../test.tmp
|
||||||
|
# On i586 (32bit) this still fails
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 0 )
|
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 0 )
|
||||||
%else
|
%else
|
||||||
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 1 )
|
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 1 )
|
||||||
%endif
|
%endif
|
||||||
# Clean up to package directory
|
cd .. ; rm -rf test.tmp
|
||||||
make -C doc/examples clean
|
|
||||||
chmod a-x doc/examples/*
|
|
||||||
rm doc/examples/Makefile*
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{?with_hpc:%hpc_setup}
|
|
||||||
|
|
||||||
%make_install
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
|
||||||
rm -f %{buildroot}%{p_infodir}/dir
|
|
||||||
|
|
||||||
%if %{with hpc}
|
|
||||||
%{hpc_write_pkgconfig}
|
|
||||||
%{hpc_write_pkgconfig -n %{pname}cblas -l %{pname}cblas}
|
|
||||||
|
|
||||||
%hpc_write_modules_files
|
|
||||||
#%%Module1.0#####################################################################
|
|
||||||
|
|
||||||
proc ModulesHelp { } {
|
|
||||||
|
|
||||||
puts stderr " "
|
|
||||||
puts stderr "This module loads the %{pname} library built with the %{compiler_family} compiler toolchain."
|
|
||||||
puts stderr "\nVersion %{version}\n"
|
|
||||||
|
|
||||||
}
|
|
||||||
module-whatis "Name: %{pname} built with %{compiler_family} toolchain"
|
|
||||||
module-whatis "Version: %{version}"
|
|
||||||
module-whatis "Category: runtime library"
|
|
||||||
module-whatis "Description: %{SUMMARY}"
|
|
||||||
module-whatis "%{url}"
|
|
||||||
|
|
||||||
set version %{version}
|
|
||||||
|
|
||||||
prepend-path PATH %{hpc_bindir}
|
|
||||||
prepend-path LD_LIBRARY_PATH %{hpc_libdir}
|
|
||||||
|
|
||||||
setenv %{hpc_upcase %pname}_DIR %{hpc_prefix}
|
|
||||||
setenv %{hpc_upcase %pname}_BIN %{hpc_bindir}
|
|
||||||
setenv %{hpc_upcase %pname}_LIB %{hpc_libdir}
|
|
||||||
|
|
||||||
prepend-path LIBRARY_PATH %{hpc_libdir}
|
|
||||||
prepend-path MANPATH %{hpc_mandir}
|
|
||||||
prepend-path INFOPATH %{hpc_infodir}
|
|
||||||
if {[file isdirectory %{hpc_includedir}]} {
|
|
||||||
prepend-path CPATH %{hpc_includedir}
|
|
||||||
prepend-path C_INCLUDE_PATH %{hpc_includedir}
|
|
||||||
prepend-path CPLUS_INCLUDE_PATH %{hpc_includedir}
|
|
||||||
prepend-path INCLUDE %{hpc_includedir}
|
|
||||||
%hpc_modulefile_add_pkgconfig_path
|
|
||||||
|
|
||||||
setenv %{hpc_upcase %pname}_INC %{hpc_includedir}
|
|
||||||
}
|
|
||||||
|
|
||||||
family "%pname"
|
|
||||||
|
|
||||||
EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{without hpc}
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
%post -n %{libcblas} -p /sbin/ldconfig
|
%post -n %{libcblas} -p /sbin/ldconfig
|
||||||
%postun -n %{libcblas} -p /sbin/ldconfig
|
%postun -n %{libcblas} -p /sbin/ldconfig
|
||||||
%else
|
|
||||||
|
|
||||||
%post -n %{libname}
|
|
||||||
/sbin/ldconfig -N %{p_libdir}
|
|
||||||
|
|
||||||
%postun -n %{libname}
|
|
||||||
/sbin/ldconfig -N %{p_libdir}
|
|
||||||
|
|
||||||
%post -n %{libcblas}
|
|
||||||
/sbin/ldconfig -N %{p_libdir}
|
|
||||||
|
|
||||||
%postun -n %{libcblas}
|
|
||||||
/sbin/ldconfig -N %{p_libdir}
|
|
||||||
|
|
||||||
%postun -n %{name}-module
|
|
||||||
%hpc_module_delete_if_default
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with hpc}
|
|
||||||
%files module
|
|
||||||
%hpc_modules_files
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{?with_hpc:%hpc_dirs}
|
%{_bindir}/gsl-histogram
|
||||||
%{?with_hpc:%dir %p_bindir}
|
%{_bindir}/gsl-randist
|
||||||
%{p_bindir}/gsl-histogram
|
%{_mandir}/man1/gsl-histogram.1*
|
||||||
%{p_bindir}/gsl-randist
|
%{_mandir}/man1/gsl-randist.1*
|
||||||
%{?with_hpc:%dir %{p_mandir}}
|
|
||||||
%{?with_hpc:%dir %{p_mandir}/man1}
|
|
||||||
%{p_mandir}/man1/gsl-histogram.1%{?manext}
|
|
||||||
%{p_mandir}/man1/gsl-randist.1%{?manext}
|
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%{?with_hpc:%hpc_dirs}
|
%{_libdir}/libgsl.so.*
|
||||||
%{?with_hpc:%dir %p_libdir}
|
|
||||||
%{p_libdir}/libgsl.so.*
|
|
||||||
|
|
||||||
%files -n %{libcblas}
|
%files -n %{libcblas}
|
||||||
%{?with_hpc:%hpc_dirs}
|
%{_libdir}/libgslcblas.so.*
|
||||||
%{p_libdir}/libgslcblas.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{?with_hpc:%hpc_dirs}
|
%{_includedir}/gsl
|
||||||
%{p_includedir}
|
%{_libdir}/libgsl*.so
|
||||||
%{?with_hpc:%dir %{p_includedir}/gsl}
|
%{_libdir}/pkgconfig/gsl.pc
|
||||||
%{p_libdir}/libgsl*.so
|
%{_bindir}/gsl-config
|
||||||
%if %{without hpc}
|
%dir %{_datadir}/aclocal
|
||||||
%{p_libdir}/pkgconfig/gsl.pc
|
%{_datadir}/aclocal/gsl.m4
|
||||||
%else
|
%{_mandir}/man1/gsl-config.1*
|
||||||
%{hpc_pkgconfig_file}
|
%{_mandir}/man3/gsl.3*
|
||||||
%{hpc_pkgconfig_file -N -n %{pname}cblas}
|
|
||||||
%endif
|
|
||||||
%{p_bindir}/gsl-config
|
|
||||||
%{?with_hpc:%dir %p_datadir}
|
|
||||||
%dir %{p_datadir}/aclocal
|
|
||||||
%{p_datadir}/aclocal/gsl.m4
|
|
||||||
%{p_mandir}/man1/gsl-config.1%{?manext}
|
|
||||||
%{?with_hpc:%dir %{p_mandir}/man3}
|
|
||||||
%{p_mandir}/man3/gsl.3%{?manext}
|
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%doc doc/examples
|
%doc doc/examples
|
||||||
@@ -423,17 +196,12 @@ EOF
|
|||||||
%files doc
|
%files doc
|
||||||
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%if %{with hpc}
|
%{_infodir}/gsl-ref*
|
||||||
%dir %{hpc_install_path_base}
|
|
||||||
%dir %{hpc_install_path}
|
|
||||||
%dir %{p_infodir}
|
|
||||||
%endif
|
|
||||||
%{p_infodir}/gsl-ref*
|
|
||||||
|
|
||||||
%post doc
|
%post doc
|
||||||
%install_info --info-dir=%{p_infodir} %{p_infodir}/gsl-ref.info%{ext_info}
|
%install_info --info-dir=%{_infodir} %{_infodir}/gsl-ref.info%{ext_info}
|
||||||
|
|
||||||
%preun doc
|
%preun doc
|
||||||
%install_info_delete --info-dir=%{p_infodir} %{p_infodir}/gsl-ref.info%{ext_info}
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gsl-ref.info%{ext_info}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user