|
|
|
@ -1,18 +1,21 @@
|
|
|
|
|
# Main branch is the "next" branch, not master
|
|
|
|
|
%global commit0 cbcb19ec443e869d0e82a07a4f29c9cd8a5bc134
|
|
|
|
|
%global commit0 679bb8eee78765252b62aa56078a9fabe50563f8
|
|
|
|
|
%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
# RC releases
|
|
|
|
|
#%global snapshot rcgit.14
|
|
|
|
|
#%%global snapshot rcgit.14
|
|
|
|
|
|
|
|
|
|
Name: remmina
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 0.20%{?snapshot:.%{snapshot}}%{?shortcommit0:.git.%{shortcommit0}}%{?dist}
|
|
|
|
|
Release: 0.21%{?snapshot:.%{snapshot}}%{?shortcommit0:.git.%{shortcommit0}}%{?dist}
|
|
|
|
|
Summary: Remote Desktop Client
|
|
|
|
|
License: GPLv2+ and MIT
|
|
|
|
|
URL: http://remmina.sourceforge.net
|
|
|
|
|
%if %{?shapshot}0
|
|
|
|
|
Source0: https://github.com/FreeRDP/Remmina/archive/v%{version}%{?snapshot:-%{snapshot}}.tar.gz#/Remmina-%{version}%{?snapshot:-%{snapshot}}.tar.gz
|
|
|
|
|
%else
|
|
|
|
|
Source0: https://github.com/FreeRDP/Remmina/archive/%{commit0}/Remmina-%{commit0}.tar.gz#/Remmina-%{shortcommit0}.tar.gz
|
|
|
|
|
#Source0: https://github.com/FreeRDP/Remmina/archive/v%{version}%{?snapshot:-%{snapshot}}.tar.gz#/Remmina-%{version}%{?snapshot:-%{snapshot}}.tar.gz
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Cmake helper file to easy build plugins outside remmina source tree
|
|
|
|
|
# See http://www.muflone.com/remmina-plugin-rdesktop/english/install.html which
|
|
|
|
@ -160,11 +163,7 @@ client.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
#%setup -qn Remmina-%{version}%{?snapshot:-%{snapshot}}
|
|
|
|
|
%setup -qn Remmina-%{commit0}
|
|
|
|
|
|
|
|
|
|
#? Hack: https://github.com/FreeRDP/Remmina/issues/292
|
|
|
|
|
sed -i 's#install(DIRECTORY include/remmina DESTINATION include/remmina #install(DIRECTORY remmina/include/remmina DESTINATION include/ #' CMakeLists.txt
|
|
|
|
|
%setup -qn Remmina-%{?snapshot:%{version}-%{snapshot}}%{?commit0}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p build
|
|
|
|
@ -324,6 +323,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 16 2016 Pavel Alexeev <Pahan@Hubbitus.info> - 1.2.0-0.21.git.679bb8e
|
|
|
|
|
- Update to try solve issues with tray icons - https://github.com/FreeRDP/Remmina/issues/944#issuecomment-239913278
|
|
|
|
|
- Drop old issue 292 hack.
|
|
|
|
|
- Conditionally allow build by hash or pre-releases.
|
|
|
|
|
|
|
|
|
|
* Fri Aug 12 2016 Simone Caronni <negativo17@gmail.com> - 1.2.0-0.20.git.cbcb19e
|
|
|
|
|
- Update to latest snapshot.
|
|
|
|
|
|
|
|
|
|