]> git.pld-linux.org Git - packages/fish.git/blame - fish.spec
- updated to 3.6.4
[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
6f894dc4
MK
4Version: 3.6.4
5Release: 1
8091d495 6License: GPL v2
25ddbbcf 7Group: Applications/Shells
9847f6a7 8Source0: https://github.com/fish-shell/fish-shell/releases/download/%{version}/%{name}-%{version}.tar.xz
6f894dc4 9# Source0-md5: 600c5d8ffa45b1d73b5263809cb5e6f5
f0ed580f 10URL: http://fishshell.com/
9847f6a7 11BuildRequires: cmake >= 3.2
3c11e962 12BuildRequires: gettext-tools
9847f6a7 13BuildRequires: libstdc++-devel >= 6:4.8.1
25ddbbcf 14BuildRequires: ncurses-devel
9847f6a7 15BuildRequires: pcre2-32-devel >= 10.21
97351efc 16BuildRequires: rpm-build >= 4.6
9847f6a7
JP
17BuildRequires: rpmbuild(macros) >= 1.605
18BuildRequires: sphinx-pdg
19BuildRequires: tar >= 1:1.22
20BuildRequires: xz
21Requires: pcre2-32 >= 10.21
a41112b2 22Suggests: python
25ddbbcf
JB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26fish is a shell geared towards interactive use. Its features are
27focused on user friendlieness and discoverability. The language syntax
28is simple but incompatible with other shell languages.
29
73b83bf8
JR
30%description -l pl.UTF-8
31fish jest powłoką nastawioną na interaktywne używanie. Jego cechą jest
32przyjazne nastawienie dla użytkownika. Składnia języka jest prosta ale
33nie jest zgodna z innymi językami powłoki.
25ddbbcf 34
2057ebbd
JP
35%package devel
36Summary: Development files for fish
37Summary(pl.UTF-8): Pliki programistyczne dla fish
38Group: Development/Libraries
2057ebbd 39BuildArch: noarch
2057ebbd
JP
40
41%description devel
42Development files for fish.
43
44%description devel -l pl.UTF-8
45Pliki programistyczne dla fish.
46
25ddbbcf
JB
47%prep
48%setup -q
25ddbbcf 49
6f894dc4 50%{__sed} -i -e '1s,/usr/bin/env python3$,%{__python3},' share/tools/create_manpage_completions.py
e6f2ed6d 51
25ddbbcf 52%build
9847f6a7 53%cmake -B build
f0ed580f 54
9847f6a7 55%{__make} -C build
25ddbbcf
JB
56
57%install
58rm -rf $RPM_BUILD_ROOT
9847f6a7 59%{__make} -C build install \
25ddbbcf
JB
60 DESTDIR=$RPM_BUILD_ROOT
61
9847f6a7 62%{__rm} -r $RPM_BUILD_ROOT%{_docdir}
83b86118 63
4f8e8f9b 64%find_lang %{name}
65
25ddbbcf
JB
66%clean
67rm -rf $RPM_BUILD_ROOT
68
c2765f59
AM
69%post -p <lua>
70%lua_add_etc_shells %{_bindir}/fish
83b86118 71
c2765f59
AM
72%preun -p <lua>
73if arg[2] == 0 then
74 %lua_remove_etc_shells %{_bindir}/fish
75end
83b86118 76
4f8e8f9b 77%files -f %{name}.lang
25ddbbcf 78%defattr(644,root,root,755)
9847f6a7 79%doc CHANGELOG.rst CONTRIBUTING.rst README.rst user_doc/html/{*.html,*.js,cmds,_static}
94ada9d9
ER
80%dir %{_sysconfdir}/fish
81%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fish/config.fish
82%attr(755,root,root) %{_bindir}/fish
83%attr(755,root,root) %{_bindir}/fish_indent
84%attr(755,root,root) %{_bindir}/fish_key_reader
85%{_mandir}/man1/fish.1*
86%{_mandir}/man1/fish_indent.1*
87%{_mandir}/man1/fish_key_reader.1*
a41112b2
JP
88%dir %{_datadir}/%{name}
89%{_datadir}/%{name}/config.fish
94ada9d9 90%{_datadir}/%{name}/__fish_build_paths.fish
a41112b2
JP
91%dir %{_datadir}/%{name}/completions
92%{_datadir}/%{name}/completions/*.fish
839e6fcf
AG
93%dir %{_datadir}/%{name}/groff
94%{_datadir}/%{name}/groff/fish.tmac
a41112b2
JP
95%dir %{_datadir}/%{name}/functions
96%{_datadir}/%{name}/functions/*.fish
97%{_datadir}/%{name}/man
98%dir %{_datadir}/%{name}/tools
99%attr(755,root,root) %{_datadir}/%{name}/tools/create_manpage_completions.py
100%{_datadir}/%{name}/tools/deroff.py
101%dir %{_datadir}/%{name}/tools/web_config
102%{_datadir}/%{name}/tools/web_config/delete.png
94ada9d9 103%{_datadir}/%{name}/tools/web_config/favicon.png
789aecdf 104%{_datadir}/%{name}/tools/web_config/fishconfig.css
a41112b2 105%{_datadir}/%{name}/tools/web_config/index.html
789aecdf
AM
106%{_datadir}/%{name}/tools/web_config/js
107%{_datadir}/%{name}/tools/web_config/partials
a41112b2 108%{_datadir}/%{name}/tools/web_config/sample_prompts
6f894dc4 109%{_datadir}/%{name}/tools/web_config/themes
a41112b2 110%attr(755,root,root) %{_datadir}/%{name}/tools/web_config/webconfig.py
d18a4864
JR
111%dir %{_datadir}/%{name}/vendor_completions.d
112%dir %{_datadir}/%{name}/vendor_conf.d
113%dir %{_datadir}/%{name}/vendor_functions.d
2057ebbd
JP
114
115%files devel
116%defattr(644,root,root,755)
117%{_npkgconfigdir}/fish.pc
This page took 0.272907 seconds and 5 git commands to generate.