384a7cd
%ifarch %{ix86} x86_64
384a7cd
%define with_spice 1
384a7cd
%endif
384a7cd
bfcb3c9
Name:           vinagre
da6b9d5
Version:        3.3.4
549633a
Release:        2%{?dist}
bfcb3c9
Summary:        VNC client for GNOME
bfcb3c9
bfcb3c9
Group:          Applications/System
bfcb3c9
License:        GPLv2+
bfcb3c9
URL:            http://projects.gnome.org/vinagre/
87cc4a5
#VCS: git:git://git.gnome.org/vinagre
bfee3c2
Source0:        http://download.gnome.org/sources/vinagre/3.3/%{name}-%{version}.tar.xz
bfcb3c9
5444c09
384a7cd
%if 0%{?with_spice}
5cf798c
BuildRequires:  spice-gtk3-devel
384a7cd
%endif
7f70496
BuildRequires:  gtk-vnc2-devel >= 0.4.3
Christopher Aillon ac8f445
BuildRequires:  glib2-devel >= 2.25.11
Christopher Aillon ac8f445
BuildRequires:  gtk3-devel >= 3.0.3
Christopher Aillon ac8f445
BuildRequires:  avahi-ui-devel >= 0.6.26
Christopher Aillon ac8f445
BuildRequires:  avahi-gobject-devel >= 0.6.26
bfcb3c9
BuildRequires:  gettext intltool
bfcb3c9
BuildRequires:  desktop-file-utils
8d0f476
BuildRequires:  libgnome-keyring-devel
bfcb3c9
BuildRequires:  gnome-doc-utils
Christopher Aillon ac8f445
BuildRequires:  telepathy-glib-devel >= 0.11.6
fb01417
BuildRequires:  libxml2-devel >= 2.6.31
Christopher Aillon ac8f445
BuildRequires:  vte3-devel >= 0.20
a85dc82
BuildRequires:  scrollkeeper
6f5ff32
BuildRequires:  vala-devel
6be2000
BuildRequires:  itstool
8d0f476
2a94206
# for /usr/share/dbus-1/services
2a94206
Requires: dbus
2a94206
3285fc6
BuildRequires: automake autoconf libtool
757353d
BuildRequires: gnome-common
3285fc6
8d0f476
# -devel package removed in 3.1.2-1
8d0f476
# http://git.gnome.org/browse/vinagre/commit/?id=6bb9d9fda0434e26ec7a7a8a114a96b930348a7c
8d0f476
# http://git.gnome.org/browse/vinagre/commit/?id=937b8070de0c165b2a17bae72ddd665360482db4
8d0f476
Obsoletes:     vinagre-devel < 3.1.2-1
8d0f476
Provides:      vinagre-devel = 3.1.2-1
8d0f476
8d0f476
6f9151b
%description
cbd2589
Vinagre is a VNC client for the GNOME desktop.
cbd2589
06cee71
With Vinagre you can have several connections open simultaneously, bookmark
06cee71
your servers thanks to the Favorites support, store the passwords in the
cbd2589
GNOME keyring, and browse the network to look for VNC servers.
cbd2589
549633a
Apart from the VNC protocol, vinagre supports Spice and RDP.
549633a
6f9151b
6f9151b
%prep
6f9151b
%setup -q
32be7c8
6f9151b
%build
c90fc76
CFLAGS="%optflags -UGTK_DISABLE_DEPRECATED" %configure --enable-avahi \
5cf798c
           --disable-static \
5cf798c
           --disable-applet \
384a7cd
%if 0%{?with_spice}
5cf798c
           --enable-spice \
384a7cd
%endif
561c720
           --enable-rdp \
8d0f476
           --enable-ssh
6f9151b
make %{?_smp_mflags}
6f9151b
6f9151b
6f9151b
%install
6f9151b
make install DESTDIR=$RPM_BUILD_ROOT
6f9151b
6f9151b
# Remove text files installed by vinagre, we install them in a versioned
6f9151b
# directory in the files section
6f9151b
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre/
6f9151b
bfcb3c9
desktop-file-install                                            \
bfcb3c9
        --remove-category=Application                           \
bfcb3c9
        --add-category=GTK                                      \
bfcb3c9
        --delete-original                                       \
bfcb3c9
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications           \
6f9151b
        $RPM_BUILD_ROOT%{_datadir}/applications/vinagre.desktop
