Initial import (#657403)
This commit is contained in:
parent
bd97a1bf79
commit
d103227136
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/spice-gtk-0.4.tar.bz2
|
117
spice-gtk.spec
Normal file
117
spice-gtk.spec
Normal file
@ -0,0 +1,117 @@
|
||||
# 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: 1%{?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
|
||||
|
||||
%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
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user