-
Notifications
You must be signed in to change notification settings - Fork 0
/
mingw32-gtk-vnc.spec.in
103 lines (80 loc) · 2.79 KB
/
mingw32-gtk-vnc.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
Name: mingw32-gtk-vnc
Version: @VERSION@
Release: 1%{?dist}%{?extra_release}
Summary: MinGW Windows port of VNC client GTK widget
License: LGPLv2+
Group: Development/Libraries
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.4/gtk-vnc-%{version}.tar.gz
URL: http://live.gnome.org/gtk-vnc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 40
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-cairo
BuildRequires: mingw32-dlfcn
BuildRequires: mingw32-gettext
BuildRequires: mingw32-iconv
BuildRequires: mingw32-gnutls
BuildRequires: mingw32-gtk2
BuildRequires: pkgconfig
BuildRequires: intltool
BuildRequires: perl(Text::CSV)
Requires: pkgconfig
%package -n mingw32-gvnc
Summary: MinGW Windows port of VNC GObject
%package -n mingw32-gvnc-tools
Summary: Command line VNC tools
Group: Applications/Internet
%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.
%description -n mingw32-gvnc
gvnc is a GObject for managing a VNC connection. It provides all the
infrastructure required to build a VNC client without having to deal
with the raw protocol itself.
%description -n mingw32-gvnc-tools
Provides useful command line utilities for interacting with
VNC servers. Includes the gvnccapture program for capturing
screenshots of a VNC desktop
%prep
%setup -q -n gtk-vnc-%{version}
%build
%{_mingw32_configure} --without-python --with-examples --without-sasl
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# Remove static libraries but DON'T remove *.dll.a files.
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/libgvnc-1.0.a
rm -f $RPM_BUILD_ROOT%{_mingw32_mandir}/man1/gvnccapture.1*
%find_lang gtk-vnc
%clean
rm -rf $RPM_BUILD_ROOT
%files -f gtk-vnc.lang
%defattr(-,root,root)
%{_mingw32_bindir}/gvncviewer.exe
%{_mingw32_bindir}/libgtk-vnc-1.0-0.dll
%{_mingw32_libdir}/libgtk-vnc-1.0.dll.a
%{_mingw32_libdir}/libgtk-vnc-1.0.la
%{_mingw32_libdir}/pkgconfig/gtk-vnc-1.0.pc
%{_mingw32_includedir}/gtk-vnc-1.0
%files -n mingw32-gvnc
%defattr(-,root,root)
%{_mingw32_bindir}/libgvnc-1.0-0.dll
%{_mingw32_libdir}/libgvnc-1.0.dll.a
%{_mingw32_libdir}/libgvnc-1.0.la
%{_mingw32_libdir}/pkgconfig/gvnc-1.0.pc
%{_mingw32_includedir}/gvnc-1.0
%files -n mingw32-gvnc-tools
%defattr(-,root,root)
%{_mingw32_bindir}/gvnccapture.exe
%changelog
* Sun Dec 7 2008 Daniel P. Berrange <[email protected]> - 0.3.7-1
- Initial packaging