gplugin/gplugin

Merge develop into default for the release
v0.29.0
2019-11-07, Gary Kramlich
fc9c95c883ae
Merge develop into default for the release
Name: gplugin
Version: @GPLUGIN_MAJOR_VERSION@.@GPLUGIN_MINOR_VERSION@.@GPLUGIN_MICRO_VERSION@
%if "@GPLUGIN_EXTRA_VERSION@" == ""
Release: 1.%{?build_number}%{?!build_number:1}%{?dist}
%else
Release: 0.%{?build_number}%{?!build_number:1}%{?dist}
%endif
License: LGPL-2.0+
Summary: A GObject based library that implements a reusable plugin system
Url: https://bitbucket.org/rw_grim/gplugin/overview
Group: Development/Libraries
BuildRequires: meson >= 0.37.0
BuildRequires: glib2-devel >= 2.40.0
BuildRequires: gobject-introspection-devel
BuildRequires: gettext
BuildRequires: gtk3-devel
BuildRequires: gtk-doc
BuildRequires: help2man
BuildRequires: libxslt
BuildRequires: lua-devel
BuildRequires: lua-lgi
BuildRequires: python3-devel
BuildRequires: python3-gobject
BuildRequires: vala
BuildRequires: /usr/lib64/pkgconfig/pygobject-3.0.pc
%package -n libgplugin0
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
%package devel
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%package gtk3
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
%package gtk3-devel
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%package gtk3-vala
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%package lua
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
%package python3
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
%package vala
Summary: A GObject based library that implements a reusable plugin system
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
%description -n libgplugin0
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
%description devel
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains all necessary include files and libraries needed
to develop applications that require these.
%description gtk3
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains additional GTK3 dependencies for %{name} library.
%description gtk3-devel
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains all necessary include files and libraries needed
to develop GTK3 applications that require these.
%description gtk3-vala
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains the vapi bindings allowing GPluginGtk to be used from
vala.
%description lua
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains the Lua Loader for %{name} library.
%description python3
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains Python 3 loader for %{name} library.
%description vala
GPlugin is a GObject based library that implements a reusable plugin system
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
It was started due to the infamous "Plugin Problem" for Guifications 3, which
was that I needed plugins that could depend on each other, be able to be
written in other languages, have plugins that are loaded before the main load
phase, and allow plugins to register types into the GObject type system.
This package contains the vapi bindings allowing GPlugin to be used from vala.
%build
CFLAGS="%{optflags}" meson \
--prefix=%{_prefix} \
-Dlua=true \
-Dpython=true \
build
ninja -C build %{?_smp_mflags}
%install
DESTDIR=%{buildroot} ninja -C build install
# Unneeded files
rm -rf %{buildroot}%{_datadir}/doc/gplugin/
%post -n libgplugin0 -p /sbin/ldconfig
%postun -n libgplugin0 -p /sbin/ldconfig
%post -n gplugin-gtk3 -p /sbin/ldconfig
%postun -n gplugin-gtk3 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README.md ChangeLog
%{_bindir}/gplugin-query
%{_libdir}/gplugin/
%{_mandir}/man1/gplugin-query.1*
%files -n libgplugin0
%defattr(-,root,root)
%{_libdir}/libgplugin.so.0.1.0
%files devel
%defattr(-,root,root)
%doc HACKING README.md
%{_datadir}/gir-1.0/GPlugin-0.0.gir
%{_datadir}/gtk-doc/html/gplugin/
%{_includedir}/gplugin-1.0/
%{_libdir}/girepository-1.0/GPlugin-0.0.typelib
%{_libdir}/libgplugin.so
%{_libdir}/libgplugin.so.0
%{_libdir}/pkgconfig/gplugin-gtk.pc
%{_libdir}/pkgconfig/gplugin.pc
%files gtk3
%defattr(-,root,root)
%doc README.md
%{_bindir}/gplugin-gtk-viewer
%{_libdir}/libgplugin-gtk.so.0.1.0
%{_mandir}/man1/gplugin-gtk-viewer.1*
%files gtk3-devel
%defattr(-,root,root)
%dir %{_datadir}/glade/catalogs/
%doc README.md
%{_datadir}/gir-1.0/GPluginGtk-0.0.gir
%{_datadir}/glade/catalogs/gplugin-gtk.xml
%{_datadir}/gtk-doc/html/gplugin-gtk/
%{_libdir}/girepository-1.0/GPluginGtk-0.0.typelib
%{_libdir}/libgplugin-gtk.so
%{_libdir}/libgplugin-gtk.so.0
%files lua
%defattr(-,root,root)
%doc README.md
%license COPYING
%{_libdir}/gplugin/gplugin-lua.so
%files python3
%defattr(-,root,root)
%doc README.md
%{_libdir}/gplugin/gplugin-python.so
%files vala
%defattr(-,root,root)
%doc README.md
%license COPYING
%{_datadir}/vala/vapi/gplugin.vapi
%{_datadir}/vala/vapi/gplugin.deps
%files gtk3-vala
%defattr(-,root,root)
%doc README.md
%license COPYING
%{_datadir}/vala/vapi/gplugin-gtk.vapi
%{_datadir}/vala/vapi/gplugin-gtk.deps
%changelog
* Thu Oct 31 2019 Gary Kramlich <grim@reaperworld.com>
- Fixed an include bug in gplugin-gtk
- Fixed building again python3.8
* Mon Aug 12 2019 Gary Kramlich <grim@reaperworld.com>
- Added vala
* Sun May 15 2016 Gary Kramlich <grim@reaperworld.com>
- Updates and pulled upstream
* Mon May 4 2015 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.0.18-1
- Initial package release