41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
Name: guacamole-auth-jdbc
|
|
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}.tar.gz
|
|
|
|
%description
|
|
Guacamole authoriztion with DB
|
|
|
|
#%package -n guacamole-auth-jdbc-postgresql
|
|
Summary: Database authentication with postgresql
|
|
Requires: postgresql%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
Requires: tomcat%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/usr/share/tomcat/.guacamole/extensions
|
|
mkdir -p %{buildroot}/usr/share/tomcat/.guacamole/lib
|
|
install -m 644 /usr/share/java/postgresql-jdbc.jar %{buildroot}/usr/share/tomcat/.guacamole/lib/
|
|
install -m 644 postgresql/guacamole-auth-jdbc-postgresql-1.0.0.jar %{buildroot}/usr/share/tomcat/.guacamole/extensions/
|
|
install -m 644 postgresql/schema/*.sql %{buildroot}/usr/share/tomcat/.guacamole/lib/
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
/usr/share/tomcat/.guacamole/lib/postgresql-jdbc.jar
|
|
/usr/share/tomcat/.guacamole/extensions/guacamole-auth-jdbc-postgresql-1.0.0.jar
|
|
/usr/share/tomcat/.guacamole/lib/*.sql
|
|
|
|
%changelog
|
|
* Wed Apr 25 2019 kjg <jinguek.kwon@ungleich.ch> - 1.0.0-1
|
|
- create version 1.0.0.
|