File remmina.spec of Package remmina
Name: remmina
Version: 0.9.3
Release: 1
Summary: Remote desktop client written in GTK+
License: GPLv2+
Group: Productivity/Networking/Other
URL: http://remmina.sourceforge.net/
Source: http://downloads.sourceforge.net/project/remmina/0.9/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}
# remmina BuildRequires in order as are at webpages
BuildRequires: gtk2-devel
# Solved another way
#BuildRequires: libpthread for multi-threaded feature
BuildRequires: libssh-devel
BuildRequires: libavahi-glib-devel
BuildRequires: vte-devel
BuildRequires: libgcrypt-devel
BuildRequires: libunique-devel
BuildRequires: intltool
# openSUSE and distro specific BuildRequires
BuildRequires: update-desktop-files
BuildRequires: fdupes
Recommends: remmina-plugins
%description
Remote desktop client written in GTK+.
Remmina supports multiple network protocols in an integrated
and consistant user interface. Currently RDP, VNC, NX, XDMCP
and SSH are supported.
This is the main GTK+ application.
%package devel
Summary: Remmina development files
Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: gtk2-devel
Requires: libssh-devel
Requires: libavahi-glib-devel
Requires: vte-devel
Requires: libgcrypt-devel
Requires: libunique-devel
%description devel
This package contains Reminna development headers
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%makeinstall
%if 0%{?suse_version}
%suse_update_desktop_file -i %{name} Network RemoteAccess
%endif
%find_lang %{name}
%fdupes %{buildroot}%{_datadir}
%clean
rm -rf %{buildroot}
%post
gtk-update-icon-cache -qf %{_datadir}/%{name}/icons/hicolor &>/dev/null || :
%postun
gtk-update-icon-cache -qf %{_datadir}/%{name}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*
%changelog