guacamole-rpmbuild/SPECS/guacamole-web.spec

35 lines
882 B
RPMSpec
Raw Permalink Normal View History

2019-04-09 19:06:36 +00:00
Name: guacamole
Version: 1.0.0
Release: 1%{?dist}
Epoch: 1
Summary: Web components from the Guacamole proxy
License: MPLv1.1 or GPLv2+
URL: http://guac-dev.org/
Source0: http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/%{version}/binary/%{name}-%{version}.war
%description
2019-04-09 20:42:20 +00:00
Guacamole web application
2019-04-09 19:06:36 +00:00
2019-04-09 20:42:20 +00:00
#%package -n guacamole-war
2019-04-09 19:06:36 +00:00
Summary: The main java guacamole war
2019-04-09 20:42:20 +00:00
Requires: tomcat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
2019-04-09 19:06:36 +00:00
2019-04-09 20:42:20 +00:00
#%prep
#%autosetup
2019-04-09 19:06:36 +00:00
%build
%install
2019-04-10 16:55:03 +00:00
mkdir -p %{buildroot}/var/lib/tomcat/webapps
2019-04-11 15:24:01 +00:00
install -m 644 %{_sourcedir}/guacamole-1.0.0.war %{buildroot}/var/lib/tomcat/webapps/guacamole.war
2019-04-09 19:06:36 +00:00
2019-04-09 20:42:20 +00:00
%files
%defattr(-,root,root,-)
2019-04-10 16:55:03 +00:00
/var/lib/tomcat/webapps/guacamole.war
2019-04-09 19:06:36 +00:00
%changelog
2019-04-09 20:42:20 +00:00
* Tue Apr 09 2019 kjg <jinguek.kwon@ungleich.ch> - 1.0.0-1
- create version 1.0.0.