]> git.pld-linux.org Git - packages/gtk-vnc.git/blob - gtk-vnc.spec
- release 5
[packages/gtk-vnc.git] / gtk-vnc.spec
1 Summary:        A GTK+ widget for VNC clients
2 Summary(pl.UTF-8):      Widget GTK+ dla klientów VNC
3 Name:           gtk-vnc
4 Version:        0.3.10
5 Release:        5
6 License:        LGPL v2
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.3/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9aa9d830b219255c8d6753ef55802932
10 Patch0:         %{name}-codegen.patch
11 URL:            http://live.gnome.org/gtk-vnc
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  cyrus-sasl-devel
15 BuildRequires:  gettext-devel
16 BuildRequires:  gnutls-devel >= 1.4.0
17 BuildRequires:  gtk+2-devel >= 2:2.10.0
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libtool
20 BuildRequires:  pkgconfig
21 BuildRequires:  python-devel >= 1:2.4
22 BuildRequires:  python-pygtk-devel >= 2:2.0.0
23 BuildRequires:  rpm-pythonprov
24 BuildRequires:  zlib-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 gtk-vnc is a VNC viewer widget for GTK+. It is built using coroutines
29 allowing it to be completely asynchronous while remaining single
30 threaded.
31
32 %description -l pl.UTF-8
33 gtk-vnc to widget przeglądarki VNC dla GTK+. Jest skonstruowany z
34 użyciem korutyn, dzięki czemu mogą być w pełni asynchroniczne
35 pozostając jednowątkowymi.
36
37 %package devel
38 Summary:        Header files for gtk-vnc library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gtk-vnc
40 Group:          X11/Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       gnutls-devel >= 1.4.0
43 Requires:       gtk+2-devel >= 2:2.10.0
44
45 %description devel
46 Header files for gtk-vnc library.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki gtk-vnc.
50
51 %package static
52 Summary:        Static gtk-vnc library
53 Summary(pl.UTF-8):      Statyczna biblioteka gtk-vnc
54 Group:          X11/Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static gtk-vnc library.
59
60 %description static -l pl.UTF-8
61 Statyczna biblioteka gtk-vnc.
62
63 %package -n python-gtk-vnc
64 Summary:        Python bindings for the gtk-vnc library
65 Summary(pl.UTF-8):      Wiązania Pythona do biblioteki gtk-vnc
66 Group:          Libraries/Python
67 Requires:       %{name} = %{version}-%{release}
68 %requires_eq    python-libs
69
70 %description -n python-gtk-vnc
71 A module allowing use of the GTK+ VNC widget from Python.
72
73 %description -n python-gtk-vnc -l pl.UTF-8
74 Moduł pozwalający na używanie widgetu GTK+ VNC z poziomu Pythona.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 %{__libtoolize}
82 %{__aclocal} -I gnulib/m4
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
96         $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
97
98 install examples/gvncviewer.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
99 install examples/gvncviewer.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
100
101 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
102
103 %find_lang %{name}
104
105 %clean
106 rm -fr $RPM_BUILD_ROOT
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS ChangeLog NEWS README
114 %attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so.*.*.*
115 %attr(755,root,root) %ghost %{_libdir}/libgtk-vnc-1.0.so.0
116
117 %files devel
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so
120 %{_libdir}/libgtk-vnc-1.0.la
121 %{_includedir}/%{name}-1.0
122 %{_pkgconfigdir}/%{name}-1.0.pc
123 %{_examplesdir}/%{name}-%{version}
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/libgtk-vnc-1.0.a
128
129 %files -n python-gtk-vnc
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{py_sitedir}/gtkvnc.so
132 %{_examplesdir}/python-%{name}-%{version}
This page took 0.060673 seconds and 4 git commands to generate.