1 Summary: fish - A friendly interactive shell
2 Summary(pl.UTF-8): fish - przyjazna interaktywna powłoka
7 Group: Applications/Shells
8 Source0: https://github.com/fish-shell/fish-shell/releases/download/%{version}/%{name}-%{version}.tar.xz
9 # Source0-md5: 94be285255aadfcf0f910bdcc2f56073
10 Patch0: %{name}-no_lld.patch
11 Patch1: %{name}-rel_datadir.patch
12 URL: http://fishshell.com/
13 BuildRequires: cmake >= 3.2
14 BuildRequires: gettext-tools
15 BuildRequires: libstdc++-devel >= 6:4.8.1
16 BuildRequires: ncurses-devel
17 BuildRequires: pcre2-32-devel >= 10.21
18 BuildRequires: rpm-build >= 4.6
19 BuildRequires: rpmbuild(macros) >= 1.605
20 BuildRequires: sphinx-pdg
21 BuildRequires: tar >= 1:1.22
23 Requires: pcre2-32 >= 10.21
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 fish is a shell geared towards interactive use. Its features are
29 focused on user friendlieness and discoverability. The language syntax
30 is simple but incompatible with other shell languages.
32 %description -l pl.UTF-8
33 fish jest powłoką nastawioną na interaktywne używanie. Jego cechą jest
34 przyjazne nastawienie dla użytkownika. Składnia języka jest prosta ale
35 nie jest zgodna z innymi językami powłoki.
38 Summary: Development files for fish
39 Summary(pl.UTF-8): Pliki programistyczne dla fish
40 Group: Development/Libraries
44 Development files for fish.
46 %description devel -l pl.UTF-8
47 Pliki programistyczne dla fish.
54 %{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' share/tools/{deroff.py,create_manpage_completions.py,web_config/webconfig.py}
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} -C build install \
64 DESTDIR=$RPM_BUILD_ROOT
66 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}
71 rm -rf $RPM_BUILD_ROOT
74 %lua_add_etc_shells %{_bindir}/fish
78 %lua_remove_etc_shells %{_bindir}/fish
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc CHANGELOG.rst CONTRIBUTING.rst README.rst user_doc/html/{*.html,*.js,cmds,_static}
84 %dir %{_sysconfdir}/fish
85 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish
86 %attr(755,root,root) %{_bindir}/fish
87 %attr(755,root,root) %{_bindir}/fish_indent
88 %attr(755,root,root) %{_bindir}/fish_key_reader
89 %{_mandir}/man1/fish.1*
90 %{_mandir}/man1/fish_indent.1*
91 %{_mandir}/man1/fish_key_reader.1*
92 %dir %{_datadir}/%{name}
93 %{_datadir}/%{name}/config.fish
94 %{_datadir}/%{name}/__fish_build_paths.fish
95 %dir %{_datadir}/%{name}/completions
96 %{_datadir}/%{name}/completions/*.fish
97 %dir %{_datadir}/%{name}/groff
98 %{_datadir}/%{name}/groff/fish.tmac
99 %dir %{_datadir}/%{name}/functions
100 %{_datadir}/%{name}/functions/*.fish
101 %{_datadir}/%{name}/lynx.lss
102 %{_datadir}/%{name}/man
103 %dir %{_datadir}/%{name}/tools
104 %attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py
105 %{_datadir}/%{name}/tools/deroff.py
106 %dir %{_datadir}/%{name}/tools/web_config
107 %{_datadir}/%{name}/tools/web_config/delete.png
108 %{_datadir}/%{name}/tools/web_config/favicon.png
109 %{_datadir}/%{name}/tools/web_config/fishconfig.css
110 %{_datadir}/%{name}/tools/web_config/index.html
111 %{_datadir}/%{name}/tools/web_config/js
112 %{_datadir}/%{name}/tools/web_config/partials
113 %{_datadir}/%{name}/tools/web_config/sample_prompts
114 %attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py
115 %dir %{_datadir}/%{name}/vendor_completions.d
116 %dir %{_datadir}/%{name}/vendor_conf.d
117 %dir %{_datadir}/%{name}/vendor_functions.d
120 %defattr(644,root,root,755)
121 %{_npkgconfigdir}/fish.pc