]> git.pld-linux.org Git - packages/fish.git/blame - fish.spec
up to 2.6.0
[packages/fish.git] / fish.spec
CommitLineData
25ddbbcf 1Summary: fish - A friendly interactive shell
40ac1bd0 2Summary(pl.UTF-8): fish - przyjazna interaktywna powłoka
25ddbbcf 3Name: fish
325ee2d4 4Version: 2.6.0
94ada9d9 5Release: 1
8091d495 6License: GPL v2
25ddbbcf 7Group: Applications/Shells
83b86118 8Source0: http://fishshell.com/files/%{version}/%{name}-%{version}.tar.gz
325ee2d4 9# Source0-md5: ce9d8cc2a34d172a94cfa3ef9988937c
f0ed580f 10URL: http://fishshell.com/
a41112b2 11BuildRequires: autoconf >= 2.60
25ddbbcf 12BuildRequires: doxygen
3c11e962 13BuildRequires: gettext-tools
25ddbbcf 14BuildRequires: ncurses-devel
9627c1b1 15BuildRequires: rpmbuild(macros) >= 1.462
a41112b2 16Suggests: python
25ddbbcf
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20fish is a shell geared towards interactive use. Its features are
21focused on user friendlieness and discoverability. The language syntax
22is simple but incompatible with other shell languages.
23
73b83bf8
JR
24%description -l pl.UTF-8
25fish jest powłoką nastawioną na interaktywne używanie. Jego cechą jest
26przyjazne nastawienie dla użytkownika. Składnia języka jest prosta ale
27nie 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}
325ee2d4 36%configure
f0ed580f 37
325ee2d4 38%{__make} V=1
25ddbbcf
JB
39
40%install
41rm -rf $RPM_BUILD_ROOT
25ddbbcf
JB
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
83b86118 45%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
94ada9d9
ER
46# no -devel package yet
47%{__rm} $RPM_BUILD_ROOT%{_npkgconfigdir}/fish.pc
83b86118 48
4f8e8f9b 49%find_lang %{name}
50
25ddbbcf
JB
51%clean
52rm -rf $RPM_BUILD_ROOT
53
c2765f59
AM
54%post -p <lua>
55%lua_add_etc_shells %{_bindir}/fish
83b86118 56
c2765f59
AM
57%preun -p <lua>
58if arg[2] == 0 then
59 %lua_remove_etc_shells %{_bindir}/fish
60end
83b86118 61
4f8e8f9b 62%files -f %{name}.lang
25ddbbcf 63%defattr(644,root,root,755)
789aecdf 64%doc README.md user_doc/html/*.{html,css,png}
94ada9d9
ER
65%dir %{_sysconfdir}/fish
66%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish
67%attr(755,root,root) %{_bindir}/fish
68%attr(755,root,root) %{_bindir}/fish_indent
69%attr(755,root,root) %{_bindir}/fish_key_reader
70%{_mandir}/man1/fish.1*
71%{_mandir}/man1/fish_indent.1*
72%{_mandir}/man1/fish_key_reader.1*
a41112b2
JP
73%dir %{_datadir}/%{name}
74%{_datadir}/%{name}/config.fish
94ada9d9 75%{_datadir}/%{name}/__fish_build_paths.fish
a41112b2 76%dir %{_datadir}/%{name}/completions
789aecdf 77%{_datadir}/%{name}/completions/..fish
a41112b2 78%{_datadir}/%{name}/completions/*.fish
249a272a 79%{_datadir}/%{name}/vendor_completions.d
a41112b2
JP
80%dir %{_datadir}/%{name}/functions
81%{_datadir}/%{name}/functions/*.fish
82%{_datadir}/%{name}/man
83%dir %{_datadir}/%{name}/tools
84%attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py
85%{_datadir}/%{name}/tools/deroff.py
86%dir %{_datadir}/%{name}/tools/web_config
87%{_datadir}/%{name}/tools/web_config/delete.png
94ada9d9 88%{_datadir}/%{name}/tools/web_config/favicon.png
789aecdf 89%{_datadir}/%{name}/tools/web_config/fishconfig.css
a41112b2 90%{_datadir}/%{name}/tools/web_config/index.html
789aecdf
AM
91%{_datadir}/%{name}/tools/web_config/js
92%{_datadir}/%{name}/tools/web_config/partials
a41112b2
JP
93%{_datadir}/%{name}/tools/web_config/sample_prompts
94%attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py
This page took 0.163414 seconds and 4 git commands to generate.