110 lines
3.1 KiB
RPMSpec
110 lines
3.1 KiB
RPMSpec
# -*- rpm-spec -*-
|
|
|
|
Summary: A GTK widget for VNC clients
|
|
Name: gtk-vnc
|
|
Version: 0.2.0
|
|
Release: 2%{?dist}
|
|
License: LGPLv2+
|
|
Group: Development/Libraries
|
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
Patch1: %{name}-%{version}-execmem.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
URL: http://gtk-vnc.sf.net/
|
|
BuildRequires: gtk2-devel pygtk2-devel python-devel gnutls-devel
|
|
|
|
%description
|
|
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
|
|
allowing it to be completely asynchronous while remaining single threaded.
|
|
|
|
%package devel
|
|
Summary: Libraries, includes, etc. to compile with the gtk-vnc library
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
Requires: pkgconfig
|
|
Requires: pygtk2-devel gtk2-devel gnutls-devel
|
|
|
|
%description devel
|
|
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
|
|
allowing it to be completely asynchronous while remaining single threaded.
|
|
|
|
Libraries, includes, etc. to compile with the gtk-vnc library
|
|
|
|
%package python
|
|
Summary: Python bindings for the gtk-vnc library
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
|
|
%description python
|
|
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
|
|
allowing it to be completely asynchronous while remaining single threaded.
|
|
|
|
A module allowing use of the GTK-VNC widget from python
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
rm -fr %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
|
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
|
|
|
|
%clean
|
|
rm -fr %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS ChangeLog NEWS README COPYING.LIB
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%doc examples/gvncviewer.c
|
|
%{_libdir}/lib*.so
|
|
%dir %{_includedir}/%{name}-1.0/
|
|
%{_includedir}/%{name}-1.0/*.h
|
|
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
|
|
%files python
|
|
%defattr(-, root, root)
|
|
%doc examples/gvncviewer.py
|
|
%{_libdir}/python*/site-packages/gtkvnc.so
|
|
|
|
%changelog
|
|
* Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc8
|
|
- Remove use of PROT_EXEC for coroutine stack (rhbz #307531 )
|
|
|
|
* Thu Sep 13 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-1.fc8
|
|
- Update to 0.2.0 release
|
|
|
|
* Wed Aug 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-5.fc8
|
|
- Fixed handling of mis-matched client/server colour depths
|
|
|
|
* Wed Aug 22 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-4.fc8
|
|
- Fix mixed endian handling & BGR pixel format (rhbz #253597)
|
|
- Clear widget areas outside of framebuffer (rhbz #253599)
|
|
- Fix off-by-one in python demo
|
|
|
|
* Thu Aug 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-3.fc8
|
|
- Tweaked post scripts
|
|
- Removed docs from sub-packages
|
|
- Explicitly set license to LGPLv2+
|
|
- Remove use of macro for install rule
|
|
|
|
* Wed Aug 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-2.fc8
|
|
- Added gnutls-devel requirement to -devel package
|
|
|
|
* Wed Aug 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-1.fc8
|
|
- Initial official release
|