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