Fix build
This commit is contained in:
parent
f3e66b1c19
commit
8574f4a87f
@ -13,7 +13,6 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
Source1: vncserver.service
|
Source1: vncserver.service
|
||||||
Source2: vncserver.sysconfig
|
Source2: vncserver.sysconfig
|
||||||
Source3: 10-libvnc.conf
|
Source3: 10-libvnc.conf
|
||||||
Source6: vncviewer.desktop
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: libX11-devel, automake, autoconf, libtool, gettext, gettext-autopoint
|
BuildRequires: libX11-devel, automake, autoconf, libtool, gettext, gettext-autopoint
|
||||||
@ -215,7 +214,7 @@ popd
|
|||||||
# Build Java applet
|
# Build Java applet
|
||||||
pushd java
|
pushd java
|
||||||
%{cmake} .
|
%{cmake} .
|
||||||
make
|
JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -244,10 +243,6 @@ install -m644 tigervnc_$s.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x$s/a
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir $RPM_BUILD_ROOT%{_datadir}/applications
|
|
||||||
desktop-file-install \
|
|
||||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
||||||
%{SOURCE6}
|
|
||||||
|
|
||||||
# Install Java applet
|
# Install Java applet
|
||||||
pushd java
|
pushd java
|
||||||
|
Loading…
Reference in New Issue
Block a user