Compare commits

..

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

@ -0,0 +1,3 @@
d711f20b53693b4f0946489b1b0abcbccc8888d8 SOURCES/fish-3.7.1.tar.xz
56219b870262be048afeaa3104c47198903b0efc SOURCES/fish-3.7.1.tar.xz.asc
3efcd2f8ebca79e34b663edcd319445812c49e9c SOURCES/gpgkey-003837986104878835FA516D7A67D962D88A709A.gpg

24
.gitignore vendored

@ -1,21 +1,3 @@
/fish-2.1.0.tar.gz
/fish-2.1.1.tar.gz
/fish-2.2.0.tar.gz
/fish-2.3.0.tar.gz
/fish-2.3.1.tar.gz
/fish-2.6.0.tar.gz
/fish-2.7.1.tar.gz
/fish-3.0.0.tar.gz
/fish-3.0.2.tar.gz
/fish-3.1.0.tar.gz
/fish-3.1.0.tar.gz.asc
/fish-3.1.2.tar.gz
/fish-3.1.2.tar.gz.asc
/fish-3.2.0.tar.xz
/fish-3.2.0.tar.xz.asc
/fish-3.2.1.tar.xz.asc
/fish-3.2.1.tar.xz
/fish-3.3.0.tar.xz
/fish-3.3.0.tar.xz.asc
/fish-3.3.1.tar.xz
/fish-3.3.1.tar.xz.asc
SOURCES/fish-3.7.1.tar.xz
SOURCES/fish-3.7.1.tar.xz.asc
SOURCES/gpgkey-003837986104878835FA516D7A67D962D88A709A.gpg

