forked from pool/neatvnc
Accepting request 1042327 from home:iznogood:branches:X11:Wayland
- "Pkgconfigify" BuildRequires, align with what meson checks for. - Modernize spec. OBS-URL: https://build.opensuse.org/request/show/1042327 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/neatvnc?expand=0&rev=13
This commit is contained in:
parent
304896566c
commit
36fa46cfec
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 12 11:00:02 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- "Pkgconfigify" BuildRequires, align with what meson checks for.
|
||||||
|
- Modernize spec.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 7 22:50:04 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
Mon Nov 7 22:50:04 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
40
neatvnc.spec
40
neatvnc.spec
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libsoname libneatvnc0
|
||||||
|
|
||||||
Name: neatvnc
|
Name: neatvnc
|
||||||
Version: 0.5.4
|
Version: 0.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -23,20 +25,20 @@ Summary: A VNC server library
|
|||||||
License: ISC
|
License: ISC
|
||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
URL: https://github.com/any1/neatvnc
|
URL: https://github.com/any1/neatvnc
|
||||||
Source0: https://github.com/any1/neatvnc/archive/v%{version}.tar.gz
|
Source0: %url/archive/v%{version}.tar.gz
|
||||||
BuildRequires: aml-devel
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: ffmpeg-4-libavcodec-devel
|
|
||||||
BuildRequires: ffmpeg-4-libavfilter-devel
|
|
||||||
BuildRequires: libdrm-devel
|
|
||||||
BuildRequires: libgbm-devel
|
|
||||||
BuildRequires: libgnutls-devel
|
|
||||||
BuildRequires: libjpeg8-devel
|
|
||||||
BuildRequires: libpixman-1-0-devel
|
|
||||||
BuildRequires: libuv-devel
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(aml)
|
||||||
|
BuildRequires: pkgconfig(gbm)
|
||||||
|
BuildRequires: pkgconfig(gnutls)
|
||||||
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
|
BuildRequires: pkgconfig(libavfilter)
|
||||||
|
BuildRequires: pkgconfig(libavutil)
|
||||||
|
BuildRequires: pkgconfig(libdrm)
|
||||||
|
BuildRequires: pkgconfig(libturbojpeg)
|
||||||
|
BuildRequires: pkgconfig(pixman-1)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a VNC server library.
|
This is a VNC server library.
|
||||||
@ -44,16 +46,16 @@ This is a VNC server library.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libneatvnc0 = %{version}
|
Requires: %libsoname = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files and headers for %{name}.
|
Development files and headers for %{name}.
|
||||||
|
|
||||||
%package -n libneatvnc0
|
%package -n %libsoname
|
||||||
Summary: A VNC server library
|
Summary: A VNC server library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libneatvnc0
|
%description -n %libsoname
|
||||||
A VNC server library.
|
A VNC server library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -67,8 +69,7 @@ A VNC server library.
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
%post -n libneatvnc0 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %libsoname
|
||||||
%postun -n libneatvnc0 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -77,8 +78,7 @@ A VNC server library.
|
|||||||
%{_libdir}/libneatvnc.so
|
%{_libdir}/libneatvnc.so
|
||||||
%{_libdir}/pkgconfig/neatvnc.pc
|
%{_libdir}/pkgconfig/neatvnc.pc
|
||||||
|
|
||||||
%files -n libneatvnc0
|
%files -n %libsoname
|
||||||
%{_libdir}/libneatvnc.so.0
|
%{_libdir}/libneatvnc.so.*
|
||||||
%{_libdir}/libneatvnc.so.0.0.0
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user