Split out Python 2 and 3 loaders into subpackages (#1226879)
This commit is contained in:
parent
71ca11052f
commit
90e8ecdebb
44
libpeas.spec
44
libpeas.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: libpeas
|
||||
Version: 1.15.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Plug-ins implementation convenience library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -26,16 +26,33 @@ BuildRequires: pkgconfig(gladeui-2.0)
|
||||
|
||||
# For the girepository-1.0 directory
|
||||
Requires: gobject-introspection%{?_isa}
|
||||
# Required to use the Python plugin support.
|
||||
Requires: pygobject3
|
||||
%if %{use_python3}
|
||||
Requires: python3-gobject
|
||||
%endif
|
||||
|
||||
%description
|
||||
libpeas is a convenience library making adding plug-ins support
|
||||
to GTK+ and glib-based applications.
|
||||
|
||||
%package loader-python
|
||||
Summary: Python 2 loader for libpeas
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pygobject3
|
||||
|
||||
%description loader-python
|
||||
This package contains the Python 2 loader that is needed to
|
||||
run Python 2 plugins that use libpeas.
|
||||
|
||||
%if %{use_python3}
|
||||
%package loader-python3
|
||||
Summary: Python 3 loader for libpeas
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: python3-gobject
|
||||
|
||||
%description loader-python3
|
||||
This package contains the Python 3 loader that is needed to
|
||||
run Python 3 plugins that use libpeas.
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libpeas
|
||||
Group: Development/Libraries
|
||||
@ -91,13 +108,17 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
%{_libdir}/libpeas*-1.0.so.*
|
||||
%dir %{_libdir}/libpeas-1.0/
|
||||
%dir %{_libdir}/libpeas-1.0/loaders
|
||||
%{_libdir}/libpeas-1.0/loaders/libpythonloader.so
|
||||
%if %{use_python3}
|
||||
%{_libdir}/libpeas-1.0/loaders/libpython3loader.so
|
||||
%endif
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
%{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
|
||||
|
||||
%files loader-python
|
||||
%{_libdir}/libpeas-1.0/loaders/libpythonloader.so
|
||||
|
||||
%if %{use_python3}
|
||||
%files loader-python3
|
||||
%{_libdir}/libpeas-1.0/loaders/libpython3loader.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%{_bindir}/peas-demo
|
||||
%{_includedir}/libpeas-1.0/
|
||||
@ -111,6 +132,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
%{_datadir}/glade/catalogs/libpeas-gtk.xml
|
||||
|
||||
%changelog
|
||||
* Fri Jul 03 2015 David King <amigadave@amigadave.com> - 1.15.0-3
|
||||
- Split out Python 2 and 3 loaders into subpackages (#1226879)
|
||||
|
||||
* Fri Jun 26 2015 David King <amigadave@amigadave.com> - 1.15.0-2
|
||||
- Add Requires for Python plugin support (#750925)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user