Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
spice-gtk
spice-gtk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spice-gtk.spec of Package spice-gtk
# # spec file for package spice-gtk # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: spice-gtk Version: 0.12 Release: 0 # FIXME: /usr/bin/spice-client-glib-usb-acl-helper should be installed u+s, see bnc#744251. Summary: Gtk client and libraries for SPICE remote desktop servers License: GPL-2.0+ and LGPL-2.1+ Group: System/GUI/GNOME Url: http://spice-space.org/page/Spice-Gtk Source: http://spice-space.org/download/gtk/%{name}-%{version}.tar.bz2 BuildRequires: cyrus-sasl-devel BuildRequires: intltool BuildRequires: libacl-devel BuildRequires: libjpeg-devel BuildRequires: python-pyparsing BuildRequires: vala BuildRequires: perl(Text::CSV) BuildRequires: pkgconfig(cairo) >= 1.2.0 BuildRequires: pkgconfig(celt051) >= 0.5.1.1 BuildRequires: pkgconfig(gio-2.0) >= 2.10.0 BuildRequires: pkgconfig(glib-2.0) >= 2.22 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gthread-2.0) >= 2.0.0 BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0 BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.3 BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libcacard) >= 0.1.2 BuildRequires: pkgconfig(libpulse-mainloop-glib) BuildRequires: pkgconfig(libusb-1.0) >= 1.0.9 BuildRequires: pkgconfig(libusbredirhost) >= 0.3.3 BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(pixman-1) >= 0.17.7 BuildRequires: pkgconfig(polkit-gobject-1) >= 0.96 BuildRequires: pkgconfig(pygtk-2.0) >= 2.0.0 BuildRequires: pkgconfig(spice-protocol) >= 0.10.1 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): permissions %description A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-client-glib-2_0-1 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-client-glib-2_0-1 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-client-gtk-3_0-1 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-client-gtk-3_0-1 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-client-gtk-2_0-1 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-client-gtk-2_0-1 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n libspice-controller0 Summary: Gtk client and libraries for SPICE remote desktop servers Group: System/Libraries %description -n libspice-controller0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n typelib-1_0-SpiceClientGtk-3_0 Summary: Gtk client and libraries for SPICE remote desktop servers - gi-bindings Group: System/Libraries %description -n typelib-1_0-SpiceClientGtk-3_0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n typelib-1_0-SpiceClientGtk-2_0 Summary: Gtk client and libraries for SPICE remote desktop servers - gi-bindings Group: System/Libraries %description -n typelib-1_0-SpiceClientGtk-2_0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n typelib-1_0-SpiceClientGlib-2_0 Summary: Gtk client and libraries for SPICE remote desktop servers - gi-bindings Group: System/Libraries %description -n typelib-1_0-SpiceClientGlib-2_0 A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package -n python-SpiceClientGtk Summary: Gtk client and libraries for SPICE remote desktop servers - python-bindings Group: Development/Libraries/Python %py_requires -d %description -n python-SpiceClientGtk A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %package devel Summary: Devel Group: Development/Languages/C and C++ Requires: libspice-client-glib-2_0-1 = %{version} Requires: libspice-client-gtk-2_0-1 = %{version} Requires: libspice-client-gtk-3_0-1 = %{version} Requires: libspice-controller0 = %{version} Requires: typelib-1_0-SpiceClientGlib-2_0 = %{version} Requires: typelib-1_0-SpiceClientGtk-2_0 = %{version} Requires: typelib-1_0-SpiceClientGtk-3_0 = %{version} %description devel A Gtk client and libraries for SPICE remote desktop servers, (Linux and Windows) %lang_package %prep %setup -q %build mkdir gtk2_build cd gtk2_build # %%configure badly misses a -b option to buid out of tree CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ ../configure --host=%{_host} --build=%{_build} \ --program-prefix=%{?_program_prefix} \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --sharedstatedir=%{_sharedstatedir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --disable-dependency-tracking \ --disable-static \ --with-gtk=2.0 \ --disable-silent-rules make %{?_smp_mflags} cd .. %configure \ --disable-static \ --enable-vala \ --disable-silent-rules make %{?_smp_mflags} %install %make_install -C gtk2_build %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %post %set_permissions %{_bindir}/spice-client-glib-usb-acl-helper %verifyscript %verify_permissions -e %{_bindir}/spice-client-glib-usb-acl-helper %post -n libspice-client-glib-2_0-1 -p /sbin/ldconfig %postun -n libspice-client-glib-2_0-1 -p /sbin/ldconfig %post -n libspice-client-gtk-3_0-1 -p /sbin/ldconfig %postun -n libspice-client-gtk-3_0-1 -p /sbin/ldconfig %post -n libspice-client-gtk-2_0-1 -p /sbin/ldconfig %postun -n libspice-client-gtk-2_0-1 -p /sbin/ldconfig %post -n libspice-controller0 -p /sbin/ldconfig %postun -n libspice-controller0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc README COPYING %{_bindir}/snappy %{_bindir}/spicy %{_bindir}/spicy-stats # Remove the attr(755) once bnc#744251 has been fixed. %attr(755,root,root) %{_bindir}/spice-client-glib-usb-acl-helper %{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy %files lang -f %{name}.lang %files -n libspice-client-glib-2_0-1 %defattr(-, root, root) %{_libdir}/libspice-client-glib-2.0.so.* %files -n typelib-1_0-SpiceClientGlib-2_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib %files -n libspice-client-gtk-3_0-1 %defattr(-, root, root) %{_libdir}/libspice-client-gtk-3.0.so.* %files -n libspice-client-gtk-2_0-1 %defattr(-, root, root) %{_libdir}/libspice-client-gtk-2.0.so.* %files -n typelib-1_0-SpiceClientGtk-3_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/SpiceClientGtk-3.0.typelib %files -n typelib-1_0-SpiceClientGtk-2_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/SpiceClientGtk-2.0.typelib %files -n libspice-controller0 %defattr(-, root, root) %{_libdir}/libspice-controller.so.* %files -n python-SpiceClientGtk %defattr(-, root, root) %{python_sitearch}/SpiceClientGtk.so %files devel %defattr(-, root, root) %{_includedir}/spice-client-glib-2.0/ %{_includedir}/spice-client-gtk-3.0/ %{_includedir}/spice-client-gtk-2.0/ %{_includedir}/spice-controller/ %{_libdir}/libspice-client-glib-2.0.so %{_libdir}/libspice-client-gtk-3.0.so %{_libdir}/libspice-client-gtk-2.0.so %{_libdir}/libspice-controller.so %{_datadir}/gir-1.0/SpiceClientGLib-2.0.gir %{_datadir}/gir-1.0/SpiceClientGtk-3.0.gir %{_datadir}/gir-1.0/SpiceClientGtk-2.0.gir %{_datadir}/gtk-doc/html/spice-gtk/ %{_datadir}/vala/vapi/spice-protocol.vapi %{_libdir}/pkgconfig/spice-client-glib-2.0.pc %{_libdir}/pkgconfig/spice-client-gtk-3.0.pc %{_libdir}/pkgconfig/spice-client-gtk-2.0.pc %{_libdir}/pkgconfig/spice-controller.pc %{_datadir}/vala/vapi/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor