123 lines
3.1 KiB
RPMSpec
123 lines
3.1 KiB
RPMSpec
# we don't want to provide private python extension libs
|
|
%{?filter_setup:
|
|
%filter_provides_in %{python_sitearch}/.*\.so$
|
|
%filter_setup
|
|
}
|
|
|
|
Name: spice-gtk
|
|
Version: 0.4
|
|
Release: 2%{?dist}
|
|
Summary: A GTK widget for SPICE clients
|
|
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
URL: http://spice-space.org/page/Spice-Gtk
|
|
Source0: http://www.spice-space.org/download/gtk/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: intltool
|
|
BuildRequires: gtk2-devel >= 2.14
|
|
BuildRequires: spice-protocol >= 0.6.3
|
|
BuildRequires: perl-Text-CSV
|
|
BuildRequires: pixman-devel openssl-devel libjpeg-turbo-devel
|
|
BuildRequires: celt051-devel pulseaudio-libs-devel
|
|
BuildRequires: pygtk2-devel python-devel zlib-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gtk-doc
|
|
|
|
ExclusiveArch: %{ix86} x86_64
|
|
|
|
%description
|
|
Client libraries for SPICE desktop servers.
|
|
|
|
%package devel
|
|
Summary: Development files to build GTK2 applications with spice-gtk
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
Requires: gtk2-devel
|
|
|
|
%description devel
|
|
spice-client-glib is a SPICE client library for GLib.
|
|
spice-client-gtk provides a SPICE viewer widget for GTK.
|
|
|
|
Libraries, includes, etc. to compile with the spice-gtk libraries
|
|
|
|
%package python
|
|
Summary: Python bindings for the spice-gtk library
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description python
|
|
SpiceClientGtk module provides a SPICE viewer widget for GTK.
|
|
|
|
A module allowing use of the spice-gtk widget from python
|
|
|
|
%package tools
|
|
Summary: Spice-gtk tools
|
|
Group: Applications/Internet
|
|
|
|
%description tools
|
|
Simple clients for interacting with SPICE servers.
|
|
spicy is a client to a SPICE desktop server.
|
|
snappy is a tool to capture screen-shots of a SPICE desktop.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure --enable-gtk-doc
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
|
|
rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING README NEWS
|
|
%{_libdir}/libspice-client-g*.so.*
|
|
%{_libdir}/girepository-1.0/SpiceClientG*-1.0.typelib
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/libspice-client-g*.so
|
|
%{_includedir}/spice-client-g*
|
|
%{_libdir}/pkgconfig/spice-client-g*.pc
|
|
%{_datadir}/gir-1.0/SpiceClientG*-1.0.gir
|
|
%doc %{_datadir}/gtk-doc/html/*
|
|
|
|
%files python
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/python*/site-packages/SpiceClientGtk.so
|
|
|
|
%files tools -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/snappy
|
|
%{_bindir}/spicy
|
|
|
|
%changelog
|
|
* Mon Jan 10 2011 Dan Horák <dan[at]danny.cz> - 0.4-2
|
|
- add ExclusiveArch as only x86 is supported
|
|
|
|
* Sun Jan 09 2011 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.4-1
|
|
- Upstream release 0.4
|
|
- Initial release (#657403)
|
|
|
|
* Thu Nov 25 2010 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.1.0-1
|
|
- Initial packaging
|