libvncserver-vl.spec 4.3 KB

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