| 1 | Summary: Library to make writing a vnc server easy |
|---|
| 2 | Name: libvncserver |
|---|
| 3 | Version: 0.9.13 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | Group: System Environment/Libraries |
|---|
| 6 | Vendor: Project Vine |
|---|
| 7 | Distribution: Vine Linux |
|---|
| 8 | |
|---|
| 9 | # NOTE: --with-tightvnc-filetransfer => GPLv2 |
|---|
| 10 | License: GPLv2+ |
|---|
| 11 | URL: https://libvnc.github.io/ |
|---|
| 12 | Source0: https://github.com/LibVNC/libvncserver/archive/LibVNCServer-%{version}.tar.gz |
|---|
| 13 | |
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 15 | BuildRequires: cmake |
|---|
| 16 | BuildRequires: pkgconfig(gnutls) |
|---|
| 17 | BuildRequires: pkgconfig(sdl2) |
|---|
| 18 | #BuildRequires: pkgconfig(libsystemd) |
|---|
| 19 | BuildRequires: pkgconfig(avahi-client) |
|---|
| 20 | BuildRequires: pkgconfig(ice) |
|---|
| 21 | BuildRequires: pkgconfig(x11) |
|---|
| 22 | BuildRequires: pkgconfig(xdamage) |
|---|
| 23 | BuildRequires: pkgconfig(xext) |
|---|
| 24 | BuildRequires: pkgconfig(xfixes) |
|---|
| 25 | BuildRequires: pkgconfig(xi) |
|---|
| 26 | BuildRequires: pkgconfig(xinerama) |
|---|
| 27 | BuildRequires: pkgconfig(xrandr) |
|---|
| 28 | BuildRequires: pkgconfig(xtst) |
|---|
| 29 | BuildRequires: gettext-devel |
|---|
| 30 | BuildRequires: libgcrypt-devel |
|---|
| 31 | BuildRequires: libjpeg-devel |
|---|
| 32 | BuildRequires: libpng-devel |
|---|
| 33 | BuildRequires: lzo-devel |
|---|
| 34 | BuildRequires: lzo-minilzo |
|---|
| 35 | BuildRequires: openssl-devel |
|---|
| 36 | BuildRequires: zlib-devel |
|---|
| 37 | # upstream name |
|---|
| 38 | Obsoletes: LibVNCServer < %{version}-%{release} |
|---|
| 39 | Provides: LibVNCServer = %{version}-%{release} |
|---|
| 40 | |
|---|
| 41 | %description |
|---|
| 42 | LibVNCServer makes writing a VNC server (or more correctly, a program |
|---|
| 43 | exporting a framebuffer via the Remote Frame Buffer protocol) easy. |
|---|
| 44 | |
|---|
| 45 | It hides the programmer from the tedious task of managing clients and |
|---|
| 46 | compression schemata. |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %package devel |
|---|
| 50 | Summary: Development files for %{name} |
|---|
| 51 | Group: Development/Libraries |
|---|
| 52 | Requires: %{name} = %{version}-%{release} |
|---|
| 53 | # libvncserver-config deps |
|---|
| 54 | Requires: coreutils |
|---|
| 55 | # upstream name |
|---|
| 56 | #Obsoletes: LibVNCServer-devel < %{version}-%{release} |
|---|
| 57 | Provides: LibVNCServer-devel = %{version}-%{release} |
|---|
| 58 | |
|---|
| 59 | %description devel |
|---|
| 60 | %{summary}. |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | %prep |
|---|
| 64 | %setup -q -n %{name}-LibVNCServer-%{version} |
|---|
| 65 | |
|---|
| 66 | #nuke bundled minilzo |
|---|
| 67 | rm -f common/lzodefs.h common/lzoconf.h commmon/minilzo.h common/minilzo.c |
|---|
| 68 | |
|---|
| 69 | # fix encoding |
|---|
| 70 | mv AUTHORS AUTHORS.OLD && \ |
|---|
| 71 | iconv -f ISO_8859-1 -t UTF8 AUTHORS.OLD > AUTHORS && \ |
|---|
| 72 | touch --reference AUTHORS.OLD AUTHORS |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | %build |
|---|
| 76 | mkdir -p build |
|---|
| 77 | pushd build |
|---|
| 78 | %cmake .. |
|---|
| 79 | popd |
|---|
| 80 | |
|---|
| 81 | %make_build -C build |
|---|
| 82 | |
|---|
| 83 | |
|---|
| 84 | %install |
|---|
| 85 | rm -rf %{buildroot} |
|---|
| 86 | %make_install -C build |
|---|
| 87 | |
|---|
| 88 | |
|---|
| 89 | %clean |
|---|
| 90 | rm -rf %{buildroot} |
|---|
| 91 | |
|---|
| 92 | |
|---|
| 93 | %post -p /sbin/ldconfig |
|---|
| 94 | |
|---|
| 95 | %postun -p /sbin/ldconfig |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | %files |
|---|
| 99 | %defattr(-,root,root,-) |
|---|
| 100 | %license COPYING |
|---|
| 101 | %doc AUTHORS ChangeLog NEWS.md README.md TODO.md |
|---|
| 102 | %{_libdir}/libvncclient.so.* |
|---|
| 103 | %{_libdir}/libvncserver.so.* |
|---|
| 104 | |
|---|
| 105 | %files devel |
|---|
| 106 | %defattr(-,root,root,-) |
|---|
| 107 | #{_bindir}/*-config |
|---|
| 108 | %{_includedir}/rfb/ |
|---|
| 109 | %{_libdir}/libvncclient.so |
|---|
| 110 | %{_libdir}/libvncserver.so |
|---|
| 111 | %{_libdir}/pkgconfig/libvncclient.pc |
|---|
| 112 | %{_libdir}/pkgconfig/libvncserver.pc |
|---|
| 113 | |
|---|
| 114 | |
|---|
| 115 | %changelog |
|---|
| 116 | * Fri Jun 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.13-1 |
|---|
| 117 | - new upstream release. |
|---|
| 118 | - dropped Patch0, 1 and 3: fixed in upstream. |
|---|
| 119 | - dropped Patch2. |
|---|
| 120 | |
|---|
| 121 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1 |
|---|
| 122 | - update to 0.9.9 |
|---|
| 123 | - remove Patch50 (libvncserver-LINUX.patch) |
|---|
| 124 | - remove Patch100 (libvncserver-0.9.1-close_server_socket.patch) |
|---|
| 125 | - add patches from fedora |
|---|
| 126 | - Patch0 (LibVNCServer-0.9.9-no_x11vnc.patch) |
|---|
| 127 | - Patch3 (LibVNCServer-0.9.9-pkgconfig.patch) |
|---|
| 128 | - update Patch1 (LibVNCServer-0.9.9-system_minilzo.patch) from fedora |
|---|
| 129 | |
|---|
| 130 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.7-4 |
|---|
| 131 | - Initial build for Vine Linux |
|---|
| 132 | |
|---|
| 133 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-3 |
|---|
| 134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 135 | |
|---|
| 136 | * Sat May 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.9.7-3 |
|---|
| 137 | - Socket is not closed when disconnecting from server (#501895) |
|---|
| 138 | |
|---|
| 139 | * Mon May 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.9.7-2 |
|---|
| 140 | - fix detection of LINUX platform/define |
|---|
| 141 | |
|---|
| 142 | * Mon May 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.9.7-1 |
|---|
| 143 | - LibVNCServer-0.9.7 |
|---|
| 144 | |
|---|
| 145 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4 |
|---|
| 146 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 147 | |
|---|
| 148 | * Thu Apr 10 2008 Manuel Wolfshant <wolfy@fedoraproject.org> 0.9.1-3 |
|---|
| 149 | - do not use bundled copy of minilzo (#439979) |
|---|
| 150 | |
|---|
| 151 | * Sun Jan 27 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9.1-2 |
|---|
| 152 | - hack libtool to omit unused shlib dependencies |
|---|
| 153 | - fix AUTHORS encoding |
|---|
| 154 | - fix src perms |
|---|
| 155 | |
|---|
| 156 | * Mon Jan 21 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9.1-1 |
|---|
| 157 | - 0.9.1 |
|---|