1 Summary: fish - A friendly interactive shell
2 Summary(pl.UTF-8): fish - przyjazna interaktywna powłoka
7 Group: Applications/Shells
8 Source0: http://fishshell.com/files/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: 0251e6e5f25d1f326e071425ea1dee22
10 URL: http://fishshell.com/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: doxygen
13 BuildRequires: gettext-devel
14 BuildRequires: ncurses-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 fish is a shell geared towards interactive use. Its features are
20 focused on user friendlieness and discoverability. The language syntax
21 is simple but incompatible with other shell languages.
23 %description -l pl.UTF-8
24 fish jest powłoką nastawioną na interaktywne używanie. Jego cechą jest
25 przyjazne nastawienie dla użytkownika. Składnia języka jest prosta ale
26 nie jest zgodna z innymi językami powłoki.
40 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
44 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
49 rm -rf $RPM_BUILD_ROOT
53 if [ ! -f /etc/shells ]; then
54 echo "%{_bindir}/fish" >> /etc/shells
56 grep -q '^%{_bindir}/fish$' /etc/shells || echo "%{_bindir}/fish" >> /etc/shells
60 if [ "$1" = "0" ]; then
62 grep -v '^%{_bindir}/fish$' /etc/shells > /etc/shells.new
63 mv -f /etc/shells.new /etc/shells
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc CHANGELOG README.md user_doc/html/*.{html,css,png}
69 %attr(755,root,root) %{_bindir}/fish*
70 %attr(755,root,root) %{_bindir}/mimedb
71 %dir %{_datadir}/%{name}
72 %{_datadir}/%{name}/config.fish
73 %dir %{_datadir}/%{name}/completions
74 %{_datadir}/%{name}/completions/*.fish
75 %dir %{_datadir}/%{name}/functions
76 %{_datadir}/%{name}/functions/*.fish
77 %{_datadir}/%{name}/man
78 %dir %{_datadir}/%{name}/tools
79 %attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py
80 %{_datadir}/%{name}/tools/deroff.py
81 %dir %{_datadir}/%{name}/tools/web_config
82 %{_datadir}/%{name}/tools/web_config/delete.png
83 %{_datadir}/%{name}/tools/web_config/index.html
84 %{_datadir}/%{name}/tools/web_config/jquery.js
85 %{_datadir}/%{name}/tools/web_config/sample_prompts
86 %attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py
87 %dir %{_sysconfdir}/fish
88 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish
89 %{_mandir}/man1/fish*.1*
90 %{_mandir}/man1/mimedb.1*