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