Update to 0.5.2 release
This commit is contained in:
parent
80e4d1ad06
commit
5dc16ab32e
81
gtk-vnc.spec
81
gtk-vnc.spec
@ -1,30 +1,26 @@
|
|||||||
# -*- rpm-spec -*-
|
# -*- rpm-spec -*-
|
||||||
|
|
||||||
# Plugin isn't ready for real world use yet - it needs
|
%global with_gir 0
|
||||||
# a security audit at very least
|
|
||||||
%define with_plugin 0
|
|
||||||
|
|
||||||
%define with_gir 0
|
|
||||||
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 7
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 7
|
||||||
%define with_gir 1
|
%global with_gir 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define with_gtk3 0
|
%global with_gtk3 0
|
||||||
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
||||||
%define with_gtk3 1
|
%global with_gtk3 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define with_vala 0
|
%global with_vala 0
|
||||||
%if 0%{with_gtk3}
|
%if 0%{with_gtk3}
|
||||||
%define with_vala 1
|
%global with_vala 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define with_pulse 1
|
%global with_pulse 1
|
||||||
|
|
||||||
Summary: A GTK2 widget for VNC clients
|
Summary: A GTK2 widget for VNC clients
|
||||||
Name: gtk-vnc
|
Name: gtk-vnc
|
||||||
Version: 0.5.1
|
Version: 0.5.2
|
||||||
Release: 7%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz
|
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz
|
||||||
@ -40,13 +36,6 @@ BuildRequires: gobject-introspection-devel
|
|||||||
BuildRequires: gir-repository-devel
|
BuildRequires: gir-repository-devel
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if %{with_plugin}
|
|
||||||
%if 0%{?fedora} > 8
|
|
||||||
BuildRequires: xulrunner-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: firefox-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if %{with_gtk3}
|
%if %{with_gtk3}
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
%endif
|
%endif
|
||||||
@ -56,11 +45,7 @@ BuildRequires: vala-tools
|
|||||||
%if %{with_pulse}
|
%if %{with_pulse}
|
||||||
BuildRequires: pulseaudio-libs-devel
|
BuildRequires: pulseaudio-libs-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl-podlators
|
BuildRequires: /usr/bin/pod2man
|
||||||
|
|
||||||
Patch0: gtk-vnc-0.5.1-bigendian.patch
|
|
||||||
# Fix send_key introspection bindings
|
|
||||||
Patch1: 0001-Add-introspection-annotation-for-vnc_display_send_ke.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines
|
gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines
|
||||||
@ -90,20 +75,6 @@ allowing it to be completely asynchronous while remaining single threaded.
|
|||||||
|
|
||||||
A module allowing use of the GTK-VNC widget from python
|
A module allowing use of the GTK-VNC widget from python
|
||||||
|
|
||||||
%if %{with_plugin}
|
|
||||||
%package plugin
|
|
||||||
Summary: Mozilla plugin for the gtk-vnc library
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description plugin
|
|
||||||
gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines
|
|
||||||
allowing it to be completely asynchronous while remaining single threaded.
|
|
||||||
|
|
||||||
This package provides a web browser plugin for Mozilla compatible
|
|
||||||
browsers.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n gvnc
|
%package -n gvnc
|
||||||
Summary: A GObject for VNC connections
|
Summary: A GObject for VNC connections
|
||||||
|
|
||||||
@ -164,7 +135,7 @@ Group: Applications/Internet
|
|||||||
Requires: gvnc = %{version}-%{release}
|
Requires: gvnc = %{version}-%{release}
|
||||||
|
|
||||||
%description -n gtk-vnc2
|
%description -n gtk-vnc2
|
||||||
gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines
|
gtk-vnc is a VNC viewer widget for GTK3. It is built using coroutines
|
||||||
allowing it to be completely asynchronous while remaining single threaded.
|
allowing it to be completely asynchronous while remaining single threaded.
|
||||||
|
|
||||||
%package -n gtk-vnc2-devel
|
%package -n gtk-vnc2-devel
|
||||||
@ -183,10 +154,6 @@ Libraries, includes, etc. to compile with the gtk-vnc library
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gtk-vnc-%{version} -c
|
%setup -q -n gtk-vnc-%{version} -c
|
||||||
pushd gtk-vnc-%{version}
|
|
||||||
%patch0 -p1 -b .bigendian
|
|
||||||
%patch1 -p1
|
|
||||||
popd
|
|
||||||
%if %{with_gtk3}
|
%if %{with_gtk3}
|
||||||
cp -a gtk-vnc-%{version} gtk-vnc2-%{version}
|
cp -a gtk-vnc-%{version} gtk-vnc2-%{version}
|
||||||
%endif
|
%endif
|
||||||
@ -198,14 +165,8 @@ cp -a gtk-vnc-%{version} gtk-vnc2-%{version}
|
|||||||
%define gir_arg --enable-introspection=no
|
%define gir_arg --enable-introspection=no
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_plugin}
|
|
||||||
%define plugin_arg --enable-plugin=yes
|
|
||||||
%else
|
|
||||||
%define plugin_arg --enable-plugin=no
|
|
||||||
%endif
|
|
||||||
|
|
||||||
cd gtk-vnc-%{version}
|
cd gtk-vnc-%{version}
|
||||||
%configure --with-gtk=2.0 %{plugin_arg} %{gir_arg}
|
%configure --with-gtk=2.0 %{gir_arg}
|
||||||
%__make %{?_smp_mflags} V=1
|
%__make %{?_smp_mflags} V=1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@ -232,10 +193,6 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
|
||||||
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
|
||||||
%if %{with_plugin}
|
|
||||||
rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.a
|
|
||||||
rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -270,6 +227,8 @@ rm -fr %{buildroot}
|
|||||||
%doc gtk-vnc-%{version}/examples/gvncviewer.c
|
%doc gtk-vnc-%{version}/examples/gvncviewer.c
|
||||||
%if %{with_gir}
|
%if %{with_gir}
|
||||||
%doc gtk-vnc-%{version}/examples/gvncviewer.js
|
%doc gtk-vnc-%{version}/examples/gvncviewer.js
|
||||||
|
%doc gtk-vnc-%{version}/examples/gvncviewer.pl
|
||||||
|
%doc gtk-vnc-%{version}/examples/gvncviewer-introspection.py
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libgtk-vnc-1.0.so
|
%{_libdir}/libgtk-vnc-1.0.so
|
||||||
%dir %{_includedir}/%{name}-1.0/
|
%dir %{_includedir}/%{name}-1.0/
|
||||||
@ -281,15 +240,9 @@ rm -fr %{buildroot}
|
|||||||
|
|
||||||
%files python
|
%files python
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc gtk-vnc-%{version}/examples/gvncviewer.py
|
%doc gtk-vnc-%{version}/examples/gvncviewer-bindings.py
|
||||||
%{_libdir}/python*/site-packages/gtkvnc.so
|
%{_libdir}/python*/site-packages/gtkvnc.so
|
||||||
|
|
||||||
%if %{with_plugin}
|
|
||||||
%files plugin
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/mozilla/plugins/%{name}-plugin.so
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n gvnc -f %{name}.lang
|
%files -n gvnc -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libgvnc-1.0.so.*
|
%{_libdir}/libgvnc-1.0.so.*
|
||||||
@ -371,6 +324,10 @@ rm -fr %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 22 2013 Daniel P. Berrange <berrange@redhat.com> - 0.5.2-1
|
||||||
|
- Update to 0.5.2 release
|
||||||
|
- Fix auth credential type (rhbz #697067)
|
||||||
|
|
||||||
* Sat Feb 16 2013 Cole Robinson <crobinso@redhat.com> - 0.5.1-7
|
* Sat Feb 16 2013 Cole Robinson <crobinso@redhat.com> - 0.5.1-7
|
||||||
- Fix send_key introspection bindings
|
- Fix send_key introspection bindings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user