~ubuntu-branches/ubuntu/vivid/gtk-vnc/vivid-proposed

« back to all changes in this revision

Viewing changes to mingw-gtk-vnc.spec.in

  • Committer: Package Import Robot
  • Author(s): Laurent Léonard
  • Date: 2012-07-24 00:49:55 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20120724004955-6711f7ontxvn9yzy
Tags: 0.5.1-1
* [e2591bf] Imported Upstream version 0.5.1
* [a0f6408] Drop patch
  - Allow-Unix-domain-sockets-in-gvncviewer.patch - fixed upstream
* [c031b94] Bump Standards-Version to 3.9.3
* [61e5796] Set build directories for dh_auto_clean
* [7fde78d] Drop patch
  - Look-for-generated-enums-in-srcdir.patch
* [fada5be] Add dh_auto_test override
* [d7567f1] Update symbols
* [6189676] Enable dpkg-buildflags

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%{?mingw_package_header}
 
2
 
 
3
Name: mingw-gtk-vnc
 
4
Version: @VERSION@
 
5
Release: 1%{?dist}%{?extra_release}
 
6
Summary: MinGW Windows port of VNC client GTK widget
 
7
 
 
8
License: LGPLv2+
 
9
Group: Development/Libraries
 
10
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.5/gtk-vnc-%{version}.tar.gz
 
11
URL: http://live.gnome.org/gtk-vnc
 
12
 
 
13
BuildArch: noarch
 
14
 
 
15
BuildRequires: mingw32-filesystem >= 95
 
16
BuildRequires: mingw64-filesystem >= 95
 
17
BuildRequires: mingw32-gcc
 
18
BuildRequires: mingw64-gcc
 
19
BuildRequires: mingw32-binutils
 
20
BuildRequires: mingw64-binutils
 
21
 
 
22
BuildRequires: mingw32-cairo
 
23
BuildRequires: mingw64-cairo
 
24
BuildRequires: mingw32-gettext
 
25
BuildRequires: mingw64-gettext
 
26
BuildRequires: mingw32-win-iconv
 
27
BuildRequires: mingw64-win-iconv
 
28
BuildRequires: mingw32-gnutls
 
29
BuildRequires: mingw64-gnutls
 
30
BuildRequires: mingw32-gtk2
 
31
BuildRequires: mingw64-gtk2
 
32
BuildRequires: mingw32-gtk3
 
33
BuildRequires: mingw64-gtk3
 
34
 
 
35
BuildRequires: pkgconfig
 
36
BuildRequires: intltool
 
37
 
 
38
# Mingw32
 
39
%package -n mingw32-gtk-vnc
 
40
Summary:        MinGW Windows zlib compression library for the win32 target
 
41
Requires:       pkgconfig
 
42
 
 
43
%package -n mingw32-gvnc
 
44
Summary: MinGW Windows port of VNC GObject
 
45
 
 
46
%package -n mingw32-gvnc-tools
 
47
Summary: Command line VNC tools
 
48
Group: Applications/Internet
 
49
 
 
50
%package -n mingw32-gtk-vnc2
 
51
Summary: A GTK3 widget for VNC clients
 
52
Group: Development/Libraries
 
53
Requires: pkgconfig
 
54
 
 
55
%description
 
56
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
 
57
allowing it to be completely asynchronous while remaining single threaded.
 
58
 
 
59
%description -n mingw32-gtk-vnc
 
60
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
 
61
allowing it to be completely asynchronous while remaining single threaded.
 
62
 
 
63
%description -n mingw32-gvnc
 
64
gvnc is a GObject for managing a VNC connection. It provides all the
 
65
infrastructure required to build a VNC client without having to deal
 
66
with the raw protocol itself.
 
67
 
 
68
%description -n mingw32-gvnc-tools
 
69
Provides useful command line utilities for interacting with
 
70
VNC servers. Includes the gvnccapture program for capturing
 
71
screenshots of a VNC desktop
 
72
 
 
73
%description -n mingw32-gtk-vnc2
 
74
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
 
75
allowing it to be completely asynchronous while remaining single threaded.
 
76
 
 
77
# Mingw64
 
78
%package -n mingw64-gtk-vnc
 
79
Summary:        MinGW Windows zlib compression library for the win64 target
 
80
Requires:       pkgconfig
 
81
 
 
82
%package -n mingw64-gvnc
 
83
Summary: MinGW Windows port of VNC GObject
 
84
 
 
85
%package -n mingw64-gvnc-tools
 
86
Summary: Command line VNC tools
 
87
Group: Applications/Internet
 
88
 
 
89
%package -n mingw64-gtk-vnc2
 
90
Summary: A GTK3 widget for VNC clients
 
91
Group: Development/Libraries
 
92
Requires: pkgconfig
 
93
 
 
94
%description
 
95
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
 
96
allowing it to be completely asynchronous while remaining single threaded.
 
97
 
 
98
%description -n mingw64-gtk-vnc
 
99
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
 
100
allowing it to be completely asynchronous while remaining single threaded.
 
101
 
 
102
%description -n mingw64-gvnc
 
103
gvnc is a GObject for managing a VNC connection. It provides all the
 
104
infrastructure required to build a VNC client without having to deal
 
105
with the raw protocol itself.
 
106
 
 
107
%description -n mingw64-gvnc-tools
 
108
Provides useful command line utilities for interacting with
 
109
VNC servers. Includes the gvnccapture program for capturing
 
110
screenshots of a VNC desktop
 
111
 
 
112
%description -n mingw64-gtk-vnc2
 
113
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
 
114
allowing it to be completely asynchronous while remaining single threaded.
 
115
 
 
116
%{?mingw_debug_package}
 
