207 lines
6.6 KiB
RPMSpec
207 lines
6.6 KiB
RPMSpec
Name: spice-gtk
|
|
Version: 0.41
|
|
Release: 2mamba
|
|
Summary: A Gtk client and libraries for SPICE remote desktop servers
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.spice-space.org/
|
|
Source: http://www.spice-space.org/download/gtk/spice-gtk-%{version}.tar.xz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libacl-devel
|
|
BuildRequires: libcacard-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libcap-ng-devel
|
|
BuildRequires: libepoxy-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgst-plugins-base-devel
|
|
BuildRequires: libgstreamer-devel
|
|
BuildRequires: libgtk3-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libjson-glib-devel
|
|
BuildRequires: liblz4-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libopus-devel
|
|
BuildRequires: libphodav-devel
|
|
BuildRequires: libpixman-devel
|
|
BuildRequires: libpolkit-devel
|
|
BuildRequires: libsasl2-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libusbredir-devel
|
|
BuildRequires: libva-devel
|
|
BuildRequires: libwayland-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: spice-protocol-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libphodav-devel >= 0:3.0-1mamba
|
|
BuildRequires: libpulseaudio-devel >= 8.0-1mamba
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
A Gtk client and libraries for SPICE remote desktop servers.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: %{name} API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
This package includes the %{name} API documentation.
|
|
|
|
%package -n python-SpiceClientGtk
|
|
Group: System/Libraries/Python
|
|
Summary: Python bindings for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n python-SpiceClientGtk
|
|
A Gtk client and libraries for SPICE remote desktop servers.
|
|
This package contains the Python bindings.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#-D -T
|
|
|
|
%build
|
|
%meson \
|
|
-Dgtk=enabled
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/postplug/updates.d
|
|
cat > %{buildroot}%{_sysconfdir}/postplug/updates.d/spice-gtk-remove-broken-001.upd << _EOF
|
|
rpm -e spice-gtk-0.25-1mamba --noscripts
|
|
exit 0
|
|
_EOF
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/postplug/updates.d/spice-gtk-remove-broken-001.upd
|
|
%{_bindir}/spicy
|
|
%{_bindir}/spicy-screenshot
|
|
%{_bindir}/spicy-stats
|
|
%{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
|
|
%{_mandir}/man1/spice-client.1*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libspice-client-glib-2.0.so.*
|
|
%{_libdir}/libspice-client-gtk-*.so.*
|
|
%{_libexecdir}/spice-client-glib-usb-acl-helper
|
|
%{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib
|
|
%{_libdir}/girepository-1.0/SpiceClientGtk-*.typelib
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/spice-client-glib-2.0
|
|
%{_includedir}/spice-client-glib-2.0/*.h
|
|
%dir %{_includedir}/spice-client-gtk-*
|
|
%{_includedir}/spice-client-gtk-*/*.h
|
|
%{_libdir}/libspice-client-glib-2.0.so
|
|
%{_libdir}/libspice-client-gtk-*.so
|
|
%{_libdir}/pkgconfig/spice-client-glib-2.0.pc
|
|
%{_libdir}/pkgconfig/spice-client-gtk-*.pc
|
|
%{_datadir}/gir-1.0/SpiceClientGLib-2.0.gir
|
|
%{_datadir}/gir-1.0/SpiceClientGtk-*.gir
|
|
%{_datadir}/vala/vapi/spice-client-glib-2.0.deps
|
|
%{_datadir}/vala/vapi/spice-client-glib-2.0.vapi
|
|
%{_datadir}/vala/vapi/spice-client-gtk-3.0.deps
|
|
%{_datadir}/vala/vapi/spice-client-gtk-3.0.vapi
|
|
#%{_datadir}/vala/vapi/spice-protocol.vapi
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/spice-gtk
|
|
%{_datadir}/gtk-doc/html/spice-gtk/*
|
|
|
|
%changelog
|
|
* Mon Dec 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.41-2mamba
|
|
- rebuilt by autoport with build requirements: libphodav-devel>=0:3.0-1mamba,libphodav-devel>=0:3.0-1mamba
|
|
|
|
* Tue Jul 12 2022 Automatic Build System <autodist@mambasoft.it> 0.41-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 31 2022 Automatic Build System <autodist@mambasoft.it> 0.40-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 25 2021 Automatic Build System <autodist@mambasoft.it> 0.39-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-2mamba
|
|
- disable deprecated celt051
|
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-1mamba
|
|
- update to 0.38
|
|
|
|
* Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 0.37-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 25 2019 Automatic Build System <autodist@mambasoft.it> 0.36-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 0.35-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 10 2018 Automatic Build System <autodist@mambasoft.it> 0.34-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-2mamba
|
|
- rebuilt by autoport with build requirements: libpulseaudio-devel>=8.0-1mamba
|
|
|
|
* Tue Nov 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-1mamba
|
|
- update to 0.30
|
|
|
|
* Sat Mar 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-3mamba
|
|
- add postplug updates.d file to remove broken scripts old release package
|
|
|
|
* Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-2mamba
|
|
- rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba
|
|
|
|
* Mon Oct 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-1mamba
|
|
- update to 0.25
|
|
- move spice-client-glib-usb-acl-helper and other binaries from -devel to main package
|
|
|
|
* Tue May 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.24-2mamba
|
|
- rebuilt with gtk 3.0
|
|
|
|
* Mon May 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.24-1mamba
|
|
- package created using the webbuild interface
|