1 Summary: GNU Artanis web-framework
2 Summary(pl.UTF-8): GNU Artanis - szkielet WWW
4 # NOTE: 0.5.x requires guile >= 3.0
7 License: GPL v3+, LGPL v3+
8 Group: Applications/Networking
9 Source0: https://ftp.gnu.org/gnu/artanis/%{name}-%{version}.tar.bz2
10 # Source0-md5: 24bceec509e32b096e912ecee19d82d4
11 URL: http://www.gnu.org/software/artanis/
12 BuildRequires: guile-devel >= 5:2.2
13 BuildRequires: guile-devel < 5:3.2
14 Requires: guile >= 5:2.2
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 GNU Artanis aims to be a web application framework for Scheme.
20 %description -l pl.UTF-8
21 GNU Artanis to szkielet aplikacji WWW dla Scheme.
23 %package -n bash-completion-artanis
24 Summary: Bash completion for artanis commands
25 Summary(pl.UTF-8): Bashowe dopełnianie poleceń artanis
26 Group: Applications/Shells
27 Requires: %{name} = %{version}-%{release}
29 %description -n bash-completion-artanis
30 Bash completion for artanis commands.
32 %description -n bash-completion-artanis -l pl.UTF-8
33 Bashowe dopełnianie poleceń artanis.
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
48 %{__mv} $RPM_BUILD_ROOT{/bin,%{_prefix}/bin}
50 install -d $RPM_BUILD_ROOT%{bash_compdir}
51 cp -p build-aux/show-artanis-cmds.sh $RPM_BUILD_ROOT%{bash_compdir}/artanis
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc BUGS NEWS README.md SECURITY_WARNING THANKS TODO
59 %attr(755,root,root) %{_bindir}/art
60 %dir %{_sysconfdir}/artanis
61 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/artanis/artanis.conf
62 %dir %{_sysconfdir}/artanis/pages
63 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/artanis/pages/*.html
64 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/artanis/pages/warn-the-client.tpl
65 %{_libdir}/guile/?.?/site-ccache/artanis
66 %{_datadir}/guile/site/?.?/artanis
68 %files -n bash-completion-artanis
69 %defattr(644,root,root,755)
70 %{bash_compdir}/artanis