66666ae
Name:           remmina
66666ae
Version:        0.7.4
c94c9c6
Release:        2%{?dist}
66666ae
Summary:        Remote Desktop Client
66666ae
66666ae
Group:          Applications/Internet
66666ae
License:        GPLv2+ and MIT
66666ae
URL:            http://remmina.sourceforge.net
66666ae
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
c94c9c6
Patch0:         remmina-0.7.4-dsofix.patch
66666ae
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
66666ae
66666ae
BuildRequires:  intltool, gtk2-devel, libvncserver-devel
66666ae
BuildRequires:  libjpeg-devel, gnutls-devel, libssh-devel 
66666ae
BuildRequires:  avahi-ui-devel, vte-devel, unique-devel
66666ae
BuildRequires:  gettext, desktop-file-utils      
66666ae
66666ae
Requires:  rdesktop, xorg-x11-server-Xephyr
66666ae
66666ae
Provides: grdc = %{version}
66666ae
Obsoletes: grdc < 0.6.1
66666ae
66666ae
%description
66666ae
Remmina is a remote desktop client written in GTK+, aiming to be useful 
66666ae
for system administrators and travellers, who need to work with lots
66666ae
of remote computers in front of either large monitors or tiny netbooks.
66666ae
66666ae
Remmina supports multiple network protocols in an integrated and consistant
66666ae
 user interface. Currently RDP, VNC, XDMCP and SSH are supported.
66666ae
66666ae
66666ae
%prep
66666ae
%setup -q
c94c9c6
%patch0 -p1 -b .dsofix
66666ae
66666ae
66666ae
%build
66666ae
%configure --enable-vnc=dl
66666ae
make %{?_smp_mflags}
66666ae
66666ae
66666ae
%install
66666ae
rm -rf $RPM_BUILD_ROOT
66666ae
make install DESTDIR=$RPM_BUILD_ROOT
66666ae
66666ae
desktop-file-install --vendor="" --delete-original \
66666ae
  --dir $RPM_BUILD_ROOT%{_datadir}/applications        \
66666ae
  $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
66666ae
66666ae
%find_lang %{name}
66666ae
66666ae
66666ae
%clean
66666ae
rm -rf $RPM_BUILD_ROOT
66666ae
66666ae
66666ae
%post
66666ae
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
66666ae
66666ae
%postun
66666ae
if [ $1 -eq 0 ] ; then
66666ae
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
66666ae
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
66666ae
fi
66666ae
66666ae
%posttrans
66666ae
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
66666ae
66666ae
66666ae
%files -f %{name}.lang
66666ae
%defattr(-,root,root,-)
66666ae
%doc AUTHORS ChangeLog COPYING README 
66666ae
%{_bindir}/%{name}
66666ae
%{_datadir}/applications/*.desktop
66666ae
%{_datadir}/icons/hicolor/*/apps/%{name}.*
66666ae
%{_datadir}/%{name}/
66666ae
66666ae
%changelog
c94c9c6
* Tue Mar 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.4-2
c94c9c6
- Add patch to fix DSO issue
c94c9c6
66666ae
* Sat Feb 27 2010 Damien Durand <splinux@fedoraproject.org> 0.7.4-1
66666ae
- Update to 0.7.4
66666ae
- Fix License tag
66666ae
66666ae
* Sun Feb 14 2010 Damien Durand <splinux@fedoraproject.org> 0.7.3-1
66666ae
- Upstream release
66666ae
- Add rdesktop, xorg-x11-server-Xephyr in Requires
66666ae
- Add grdc in Provides/Obsoletes
66666ae
- Add --enable-vnc=dl in %configure
66666ae
- Remove unneeded README.LibVNCServer
66666ae
- Fix "icons/hicolor" path
66666ae
66666ae
* Thu Jan 07 2010 Damien Durand <splinux@fedoraproject.org> 0.7.2-2
66666ae
- Fix Summary
66666ae
- Split BuildRequires
66666ae
66666ae
* Thu Jan 07 2010 Damien Durand <splinux@fedoraproject.org> 0.7.2-1
66666ae
- Initial release