@ -1,34 +1,56 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
%global version_base 3.7.1
%dnl %global gitnum 120
%dnl %global githash 1a0b1ae238e1deb132a0ae4a8d0c589d583cc5b0
%dnl %global githashshort %{lua:print(string.sub(rpm.expand('%{githash}'), 1, 11))}
Name: fish
Version: 3.3.1
Release: 3%{?dist}
Version: %{version_base}%{?gitnum:^%{gitnum}g%{githashshort}}
Release: %autorelease
Summary: Friendly interactive shell
# see also doc_src/license.rst
# GPLv2
# - src/fish.cpp
# and rest..
# and rest
# GPLv2+
# - src/builtin_printf.cpp
# - src/builtins/printf.cpp
# BSD
# - src/fallback.cpp
# - share/tools/create_manpage_completions.py
# ISC
# - src/env.cpp
# - src/utf8.cpp
# - src/utf8.h
# LGPLv2+
# - src/wgetopt.c
# - src/wgetopt.cpp
# - src/wgetopt.h
# MIT
# - share/completions/grunt.fish
# - share/tools/web_config/js/angular-route.js
# - share/tools/web_config/js/angular-sanitize.js
# - share/tools/web_config/js/angular.js
# - user_doc/html/_static/jquery.js
# - user_doc/html/_static/underscore.js
License: GPLv2 and BSD and ISC and LGPLv2+ and MIT
# PSF-2.0
# - doc_src/python_docs_theme/,
License: GPL-2.0-only AND BSD-3-Clause AND ISC AND LGPL-2.0-or-later AND MIT AND PSF-2.0
URL: https://fishshell.com
%if %{undefined gitnum}
Source0: https://github.com/fish-shell/fish-shell/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/fish-shell/fish-shell/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: gpgkey-003837986104878835FA516D7A67D962D88A709A.gpg
%else
Source0: https://github.com/fish-shell/fish-shell/archive/%{githash}/%{name}-%{githash}.tar.gz
%endif
BuildRequires: cmake >= 3.2
BuildRequires: cmake >= 3.5
BuildRequires: ninja-build
BuildRequires: gcc
BuildRequires: gcc-c++
@ -37,7 +59,11 @@ BuildRequires: ncurses-devel
BuildRequires: pcre2-devel
BuildRequires: gnupg2
BuildRequires: python3-devel
BuildRequires: python3-pexpect
BuildRequires: procps-ng
BuildRequires: glibc-langpack-en
%global __python %{__python3}
BuildRequires: /usr/bin/sphinx-build
BuildRequires: /usr/bin/desktop-file-validate
# tab completion wants man-db
@ -45,9 +71,7 @@ Recommends: man-db
Recommends: man-pages
Recommends: groff-base
Provides: bundled(js-angular) = 1.0.8
Provides: bundled(js-jquery) = 3.3.1
Provides: bundled(js-underscore) = 1.9.1
Provides: bundled(js-angular) = 1.8.2
%description
fish is a fully-equipped command line shell (like bash or zsh) that is
@ -56,9 +80,13 @@ highlighting, autosuggestions, and tab completions that just work, with
nothing to learn or configure.
%prep
%if %{undefined gitnum}
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1
rm -vrf pcre2-*
%endif
%autosetup -p1 %{?gitnum:-n fish-shell-%{githash}}
%if %{defined gitnum}
echo "%{version_base}-%{gitnum}g%{githashshort}" > version
%endif
# Change the bundled scripts to invoke the python binary directly.
for f in $(find share/tools -type f -name '*.py'); do
@ -66,20 +94,21 @@ for f in $(find share/tools -type f -name '*.py'); do
done
%build
%cmake . -B%{_vpath_builddir} -GNinja \
%cmake -GNinja \
-DBUILD_DOCS=ON \
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
-Dextra_completionsdir=%{_datadir}/%{name}/vendor_completions.d \
-Dextra_functionsdir=%{_datadir}/%{name}/vendor_functions.d \
-Dextra_confdir=%{_datadir}/%{name}/vendor_conf.d
%ninja_build -C %{_vpath_builddir} all fish_tests
%cmake_build -t all doc fish_tests
# We still need to slightly manually adapt the pkgconfig file and remove
# some /usr/local/ references (RHBZ#1869376)
sed -i 's^/usr/local/^/usr/^g' %{_vpath_builddir}/*.pc
%install
%ninja_install -C %{_vpath_builddir}
%cmake_install
# No more automagic Python bytecompilation phase 3
# * https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
@ -92,7 +121,8 @@ cp -a CONTRIBUTING.rst %{buildroot}%{_pkgdocdir}
%find_lang %{name}
%check
%{_vpath_builddir}/fish_tests
# Sadly, ctest is broken
%ninja_build -C %{_vpath_builddir} test
desktop-file-validate %{buildroot}%{_datadir}/applications/fish.desktop
%post
@ -124,8 +154,78 @@ fi
%{_datadir}/pixmaps/fish.png
%changelog
* Tue Dec 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.3.1-3
- Rebuild
* Tue Dec 17 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.7.1-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sat Jul 27 2024 ErrorNoInternet <errornointernet@envs.net> - 3.7.1-1
- New upstream release 3.7.1 (fixes rhbz#2270247)
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jan 02 2024 Neal Gompa <ngompa@fedoraproject.org> - 3.7.0-1
- New upstream release 3.7.0 (Resolves: rhbz#2256375)
* Mon Dec 11 2023 Dan Čermák <dan.cermak@cgc-instruments.com> - 3.6.4-2
- Remove duplicate AND from License tag
* Wed Dec 06 2023 Dan Čermák <dan.cermak@cgc-instruments.com> - 3.6.4-1
- New upstream release 3.6.4, fixes rhbz#2252773
* Wed Dec 06 2023 Dan Čermák <dan.cermak@cgc-instruments.com> - 3.6.1-4
- Switch license identifier to SPDX and add missing PSF-2.0
* Tue Dec 05 2023 Dan Čermák <dan.cermak@cgc-instruments.com> - 3.6.1-3
- Use proper rpm comments to prevent macro expansion
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Apr 10 2023 Siteshwar Vashisht <svashisht@redhat.com> - 3.6.1-1
- Update to 3.6.1
* Tue Jan 31 2023 Siteshwar Vashisht <svashisht@redhat.com> - 3.6.0-1
- Update to 3.6.0
* Mon Aug 15 2022 Siteshwar Vashisht <svashisht@redhat.com> - 3.5.1-1
- Update to 3.5.1
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Siteshwar Vashisht <svashisht@redhat.com> - 3.5.0-1
- Update to 3.5.0
* Sun Apr 03 2022 Igor Raits <igor.raits@gmail.com> - 3.4.1^120g1a0b1ae238e-1
- Update to 3.4.1-120-g1a0b1ae23
* Sun Apr 03 2022 Igor Raits <igor.raits@gmail.com> - 3.4.1-1
- Update to 3.4.1
* Sun Mar 13 2022 Igor Raits <igor.raits@gmail.com> - 3.4.0-1
- Update to 3.4.0
* Mon Feb 21 2022 Igor Raits <igor.raits@gmail.com> - 3.3.1^1075ge0bc944d5c5-1
- Update to 3.3.1-1075-ge0bc944d5
* Sun Feb 06 2022 Igor Raits <igor.raits@gmail.com> - 3.3.1^1034g964b7a729a7-1
- Update to 3.3.1-1034-g964b7a729
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1^803g76a336d647e-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Dec 29 2021 Igor Raits <igor.raits@gmail.com> - 3.3.1^803g76a336d647e-2
- Add missing BuildRequires for tests
* Wed Dec 29 2021 Igor Raits <igor.raits@gmail.com> - 3.3.1^803g76a336d647e-1
- Update to 3.3.1-803-g76a336d64
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
@ -453,3 +553,5 @@ fi
- Add smp_mflags to 'make all'
- Fix typo in post install scriptlet test
- Set CFLAGS from spec file
## END: Generated by rpmautospec

@ -1,2 +0,0 @@
SHA512 (fish-3.3.1.tar.xz) = fc50ca44fab3f2d942284d4f714150f7ccf1e49c73da36f8d4ae4a33a9b3280f98bed15848839f5d443b4274fd0ff90174bafa6a8e9a4da226dda63d7766a660
SHA512 (fish-3.3.1.tar.xz.asc) = 1757ef4c93b302fe86f669d3549884d9e6f265b45be1945ec1c7551d2d0489b5f51dfe5c288f5b415f905f0ad1d9d0d1d304f08682459b171ac72a293651cc8a
Loading…
Cancel
Save