6f9151b
2a94206
# drop unwanted stuff
6eeaf6d
rm -f $RPM_BUILD_ROOT%{_libdir}/vinagre-3.0/plugins/*.la
2a94206
400ffae
%find_lang vinagre --with-gnome
6f9151b
1aba701
%post
Christopher Aillon cd44ca5
update-desktop-database &> /dev/null || :
Christopher Aillon cd44ca5
update-mime-database %{_datadir}/mime &> /dev/null || :
Christopher Aillon cd44ca5
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
7360ebd
1aba701
%postun
Christopher Aillon cd44ca5
update-desktop-database &> /dev/null || :
Christopher Aillon cd44ca5
update-mime-database %{_datadir}/mime &> /dev/null || :
87cc4a5
if [ $1 -eq 0 ]; then
Christopher Aillon cd44ca5
  touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Christopher Aillon cd44ca5
  gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
7f78fd4
  glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
7360ebd
fi
1aba701
87cc4a5
%posttrans
87cc4a5
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
7f78fd4
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
52327ab
6f9151b
%files -f vinagre.lang
549633a
%{_bindir}/vinagre
6f9151b
%{_datadir}/applications/*.desktop
1aba701
%{_datadir}/icons/hicolor/*/*/*
1aba701
%{_datadir}/mime/packages/vinagre-mime.xml
59aa194
%{_datadir}/vinagre/
d167d71
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Vinagre.service
d167d71
%{_datadir}/telepathy/clients/Vinagre.client
7f78fd4
%{_datadir}/glib-2.0/schemas/org.gnome.Vinagre.gschema.xml
14b2729
%{_datadir}/GConf/gsettings/org.gnome.Vinagre.convert
2a94206
09db29d
fda5f86
%doc %{_mandir}/man1/vinagre.1.gz
6f9151b
%doc README NEWS COPYING AUTHORS
6f9151b
2a94206
6f9151b
%changelog
549633a
* Mon Feb 13 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.4-2
549633a
- Update the description to mention RDP and Spice
549633a
da6b9d5
* Tue Jan 17 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.4-1
da6b9d5
- Update to 3.3.4
da6b9d5
e230cfd
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-2
e230cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e230cfd
7b82db8
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.3-1
7b82db8
- Update to 3.3.3
7b82db8
5444c09
* Thu Nov 24 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.3.2-2
5444c09
- Fix the spice plugin
5444c09
5083d50
* Tue Nov 22 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.2-1
5083d50
- Update to 3.3.2
5083d50
bfee3c2
* Wed Nov  2 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.1-1
bfee3c2
- Update to 3.3.1
bfee3c2
b5e7092
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
b5e7092
- Rebuilt for glibc bug#747377
b5e7092
09db29d
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
09db29d
- Update 3.2.1
09db29d
dfec090
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
dfec090
- Update to 3.2.0
dfec090
833aef1
* Tue Sep 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.92-1
833aef1
- Update to 3.1.92
833aef1
a5440e1
* Tue Sep  6 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.91-1
a5440e1
- Update to 3.1.91
a5440e1
09db29d
* Wed Aug 31 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.90-1
09db29d
- Update to 3.1.90
09db29d
- Make the dbus dep archful
09db29d
09db29d
* Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.5-1
09db29d
- Update to 3.1.5
09db29d
0f4ec04
* Wed Aug 03 2011 Adam Williamson <awilliam@redhat.com> - 3.1.4-2
0f4ec04
- rebuild against updated spice
0f4ec04
Matthew Barnes ae235b0
* Mon Jul 25 2011 Matthew Barnes <mbarnes@redhat.com> 3.1.4-1
Matthew Barnes ae235b0
- Update to 3.1.4
Matthew Barnes ae235b0
Bastien Nocera 753f15e
* Tue Jul 05 2011 Bastien Nocera <bnocera@redhat.com> 3.1.3-1
Bastien Nocera 753f15e
- Update to 3.1.3
Bastien Nocera 753f15e
6f5ff32
* Mon Jun 20 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.2-3
6f5ff32
- Fix vala sources compilation
6f5ff32
d60d615
* Wed Jun 15 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.2-2
d60d615
- Fix the main notebook widget expansion
d60d615
8d0f476
* Tue Jun 14 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.2-1
8d0f476
- Update to 3.1.2
8d0f476
- Removed -devel package
8d0f476
6bc4b3b
* Wed May 11 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.1-1
6bc4b3b
- Update to 3.1.1
6bc4b3b
Christopher Aillon cd44ca5
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.1-3
Christopher Aillon cd44ca5
- Update scriptlets
Christopher Aillon cd44ca5
384a7cd
* Thu Apr 28 2011 Dan HorĂ¡k <dan[at]danny.cz> - 3.0.1-2
384a7cd
- spice available only on x86
384a7cd
b76000d
* Mon Apr 25 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-1
b76000d
- Update to 3.0.1
b76000d
Christopher Aillon ac8f445
* Tue Apr  5 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-2
Christopher Aillon ac8f445
- Kill off the remnants of GConf, this uses GSettings now.
Christopher Aillon ac8f445
- Bring back ssh support (by building against vte3 instead of vte)
Christopher Aillon ac8f445
67bbede
* Mon Apr  4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
67bbede
- Update to 3.0.0
67bbede
cecc6ef
* Fri Mar 25 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.93-1
cecc6ef
- Update to 2.91.93
cecc6ef
d180bcd
* Mon Mar 21 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
d180bcd
- Update to 2.91.92
d180bcd
85b54d0
* Tue Mar  8 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.91-2
85b54d0
- Fix build
85b54d0
fd6ce95
* Mon Mar  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.91-1
fd6ce95
- Update to 2.91.91
fd6ce95
50e6401
* Tue Mar  1 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.8-2
5cf798c
- Update to 2.91.8
5cf798c
- Build the spice plugin
5cf798c
0340ac0
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.7-1
0340ac0
- Update to 2.91.7
0340ac0
951a043
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31.4-3
951a043
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
951a043
bfcb3c9
* Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> 2.31.4-2
bfcb3c9
- Disable the applet
a89bdb8
- Build against gtk3
a89bdb8
5c09d3a
* Wed Jun 30 2010 Matthias Clasen <mclasen@redhat.com> 2.31.4-1
5c09d3a
- Update to 2.31.4
5c09d3a
3285fc6
* Sat Jun 19 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-2
3285fc6
- Reduce overlinking
3285fc6
33d21f0
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-1
33d21f0
- Update to 2.30.1
33d21f0
87cc4a5
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-1
87cc4a5
- Update to 2.30.0
87cc4a5
- Modernize the icon cache handling
87cc4a5
Tomas Bzatek fe085c5
* Tue Mar  9 2010 Tomas Bzatek <tbzatek@redhat.com> 2.29.92-1
Tomas Bzatek fe085c5
- Update to 2.29.92
Tomas Bzatek fe085c5
2637c67
* Mon Feb 22 2010 Matthias Clasen <mclasen@redhat.com> 2.29.91-1
2637c67
- Update to 2.29.91
2637c67
c8b1f09
* Wed Feb 10 2010 Bastien Nocera <bnocera@redhat.com> 2.29.90-1
c8b1f09
- Update to 2.29.90
c8b1f09
fb01417
* Tue Jan 26 2010 Matthias Clasen <mclasen@redhat.com> 2.29.6-1
fb01417
- Update to 2.29.6
fb01417
a0b64c8
* Mon Jan  4 2010 Matthias Clasen <mclasen@redhat.com> 2.29.1-2
a0b64c8
- Don't crash when the history file is empty (#552076)
a0b64c8
02bed7a
* Fri Dec  4 2009 Matthias Clasen <mclasen@redhat.com> 2.29.1-1
02bed7a
- 2.29.1
02bed7a
2589447
* Mon Oct 19 2009 Matthias Clasen <mclasen@redhat.com> 2.28.1-1
2589447
- Update to 2.28.1
2589447
6fd0777
* Wed Sep 23 2009 Matthias Clasen <mclasen@redhat.com> 2.28.0.1-1
6fd0777
- Update to 2.28.0.1
24a3e59
71548a3
* Fri Sep 18 2009 Bastien Nocera <bnocera@redhat.com> 2.27.92-3
71548a3
- Update mDNS patch
71548a3
7589e72
* Fri Sep 18 2009 Bastien Nocera <bnocera@redhat.com> 2.27.92-2
7589e72
- Fix mDNS bookmarks activation
7589e72
58471bb
* Mon Sep  7 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.92-1
58471bb
- Update to 2.27.92
58471bb
90e2318
* Sat Sep  5 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-3
90e2318
- Fix warnings at startup (#521382)
90e2318
0406b4e
* Thu Sep  3 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-2
0406b4e
- Make ids unique
0406b4e
4049f1c
* Tue Aug 25 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.91-1
4049f1c
- Update to 2.27.91
4049f1c
6c9a857
* Tue Aug 11 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.90-1
6c9a857
- 2.27.90
6c9a857
e2e5fa4
* Tue Aug 04 2009 Bastien Nocera <bnocera@redhat.com> 2.27.5-2
e2e5fa4
- Fix pkg-config requires
e2e5fa4
97dbd44
* Tue Jul 28 2009 Matthisa Clasen <mclasen@redhat.com> - 2.27.5-1
97dbd44
- Update to 2.27.5
2a94206
- Split off a -devel package
97dbd44
7148e7e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.1-2
7148e7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7148e7e
e03069d
* Mon Apr 13 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.1-1
e03069d
- Update to 2.26.1
e03069d
- See http://download.gnome.org/sources/vinagre/2.26/vinagre-2.26.1.news
e03069d
b2b615d
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
b2b615d
- Update to 2.26.0
b2b615d
06cee71
* Mon Mar  2 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.92-1
06cee71
- Update to 2.25.92
06cee71
3f16d55
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
3f16d55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3f16d55
d60af0b
* Wed Feb 18 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-1
d60af0b
- Update to 2.25.91
d60af0b
9ff4c72
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.90-1
9ff4c72
- Update to 2.25.90
9ff4c72
d72aeef
* Fri Jan 23 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.5-1
d72aeef
- Update to 2.25.5
d72aeef
5c5af9c
* Tue Jan  6 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.4-1
5c5af9c
- Update to 2.25.4
5c5af9c
3723b21
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.3-1
3723b21
- Update to 2.25.3
3723b21
cbd2589
* Sat Nov 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-2
cbd2589
- Better URL
cbd2589
- Tweak %%description
cbd2589
909e551
* Mon Oct 20 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-1
909e551
- Update to 2.24.1
909e551
77fafbb
* Thu Oct  9 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
77fafbb
- Save some space
77fafbb
b44e4c1
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
b44e4c1
- Update to 2.24.0
b44e4c1
7455088
* Mon Sep  8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
7455088
- Update to 2.23.92
7455088
6014f54
* Tue Sep  2 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
6014f54
- Update to 2.23.91
6014f54
cf38585
* Fri Aug 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.90-1
cf38585
- Update to 2.23.90
cf38585
0c53406
* Wed Jun 25 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-2
0c53406
- Rebuild
0c53406
d879de3
* Tue Jun 17 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-1
d879de3
- Update to 2.23.4
d879de3
- Fix URL (#451746)
d879de3
a8132e1
* Wed Jun  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3.1-1
a8132e1
- Update to 2.23.3.1
a8132e1
ed79e79
* Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1
ed79e79
- Update to 2.23.1
ed79e79
46bf1ec
* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
46bf1ec
- Update to 0.5.1
46bf1ec
308dfa3
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.0-1
308dfa3
- Update to 0.5.0
308dfa3
566e587
* Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.92-1
566e587
- Update to 0.4.92
566e587
7360ebd
* Mon Feb 18 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-2
7360ebd
- Spec file fixes
7360ebd
a33d944
* Tue Feb 12 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-1
a33d944
- Update to 0.4.91
a33d944
c8fea5b
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.90-1
c8fea5b
- Update to 0.4.90
c8fea5b
32be7c8
* Thu Dec 13 2007 - Bastien Nocera <bnocera@redhat.com> - 0.4-1
32be7c8
- Update to 0.4 and drop obsolete patches
32be7c8
3d38e5f
* Fri Nov 23 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-3
3d38e5f
- Fix crasher when passing broken options on the command-line (#394671)
3d38e5f
1741740
* Thu Oct 25 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-2
1741740
- Fix crasher when setting a favourite with no password (#352371)
1741740
d87df6d
* Mon Sep 24 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-1
d87df6d
- Update to 0.3
d87df6d
6f9151b
* Wed Aug 22 2007 - Bastien Nocera <bnocera@redhat.com> - 0.2-1
6f9151b
- First version
6f9151b
- Fix plenty of comments from Ray Strode as per review
6f9151b
- Have work-around for BZ #253734
6f9151b