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.50
12 BuildRequires: doxygen
13 BuildRequires: gettext-devel
14 BuildRequires: ncurses-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 fish is a shell geared towards interactive use. Its features are
21 focused on user friendlieness and discoverability. The language syntax
22 is simple but incompatible with other shell languages.
24 %description -l pl.UTF-8
25 fish jest powłoką nastawioną na interaktywne używanie. Jego cechą jest
26 przyjazne nastawienie dla użytkownika. Składnia języka jest prosta ale
27 nie jest zgodna z innymi językami powłoki.
41 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
45 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
50 rm -rf $RPM_BUILD_ROOT
54 if [ ! -f /etc/shells ]; then
55 echo "%{_bindir}/fish" >> /etc/shells
57 grep -q '^%{_bindir}/fish$' /etc/shells || echo "%{_bindir}/fish" >> /etc/shells
61 if [ "$1" = "0" ]; then
63 grep -v '^%{_bindir}/fish$' /etc/shells > /etc/shells.new
64 mv -f /etc/shells.new /etc/shells
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc CHANGELOG README.md user_doc/html/*.{html,css,png}
70 %attr(755,root,root) %{_bindir}/fish*
71 %attr(755,root,root) %{_bindir}/mimedb
73 %dir %{_sysconfdir}/fish
74 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish
75 %{_mandir}/man1/fish*.1*
76 %{_mandir}/man1/mimedb.1*