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