]> git.pld-linux.org Git - packages/artanis.git/blob - artanis.spec
- new
[packages/artanis.git] / artanis.spec
1 Summary:        GNU Artanis web-framework
2 Summary(pl.UTF-8):      GNU Artanis - szkielet WWW
3 Name:           artanis
4 # NOTE: 0.5.x requires guile >= 3.0
5 Version:        0.4.1
6 Release:        1
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)
16
17 %description
18 GNU Artanis aims to be a web application framework for Scheme.
19
20 %description -l pl.UTF-8
21 GNU Artanis to szkielet aplikacji WWW dla Scheme.
22
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}
28
29 %description -n bash-completion-artanis
30 Bash completion for artanis commands.
31
32 %description -n bash-completion-artanis -l pl.UTF-8
33 Bashowe dopełnianie poleceń artanis.
34
35 %prep
36 %setup -q
37
38 %build
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %{__mv} $RPM_BUILD_ROOT{/bin,%{_prefix}/bin}
49
50 install -d $RPM_BUILD_ROOT%{bash_compdir}
51 cp -p build-aux/show-artanis-cmds.sh $RPM_BUILD_ROOT%{bash_compdir}/artanis
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
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
67
68 %files -n bash-completion-artanis
69 %defattr(644,root,root,755)
70 %{bash_compdir}/artanis
This page took 0.082079 seconds and 3 git commands to generate.