]>
Commit | Line | Data |
---|---|---|
25ddbbcf | 1 | Summary: fish - A friendly interactive shell |
40ac1bd0 | 2 | Summary(pl.UTF-8): fish - przyjazna interaktywna powłoka |
25ddbbcf | 3 | Name: fish |
94ada9d9 ER |
4 | Version: 2.3.1 |
5 | Release: 1 | |
8091d495 | 6 | License: GPL v2 |
25ddbbcf | 7 | Group: Applications/Shells |
83b86118 | 8 | Source0: http://fishshell.com/files/%{version}/%{name}-%{version}.tar.gz |
94ada9d9 | 9 | # Source0-md5: 2d13852a5c8e9e5bca00502b93e046a4 |
f0ed580f | 10 | URL: http://fishshell.com/ |
a41112b2 | 11 | BuildRequires: autoconf >= 2.60 |
25ddbbcf | 12 | BuildRequires: doxygen |
3c11e962 | 13 | BuildRequires: gettext-tools |
25ddbbcf | 14 | BuildRequires: ncurses-devel |
9627c1b1 | 15 | BuildRequires: rpmbuild(macros) >= 1.462 |
a41112b2 | 16 | Suggests: python |
25ddbbcf JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
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. | |
23 | ||
73b83bf8 JR |
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. | |
25ddbbcf JB |
28 | |
29 | %prep | |
30 | %setup -q | |
25ddbbcf JB |
31 | |
32 | %build | |
83b86118 | 33 | %{__aclocal} |
09f04fbf | 34 | %{__autoconf} |
35 | %{__autoheader} | |
94ada9d9 ER |
36 | %configure \ |
37 | --disable-silent-rules | |
f0ed580f | 38 | |
25ddbbcf JB |
39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
25ddbbcf JB |
43 | %{__make} install \ |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
83b86118 | 46 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
94ada9d9 ER |
47 | # no -devel package yet |
48 | %{__rm} $RPM_BUILD_ROOT%{_npkgconfigdir}/fish.pc | |
83b86118 | 49 | |
4f8e8f9b | 50 | %find_lang %{name} |
51 | ||
25ddbbcf JB |
52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
c2765f59 AM |
55 | %post -p <lua> |
56 | %lua_add_etc_shells %{_bindir}/fish | |
83b86118 | 57 | |
c2765f59 AM |
58 | %preun -p <lua> |
59 | if arg[2] == 0 then | |
60 | %lua_remove_etc_shells %{_bindir}/fish | |
61 | end | |
83b86118 | 62 | |
4f8e8f9b | 63 | %files -f %{name}.lang |
25ddbbcf | 64 | %defattr(644,root,root,755) |
789aecdf | 65 | %doc README.md user_doc/html/*.{html,css,png} |
94ada9d9 ER |
66 | %dir %{_sysconfdir}/fish |
67 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish | |
68 | %attr(755,root,root) %{_bindir}/fish | |
69 | %attr(755,root,root) %{_bindir}/fish_indent | |
70 | %attr(755,root,root) %{_bindir}/fish_key_reader | |
71 | %{_mandir}/man1/fish.1* | |
72 | %{_mandir}/man1/fish_indent.1* | |
73 | %{_mandir}/man1/fish_key_reader.1* | |
a41112b2 JP |
74 | %dir %{_datadir}/%{name} |
75 | %{_datadir}/%{name}/config.fish | |
94ada9d9 | 76 | %{_datadir}/%{name}/__fish_build_paths.fish |
a41112b2 | 77 | %dir %{_datadir}/%{name}/completions |
789aecdf | 78 | %{_datadir}/%{name}/completions/..fish |
a41112b2 | 79 | %{_datadir}/%{name}/completions/*.fish |
249a272a | 80 | %{_datadir}/%{name}/vendor_completions.d |
a41112b2 JP |
81 | %dir %{_datadir}/%{name}/functions |
82 | %{_datadir}/%{name}/functions/*.fish | |
83 | %{_datadir}/%{name}/man | |
84 | %dir %{_datadir}/%{name}/tools | |
85 | %attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py | |
86 | %{_datadir}/%{name}/tools/deroff.py | |
87 | %dir %{_datadir}/%{name}/tools/web_config | |
88 | %{_datadir}/%{name}/tools/web_config/delete.png | |
94ada9d9 | 89 | %{_datadir}/%{name}/tools/web_config/favicon.png |
789aecdf | 90 | %{_datadir}/%{name}/tools/web_config/fishconfig.css |
a41112b2 | 91 | %{_datadir}/%{name}/tools/web_config/index.html |
789aecdf AM |
92 | %{_datadir}/%{name}/tools/web_config/js |
93 | %{_datadir}/%{name}/tools/web_config/partials | |
a41112b2 JP |
94 | %{_datadir}/%{name}/tools/web_config/sample_prompts |
95 | %attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py |