219 lines
6.8 KiB
RPMSpec
219 lines
6.8 KiB
RPMSpec
Name: spice-gtk
|
|
Version: 0.37
|
|
Release: 1mamba
|
|
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: http://www.spice-space.org/
|
|
Source: http://www.spice-space.org/download/gtk/spice-gtk-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: libXrender-devel
|
|
BuildRequires: libacl-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libbsd-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libcap-devel
|
|
BuildRequires: libcelt051-devel
|
|
BuildRequires: libdw-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libgst-plugins-base-devel
|
|
BuildRequires: libgstreamer-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libnspr-devel
|
|
BuildRequires: libnss-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libopus-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libpixman-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpolkit-devel
|
|
BuildRequires: libpulseaudio-devel
|
|
BuildRequires: libpulseaudio-glib-devel
|
|
BuildRequires: libsasl2-devel
|
|
BuildRequires: libselinux-devel
|
|
BuildRequires: libsepol-devel
|
|
BuildRequires: libsystemd-devel
|
|
BuildRequires: libthai-devel
|
|
BuildRequires: libudev-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libusbredir-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: spice-protocol-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpulseaudio-devel >= 8.0-1mamba
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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
|
|
#:<< _EOF
|
|
%configure \
|
|
--enable-gtk-doc \
|
|
--with-gtk=3.0 \
|
|
--enable-celt051
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%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}/spice-client-glib-usb-acl-helper
|
|
%{_bindir}/spicy
|
|
%{_bindir}/spicy-screenshot
|
|
%{_bindir}/spicy-stats
|
|
%{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
|
|
%{_mandir}/man1/spice-client.1*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libspice-client-glib-2.0.so.*
|
|
%{_libdir}/libspice-client-gtk-*.so.*
|
|
#%{_libdir}/libspice-controller.so.*
|
|
%{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib
|
|
%{_libdir}/girepository-1.0/SpiceClientGtk-*.typelib
|
|
|
|
%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
|
|
#%dir %{_includedir}/spice-controller
|
|
#%{_includedir}/spice-controller/spice-controller.h
|
|
%{_libdir}/libspice-client-glib-2.0.la
|
|
%{_libdir}/libspice-client-glib-2.0.so
|
|
%{_libdir}/libspice-client-gtk-*.la
|
|
%{_libdir}/libspice-client-gtk-*.so
|
|
#%{_libdir}/libspice-controller.la
|
|
#%{_libdir}/libspice-controller.so
|
|
%{_libdir}/pkgconfig/spice-client-glib-2.0.pc
|
|
%{_libdir}/pkgconfig/spice-client-gtk-*.pc
|
|
#%{_libdir}/pkgconfig/spice-controller.pc
|
|
%{_datadir}/gir-1.0/SpiceClientGLib-2.0.gir
|
|
%{_datadir}/gir-1.0/SpiceClientGtk-*.gir
|
|
#%{_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
|
|
* 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
|