117
 
 
118
 
 
119
%prep
 
120
%setup -q -n gtk-vnc-%{version} -c
 
121
touch gtk-vnc-%{version}/GNUmakefile
 
122
cp -a gtk-vnc-%{version} gtk-vnc2-%{version}
 
123
 
 
124
 
 
125
%build
 
126
cd gtk-vnc-%{version}
 
127
%mingw_configure --without-python --with-examples --without-sasl --with-gtk=2.0
 
128
rm build_win{32,64}/GNUmakefile
 
129
%mingw_make %{?_smp_mflags} V=1
 
130
cd ..
 
131
 
 
132
cd gtk-vnc2-%{version}
 
133
%mingw_configure --without-python --without-examples --without-sasl --with-gtk=3.0
 
134
rm build_win{32,64}/GNUmakefile
 
135
%mingw_make %{?_smp_mflags} V=1
 
136
cd ..
 
137
 
 
138
 
 
139
%install
 
140
cd gtk-vnc-%{version}
 
141
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
 
142
cd ..
 
143
cd gtk-vnc2-%{version}
 
144
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
 
145
cd ..
 
146
 
 
147
# Remove static libraries but DON'T remove *.dll.a files.
 
148
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/libgtk-vnc-1.0.a
 
149
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/libgtk-vnc-2.0.a
 
150
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/libgvnc-1.0.a
 
151
rm -f $RPM_BUILD_ROOT%{mingw32_mandir}/man1/gvnccapture.1*
 
152
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/libgtk-vnc-1.0.a
 
153
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/libgtk-vnc-2.0.a
 
154
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/libgvnc-1.0.a
 
155
rm -f $RPM_BUILD_ROOT%{mingw64_mandir}/man1/gvnccapture.1*
 
156
 
 
157
# Drop all .la files
 
158
find $RPM_BUILD_ROOT -name "*.la" -delete
 
159
 
 
160
%find_lang gtk-vnc
 
161
 
 
162
 
 
163
# Mingw32
 
164
%files -n mingw32-gtk-vnc -f gtk-vnc.lang
 
165
%{mingw32_bindir}/gvncviewer.exe
 
166
%{mingw32_bindir}/libgtk-vnc-1.0-0.dll
 
167
%{mingw32_libdir}/libgtk-vnc-1.0.dll.a
 
168
%{mingw32_libdir}/pkgconfig/gtk-vnc-1.0.pc
 
169
%{mingw32_includedir}/gtk-vnc-1.0
 
170
 
 
171
%files -n mingw32-gvnc
 
172
%doc gtk-vnc-%{version}/AUTHORS
 
173
%doc gtk-vnc-%{version}/ChangeLog
 
174
%doc gtk-vnc-%{version}/ChangeLog-old
 
175
%doc gtk-vnc-%{version}/NEWS
 
176
%doc gtk-vnc-%{version}/README
 
177
%doc gtk-vnc-%{version}/COPYING.LIB
 
178
%{mingw32_bindir}/libgvnc-1.0-0.dll
 
179
%{mingw32_libdir}/libgvnc-1.0.dll.a
 
180
%{mingw32_libdir}/pkgconfig/gvnc-1.0.pc
 
181
%{mingw32_includedir}/gvnc-1.0
 
182
 
 
183
%files -n mingw32-gtk-vnc2
 
184
%{mingw32_bindir}/libgtk-vnc-2.0-0.dll
 
185
%{mingw32_libdir}/libgtk-vnc-2.0.dll.a
 
186
%{mingw32_libdir}/pkgconfig/gtk-vnc-2.0.pc
 
187
%{mingw32_includedir}/gtk-vnc-2.0
 
188
 
 
189
%files -n mingw32-gvnc-tools
 
190
%{mingw32_bindir}/gvnccapture.exe
 
191
 
 
192
# Mingw64
 
193
%files -n mingw64-gtk-vnc -f gtk-vnc.lang
 
194
%{mingw64_bindir}/gvncviewer.exe
 
195
%{mingw64_bindir}/libgtk-vnc-1.0-0.dll
 
196
%{mingw64_libdir}/libgtk-vnc-1.0.dll.a
 
197
%{mingw64_libdir}/pkgconfig/gtk-vnc-1.0.pc
 
198
%{mingw64_includedir}/gtk-vnc-1.0
 
199
 
 
200
%files -n mingw64-gvnc
 
201
%doc gtk-vnc-%{version}/AUTHORS
 
202
%doc gtk-vnc-%{version}/ChangeLog
 
203
%doc gtk-vnc-%{version}/ChangeLog-old
 
204
%doc gtk-vnc-%{version}/NEWS
 
205
%doc gtk-vnc-%{version}/README
 
206
%doc gtk-vnc-%{version}/COPYING.LIB
 
207
%{mingw64_bindir}/libgvnc-1.0-0.dll
 
208
%{mingw64_libdir}/libgvnc-1.0.dll.a
 
209
%{mingw64_libdir}/pkgconfig/gvnc-1.0.pc
 
210
%{mingw64_includedir}/gvnc-1.0
 
211
 
 
212
%files -n mingw64-gtk-vnc2
 
213
%{mingw64_bindir}/libgtk-vnc-2.0-0.dll
 
214
%{mingw64_libdir}/libgtk-vnc-2.0.dll.a
 
215
%{mingw64_libdir}/pkgconfig/gtk-vnc-2.0.pc
 
216
%{mingw64_includedir}/gtk-vnc-2.0
 
217
 
 
218
%files -n mingw64-gvnc-tools
 
219
%{mingw64_bindir}/gvnccapture.exe
 
220
 
 
221
%changelog