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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Guido Günther
  • Date: 2010-07-16 17:55:31 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100716175531-vnolppaqgmo3rqij
Tags: 0.4.1-1
* [2703df5] Imported Upstream version 0.4.1
* [5a5910e] Drop patches applied upstream 
      0001-say-disconnected-from-server-only-once-connected.patch
      0002-remove-WERROR_CFLAGS.patch
      0004-Don-t-use-PATH_MAX.patch
      0005-Drop-space-after-Wl-in-libgtk_vnc_1_0_la_LDFLAGS.patch
      0006-Add-Wl-since-no-undefined-is-a-linker-option.patch
      0007-Explicitly-link-against-X11-libs-for-XkbGetKeyboard.patch
      0008-Add-missing-symbols.patch
      0009-Fix-missing-intialisation-of-sysdir-and-uderdir.patch
* [e3ed1d0] No need to run autoreconf anymore
* [1529b9a] No static libs built
* [15068ef] Update symbols file with new symbols
* [337c397] Bump standards version

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
%define __find_requires %{_mingw32_findrequires}
5
5
%define __find_provides %{_mingw32_findprovides}
6
6
 
7
 
%define _default_patch_fuzz 2
8
 
 
9
 
Name:           mingw32-gtk-vnc
10
 
Version:        @VERSION@
11
 
Release:        1%{?dist}%{?extra_release}
12
 
Summary:        MinGW Windows port of VNC client GTK widget
13
 
 
14
 
License:        LGPLv2+
15
 
Group:          Development/Libraries
16
 
URL:            http://gtk-vnc.sf.net/
17
 
Source0:        http://downloads.sourceforge.net/gtk-vnc/gtk-vnc-%{version}.tar.gz
18
 
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19
 
 
20
 
BuildArch:      noarch
21
 
 
22
 
BuildRequires:  mingw32-filesystem >= 30
23
 
BuildRequires:  mingw32-gcc
24
 
BuildRequires:  mingw32-binutils
25
 
BuildRequires:  mingw32-gtk2
26
 
BuildRequires:  mingw32-gnutls
27
 
BuildRequires:  autoconf
28
 
BuildRequires:  automake
29
 
BuildRequires:  libtool
30
 
BuildRequires:  pkgconfig
31
 
 
 
7
Name: mingw32-gtk-vnc
 
8
Version: @VERSION@
 
9
Release: 1%{?dist}%{?extra_release}
 
10
Summary: MinGW Windows port of VNC client GTK widget
 
11
 
 
12
License: LGPLv2+
 
13
Group: Development/Libraries
 
14
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.4/gtk-vnc-%{version}.tar.gz
 
15
URL: http://live.gnome.org/gtk-vnc
 
16
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
17
 
 
18
BuildArch: noarch
 
19
 
 
20
BuildRequires: mingw32-filesystem >= 40
 
21
BuildRequires: mingw32-gcc
 
22
BuildRequires: mingw32-binutils
 
23
 
 
24
BuildRequires: mingw32-cairo
 
25
BuildRequires: mingw32-dlfcn
 
26
BuildRequires: mingw32-gettext
 
27
BuildRequires: mingw32-iconv
 
28
BuildRequires: mingw32-gnutls
 
29
BuildRequires: mingw32-gtk2
 
30
BuildRequires: pkgconfig
 
31
BuildRequires: intltool
 
32
 
 
33
Requires: pkgconfig
 
34
 
 
35
%package -n mingw32-gvnc
 
36
Summary: MinGW Windows port of VNC GObject
 
37
 
 
38
%package -n mingw32-gvnc-tools
 
39
Summary: Command line VNC tools
 
40
Group: Applications/Internet
32
41
 
33
42
%description
34
43
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
35
44
allowing it to be completely asynchronous while remaining single threaded.
36
45
 
 
46
%description -n mingw32-gvnc
 
47
gvnc is a GObject for managing a VNC connection. It provides all the
 
48
infrastructure required to build a VNC client without having to deal
 
49
with the raw protocol itself.
 
50
 
 
51
%description -n mingw32-gvnc-tools
 
52
Provides useful command line utilities for interacting with
 
53
VNC servers. Includes the gvnccapture program for capturing
 
54
screenshots of a VNC desktop
37
55
 
38
56
%prep
39
57
%setup -q -n gtk-vnc-%{version}
48
66
make DESTDIR=$RPM_BUILD_ROOT install
49
67
 
50
68
# Remove static libraries but DON'T remove *.dll.a files.
51
 
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a
 
69
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a
 
70
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/libgvnc-1.0.a
 
71
rm -f $RPM_BUILD_ROOT%{_mingw32_mandir}/man1/gvnccapture.1*
52
72
 
53
73
%find_lang gtk-vnc
54
74
 
56
76
rm -rf $RPM_BUILD_ROOT
57
77
 
58
78
 
59
 
%files -f gtk-vnc.lang
 
79
%files -f gtk-vnc.lang -n mingw32-gvnc
60
80
%defattr(-,root,root)
61
81
%{_mingw32_bindir}/gvncviewer.exe
62
82
%{_mingw32_bindir}/libgtk-vnc-1.0-0.dll
65
85
%{_mingw32_libdir}/pkgconfig/gtk-vnc-1.0.pc
66
86
%{_mingw32_includedir}/gtk-vnc-1.0
67
87
 
 
88
%files
 
89
%defattr(-,root,root)
 
90
%{_mingw32_bindir}/libgvnc-1.0-0.dll
 
91
%{_mingw32_libdir}/libgvnc-1.0.dll.a
 
92
%{_mingw32_libdir}/libgvnc-1.0.la
 
93
%{_mingw32_libdir}/pkgconfig/gvnc-1.0.pc
 
94
%{_mingw32_includedir}/gvnc-1.0
 
95
 
 
96
%files -n mingw32-gvnc-tools
 
97
%defattr(-,root,root)
 
98
%{_mingw32_bindir}/gvnccapture.exe
68
99
 
69
100
%changelog
70
101
* Sun Dec  7 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.7-1