]> git.pld-linux.org Git - packages/libvncserver.git/blame - libvncserver.spec
no duplicate urls, drop epoch 0
[packages/libvncserver.git] / libvncserver.spec
CommitLineData
6b981399 1%define srcname LibVNCServer
4e154a07 2Summary: LibVNCServer - a for easy implementation of VNC/RDP server
a91cb256 3Summary(pl.UTF-8): LibVNCServer - biblioteka do łatwego implementowania serwera VNC/RDP
ae85b5dc 4Name: libvncserver
66c7d097 5Version: 0.9.9
cdab933a 6Release: 6
10b982cb 7License: GPL v2
ae85b5dc 8Group: Libraries
4c2d0508 9Source0: https://github.com/LibVNC/libvncserver/archive/%{srcname}-%{version}.tar.gz
66c7d097 10# Source0-md5: 70422169b122765693d2a294d13e3714
0f92f1cc 11Patch0: %{name}-linux.patch
aa808c9d 12Patch1: format_string.patch
cd658684 13URL: https://github.com/LibVNC/libvncserver/
39c32d93 14BuildRequires: autoconf >= 2.50
ae85b5dc 15BuildRequires: automake
6b981399
JB
16BuildRequires: gnutls-devel >= 2.4.0
17BuildRequires: libgcrypt-devel >= 1.4.0
4e154a07
JB
18BuildRequires: libjpeg-devel
19BuildRequires: libtool
b0259930 20BuildRequires: pkgconfig
6b981399
JB
21BuildRequires: sed >= 4.0
22BuildRequires: xorg-lib-libX11-devel
39c32d93
JB
23BuildRequires: xorg-lib-libXdamage-devel
24BuildRequires: xorg-lib-libXext-devel
25BuildRequires: xorg-lib-libXfixes-devel
26BuildRequires: xorg-lib-libXinerama-devel
27BuildRequires: xorg-lib-libXrandr-devel
28BuildRequires: xorg-lib-libXtst-devel
4e154a07 29BuildRequires: zlib-devel
96452d01
JB
30# not used (x11vnc moved to separate package)
31#BuildRequires: openssl-devel
39c32d93
JB
32# for noinst client_examples only
33#BuildRequires: SDL-devel
34#BuildRequires: ffmpeg-devel
6b981399
JB
35Requires: gnutls >= 2.4.0
36Requires: libgcrypt >= 1.4.0
ae85b5dc
MK
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40LibVNCServer makes writing a VNC server (or more correctly, a program
41exporting a framebuffer via the Remote Frame Buffer protocol) easy.
42
43It is based on OSXvnc, which in turn is based on the original Xvnc by
44ORL, later AT&T research labs in UK.
45
46It hides the programmer from the tedious task of managing clients and
47compression schemata.
48
49LibVNCServer was put together and is (actively ;-) maintained by
4e154a07
JB
50Johannes Schindelin <Johannes.Schindelin@gmx.de>.
51
16f8c8e7
JR
52%description -l pl.UTF-8
53LibVNCServer ułatwia pisanie serwera VNC (lub, bardziej poprawnie,
54programu eksportującego framebuffer poprzez protokół Remote Frame
4e154a07
JB
55Buffer).
56
16f8c8e7
JR
57Jest oparty na OSXvnc, który z kolei bazuje na oryginalnym Xvnc
58napisanym przez ORL, a później AT&T.
4e154a07 59
16f8c8e7 60Biblioteka ukrywa przed programistą nudne zadanie zarządzania
4e154a07
JB
61klientami i schematami kompresji.
62
16f8c8e7 63LibVNCServer została poskładana i jest (aktywnie) utrzymywana przez
4e154a07 64Johannesa Schindelina <Johannes.Schindelin@gmx.de>.
ae85b5dc 65
2e160c3a 66%package devel
4e154a07 67Summary: LibVNCServer header files
a91cb256 68Summary(pl.UTF-8): Pliki nagłówkowe LibVNCServer
4e154a07 69Group: Development/Libraries
cd658684 70Requires: %{name} = %{version}-%{release}
6b981399
JB
71Requires: gnutls-devel >= 2.4.0
72Requires: libgcrypt-devel >= 1.4.0
39c32d93
JB
73Requires: libjpeg-devel
74Requires: zlib-devel
2e160c3a
MK
75
76%description devel
4e154a07 77LibVNCServer header files.
2e160c3a 78
16f8c8e7
JR
79%description devel -l pl.UTF-8
80Pliki nagłówkowe LibVNCServer.
4e154a07
JB
81
82%package static
83Summary: Static LibVNCServer libraries
a91cb256 84Summary(pl.UTF-8): Statyczne biblioteki LibVNCServer
4e154a07 85Group: Development/Libraries
cd658684 86Requires: %{name}-devel = %{version}-%{release}
4e154a07
JB
87
88%description static
89Static LibVNCServer libraries.
90
16f8c8e7 91%description static -l pl.UTF-8
4e154a07
JB
92Statyczne biblioteki LibVNCServer.
93
94%package progs
95Summary: Example programs that use LibVNCServer
a91cb256 96Summary(pl.UTF-8): Przykładowe programy wykorzystujące LibVNCServer
4e154a07 97Group: Applications
cd658684 98Requires: %{name} = %{version}-%{release}
4e154a07
JB
99
100%description progs
101Example programs that use LibVNCServer.
102
16f8c8e7
JR
103%description progs -l pl.UTF-8
104Przykładowe programy wykorzystujące LibVNCServer.
2e160c3a 105
ae85b5dc 106%prep
6b981399 107%setup -q -n %{srcname}-%{version}
4e154a07 108%patch0 -p1
aa808c9d 109%patch1 -p1
ae85b5dc 110
d708d698
AM
111install -d x11vnc/misc
112touch x11vnc/Makefile.in x11vnc/misc/Makefile.in
113
114awk 'BEGIN { f=1; } /# libtool.m4/ { f=0; } { if (f) { print $0; } }' acinclude.m4 > acinclude.m4.new
115mv acinclude.m4.new acinclude.m4
116
6b981399
JB
117sed -i -e '/AC_CONFIG_FILES.*x11vnc/d' configure.ac
118
ae85b5dc 119%build
4e154a07 120%{__libtoolize}
ae85b5dc 121%{__aclocal}
ae85b5dc 122%{__autoconf}
4e154a07
JB
123%{__autoheader}
124%{__automake}
d708d698 125%configure \
aa808c9d 126 --disable-silent-rules \
d708d698 127 --without-x11vnc
ae85b5dc
MK
128%{__make}
129
130%install
131rm -rf $RPM_BUILD_ROOT
4e154a07
JB
132
133%{__make} install \
134 DESTDIR=$RPM_BUILD_ROOT
ae85b5dc 135
6b981399
JB
136# *.la not removed - *.pc don't contain Requires.private nor Libs.private
137
ae85b5dc
MK
138%clean
139rm -rf $RPM_BUILD_ROOT
140
4e154a07
JB
141%post -p /sbin/ldconfig
142%postun -p /sbin/ldconfig
143
ae85b5dc
MK
144%files
145%defattr(644,root,root,755)
10b982cb 146%doc AUTHORS ChangeLog NEWS README TODO
fc559bc5
JB
147%attr(755,root,root) %{_libdir}/libvncclient.so.*.*.*
148%attr(755,root,root) %ghost %{_libdir}/libvncclient.so.0
149%attr(755,root,root) %{_libdir}/libvncserver.so.*.*.*
150%attr(755,root,root) %ghost %{_libdir}/libvncserver.so.0
2e160c3a
MK
151
152%files devel
153%defattr(644,root,root,755)
154%attr(755,root,root) %{_bindir}/libvncserver-config
fc559bc5
JB
155%attr(755,root,root) %{_libdir}/libvncclient.so
156%attr(755,root,root) %{_libdir}/libvncserver.so
157%{_libdir}/libvncclient.la
158%{_libdir}/libvncserver.la
4e154a07 159%{_includedir}/rfb
6b981399
JB
160%{_pkgconfigdir}/libvncclient.pc
161%{_pkgconfigdir}/libvncserver.pc
4e154a07
JB
162
163%files static
164%defattr(644,root,root,755)
fc559bc5
JB
165%{_libdir}/libvncclient.a
166%{_libdir}/libvncserver.a
4e154a07
JB
167
168%files progs
169%defattr(644,root,root,755)
66c7d097 170%attr(755,root,root) %{_bindir}/linuxvnc
This page took 0.088817 seconds and 4 git commands to generate.