environment-modules.spec.in (modules-5.1.1.tar.bz2) | : | environment-modules.spec.in (modules-5.2.0.tar.bz2) | ||
---|---|---|---|---|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/r pm; echo $d) | %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/r pm; echo $d) | |||
%global vimdatadir %{_datadir}/vim/vimfiles | %global vimdatadir %{_datadir}/vim/vimfiles | |||
Name: environment-modules | Name: environment-modules | |||
Version: 5.1.1 | Version: 5.2.0 | |||
Release: @MODULES_RPM_RELEASE@%{?dist} | Release: @MODULES_RPM_RELEASE@%{?dist} | |||
Summary: Provides dynamic modification of a user's environment | Summary: Provides dynamic modification of a user's environment | |||
License: GPLv2+ | License: GPLv2+ | |||
URL: http://modules.sourceforge.net/ | URL: http://modules.sourceforge.net/ | |||
Source0: http://downloads.sourceforge.net/modules/modules-@MODULES_RELEAS E@@MODULES_BUILD@.tar.bz2 | Source0: http://downloads.sourceforge.net/modules/modules-@MODULES_RELEAS E@@MODULES_BUILD@.tar.bz2 | |||
BuildRequires: tcl | BuildRequires: tcl | |||
BuildRequires: dejagnu | BuildRequires: dejagnu | |||
BuildRequires: make | BuildRequires: make | |||
skipping to change at line 46 | skipping to change at line 46 | |||
Requires: procps-ng | Requires: procps-ng | |||
Requires: man-db | Requires: man-db | |||
%endif | %endif | |||
Requires(post): coreutils | Requires(post): coreutils | |||
Requires(post): %{_sbindir}/update-alternatives | Requires(post): %{_sbindir}/update-alternatives | |||
Requires(postun): %{_sbindir}/update-alternatives | Requires(postun): %{_sbindir}/update-alternatives | |||
Provides: environment(modules) | Provides: environment(modules) | |||
Obsoletes: modules-tcl <= 1.923 | Obsoletes: modules-tcl <= 1.923 | |||
Obsoletes: environment-modules-compat <= 4.8.99 | Obsoletes: environment-modules-compat <= 4.8.99 | |||
# Tcl linter is useful for module lint command | ||||
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 | ||||
Recommends: nagelfar | ||||
%endif | ||||
%description | %description | |||
The Environment Modules package provides for the dynamic modification of | The Environment Modules package provides for the dynamic modification of | |||
a user's environment via modulefiles. | a user's environment via modulefiles. | |||
Each modulefile contains the information needed to configure the shell | Each modulefile contains the information needed to configure the shell | |||
for an application. Once the Modules package is initialized, the | for an application. Once the Modules package is initialized, the | |||
environment can be modified on a per-module basis using the module | environment can be modified on a per-module basis using the module | |||
command which interprets modulefiles. Typically modulefiles instruct | command which interprets modulefiles. Typically modulefiles instruct | |||
the module command to alter or set shell environment variables such as | the module command to alter or set shell environment variables such as | |||
PATH, MANPATH, etc. modulefiles may be shared by many users on a system | PATH, MANPATH, etc. modulefiles may be shared by many users on a system | |||
skipping to change at line 87 | skipping to change at line 92 | |||
%global pythonbin /usr/bin/python | %global pythonbin /usr/bin/python | |||
%endif | %endif | |||
%configure --prefix=%{_datadir}/Modules \ | %configure --prefix=%{_datadir}/Modules \ | |||
--libdir=%{_libdir}/%{name} \ | --libdir=%{_libdir}/%{name} \ | |||
--etcdir=%{_sysconfdir}/%{name} \ | --etcdir=%{_sysconfdir}/%{name} \ | |||
--bindir=%{_datadir}/Modules/bin \ | --bindir=%{_datadir}/Modules/bin \ | |||
--libexecdir=%{_datadir}/Modules/libexec \ | --libexecdir=%{_datadir}/Modules/libexec \ | |||
--mandir=%{_mandir} \ | --mandir=%{_mandir} \ | |||
--vimdatadir=%{vimdatadir} \ | --vimdatadir=%{vimdatadir} \ | |||
--nagelfardatadir=%{_datadir}/Modules/nagelfar \ | ||||
--with-bashcompletiondir=%{_datadir}/bash-completion/completions \ | --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ | |||
--with-fishcompletiondir=%{_datadir}/fish/vendor_completions.d \ | --with-fishcompletiondir=%{_datadir}/fish/vendor_completions.d \ | |||
--with-zshcompletiondir=%{_datadir}/zsh/site-functions \ | --with-zshcompletiondir=%{_datadir}/zsh/site-functions \ | |||
--enable-multilib-support \ | --enable-multilib-support \ | |||
--disable-doc-install \ | --disable-doc-install \ | |||
--enable-modulespath \ | --enable-modulespath \ | |||
--with-python=%{pythonbin} \ | --with-python=%{pythonbin} \ | |||
--with-modulepath=%{_datadir}/Modules/modulefiles:%{_sysconfdir}/modu lefiles:%{_datadir}/modulefiles \ | --with-modulepath=%{_datadir}/Modules/modulefiles:%{_sysconfdir}/modu lefiles:%{_datadir}/modulefiles \ | |||
--with-quarantine-vars='LD_LIBRARY_PATH LD_PRELOAD' | --with-quarantine-vars='LD_LIBRARY_PATH LD_PRELOAD' | |||
skipping to change at line 213 | skipping to change at line 219 | |||
%config(noreplace) %{_sysconfdir}/%{name}/siteconfig.tcl | %config(noreplace) %{_sysconfdir}/%{name}/siteconfig.tcl | |||
%{_datadir}/Modules/modulefiles | %{_datadir}/Modules/modulefiles | |||
%{_datadir}/modulefiles | %{_datadir}/modulefiles | |||
%{_mandir}/man1/ml.1.gz | %{_mandir}/man1/ml.1.gz | |||
%{_mandir}/man1/module.1.gz | %{_mandir}/man1/module.1.gz | |||
%{_mandir}/man4/modulefile.4.gz | %{_mandir}/man4/modulefile.4.gz | |||
%{macrosdir}/macros.%{name} | %{macrosdir}/macros.%{name} | |||
%{vimdatadir}/ftdetect/modulefile.vim | %{vimdatadir}/ftdetect/modulefile.vim | |||
%{vimdatadir}/ftplugin/modulefile.vim | %{vimdatadir}/ftplugin/modulefile.vim | |||
%{vimdatadir}/syntax/modulefile.vim | %{vimdatadir}/syntax/modulefile.vim | |||
%dir %{_datadir}/Modules/nagelfar | ||||
%{_datadir}/Modules/nagelfar/* | ||||
%changelog | %changelog | |||
* Tue Nov 08 2022 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.2.0-1 | ||||
- Update to 5.2.0 | ||||
- Recommends Nagelfar Tcl syntax linter | ||||
- Add Nagelfar linter addons | ||||
* Tue May 31 2022 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.1.1-1 | * Tue May 31 2022 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.1.1-1 | |||
- Update to 5.1.1 | - Update to 5.1.1 | |||
- Move libtclenvmodules in an environment-modules directory under libdir | - Move libtclenvmodules in an environment-modules directory under libdir | |||
* Sat Apr 30 2022 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.1.0-1 | * Sat Apr 30 2022 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.1.0-1 | |||
- Update to 5.1.0 | - Update to 5.1.0 | |||
- Install shell completion scripts in system-wide shell-specific locations | - Install shell completion scripts in system-wide shell-specific locations | |||
* Sat Oct 16 2021 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.0.1-1 | * Sat Oct 16 2021 Xavier Delaruelle <xavier.delaruelle@cea.fr> - 5.0.1-1 | |||
- Update to 5.0.1 | - Update to 5.0.1 | |||
End of changes. 5 change blocks. | ||||
1 lines changed or deleted | 14 lines changed or added |