]> git.pld-linux.org Git - packages/artanis.git/commitdiff
- new master
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 22 Jan 2022 20:37:33 +0000 (21:37 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 22 Jan 2022 20:37:33 +0000 (21:37 +0100)
artanis.spec [new file with mode: 0644]

diff --git a/artanis.spec b/artanis.spec
new file mode 100644 (file)
index 0000000..30c9212
--- /dev/null
@@ -0,0 +1,70 @@
+Summary:       GNU Artanis web-framework
+Summary(pl.UTF-8):     GNU Artanis - szkielet WWW
+Name:          artanis
+# NOTE: 0.5.x requires guile >= 3.0
+Version:       0.4.1
+Release:       1
+License:       GPL v3+, LGPL v3+
+Group:         Applications/Networking
+Source0:       https://ftp.gnu.org/gnu/artanis/%{name}-%{version}.tar.bz2
+# Source0-md5: 24bceec509e32b096e912ecee19d82d4
+URL:           http://www.gnu.org/software/artanis/
+BuildRequires: guile-devel >= 5:2.2
+BuildRequires: guile-devel < 5:3.2
+Requires:      guile >= 5:2.2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU Artanis aims to be a web application framework for Scheme.
+
+%description -l pl.UTF-8
+GNU Artanis to szkielet aplikacji WWW dla Scheme.
+
+%package -n bash-completion-artanis
+Summary:       Bash completion for artanis commands
+Summary(pl.UTF-8):     Bashowe dopełnianie poleceń artanis
+Group:         Applications/Shells
+Requires:      %{name} = %{version}-%{release}
+
+%description -n bash-completion-artanis
+Bash completion for artanis commands.
+
+%description -n bash-completion-artanis -l pl.UTF-8
+Bashowe dopełnianie poleceń artanis.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__mv} $RPM_BUILD_ROOT{/bin,%{_prefix}/bin}
+
+install -d $RPM_BUILD_ROOT%{bash_compdir}
+cp -p build-aux/show-artanis-cmds.sh $RPM_BUILD_ROOT%{bash_compdir}/artanis
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc BUGS NEWS README.md SECURITY_WARNING THANKS TODO
+%attr(755,root,root) %{_bindir}/art
+%dir %{_sysconfdir}/artanis
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/artanis/artanis.conf
+%dir %{_sysconfdir}/artanis/pages
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/artanis/pages/*.html
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/artanis/pages/warn-the-client.tpl
+%{_libdir}/guile/?.?/site-ccache/artanis
+%{_datadir}/guile/site/?.?/artanis
+
+%files -n bash-completion-artanis
+%defattr(644,root,root,755)
+%{bash_compdir}/artanis
This page took 0.414895 seconds and 4 git commands to generate.