automatic version update by autodist [release 2.0.2-1mamba;Fri May 10 2024]

This commit is contained in:
Automatic Build System 2024-05-16 15:54:01 +02:00
parent 0392e66a69
commit 9cdd417827
2 changed files with 37 additions and 91 deletions

View File

@ -1,12 +1,4 @@
# libpeas
libpeas is a gobject-based plugins engine, and is targetted at giving every application the
chance to assume its own extensibility. It also has a set of features including, but not limited to:
* multiple extension points
* on demand (lazy) programming language support for C, Python and JS
* simplicity of the API
More details can be found on the announcement blog post here:
http://log.istique.net/2010-06-03/announcing-libpeas.html
libpeas is a gobject-based plugins engine, and is targetted at giving every application the chance to assume its own extensibility.

View File

@ -1,8 +1,7 @@
%define majver %(echo %version | cut -d. -f 1-2)
%define with_vala 1
Name: libpeas
Version: 1.36.0
Release: 2mamba
Version: 2.0.2
Release: 1mamba
Summary: A gobject-based plugins engine
Group: System/Libraries
Vendor: openmamba
@ -13,44 +12,24 @@ Source: http://ftp.acc.umu.se/pub/GNOME/sources/libpeas/%{majver}/libpeas
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libgcc
BuildRequires: libgjs-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libpython310-devel
BuildRequires: liblua51-devel
BuildRequires: libmozjs115-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: intltool
BuildRequires: lua51
BuildRequires: lua51-lgi
BuildRequires: liblua51-devel
BuildRequires: libtool
BuildRequires: pygobject-devel
BuildRequires: glade-devel
BuildRequires: libpython310-devel >= 3.10.12
%if %with_vala
BuildRequires: vala >= 0.11.1
%endif
# TODO
# BuildRequires: seed
#Configuration:
# Source code location : .
# Compiler : i586-openmamba-linux-gnu-gcc
# Installation prefix : /usr
# Build libpeas-gtk : yes
# Coverage testing : no (disabled, use --enable-gcov to enable)
# Glade Catalog : no
# Seed JS support : no
# Python support : yes
# Vala support : no (disabled, use --enable-vala to enable)
BuildRequires: pygobject-py3
BuildRequires: vala
%description
libpeas is a gobject-based plugins engine, and is targetted at giving every application the
chance to assume its own extensibility. It also has a set of features including, but not limited to:
* multiple extension points
* on demand (lazy) programming language support for C, Python and JS
* simplicity of the API
More details can be found on the announcement blog post here:
http://log.istique.net/2010-06-03/announcing-libpeas.html
libpeas is a gobject-based plugins engine, and is targetted at giving every application the chance to assume its own extensibility.
%package devel
Group: Development/Libraries
@ -59,8 +38,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
libpeas is a gobject-based plugins engine.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package apidocs
Group: Documentation
@ -70,24 +48,17 @@ Requires: gtk-doc
%description apidocs
libpeas is a gobject-based plugins engine.
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%meson \
-Dgtk_doc=true
#% configure \
#%if %with_vala
# --enable-vala \
#%else
# --disable-vala \
#%endif
# --enable-python \
# --enable-gtk-doc \
-Dgtk_doc=true \
-Dvapi=true
%meson_build
@ -95,9 +66,6 @@ This package includes the %{name} API documentation.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
rm -rf %{buildroot}%{_libdir}/lib*.la
rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%find_lang %{name} --all-name
%clean
@ -108,46 +76,32 @@ rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libpeas-*.so.*
%if "%{stage1}" != "1"
%dir %{_libdir}/libpeas-1.0
%dir %{_libdir}/libpeas-1.0/loaders
#%{_libdir}/libpeas-1.0/loaders/libgjsloader.so
#%{_libdir}/libpeas-1.0/loaders/libpythonloader.so
%{_libdir}/libpeas-1.0/loaders/libpython3loader.so
%endif
%{_libdir}/girepository-*.*/Peas-*.*.typelib
%{_libdir}/girepository-*.*/PeasGtk-*.*.typelib
%{_datadir}/glade/catalogs/libpeas-gtk.xml
%{_datadir}/icons/hicolor/*x*/actions/*.png
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%{_libdir}/libpeas-2.so.*
%{_libdir}/girepository-1.0/Peas-2.typelib
%{_libdir}/libpeas-2/loaders/libgjsloader.so
%{_libdir}/libpeas-2/loaders/liblua51loader.so
%{_libdir}/libpeas-2/loaders/libpythonloader.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/peas-demo
%dir %{_libdir}/peas-demo
%{_libdir}/peas-demo/plugins
%dir %{_includedir}/libpeas-1.0
%dir %{_includedir}/libpeas-1.0/libpeas-gtk
%{_includedir}/libpeas-1.0/libpeas-gtk/*.h
%dir %{_includedir}/libpeas-1.0/libpeas
%{_includedir}/libpeas-1.0/libpeas/*.h
%{_libdir}/libpeas-1.0.so
%{_libdir}/libpeas-gtk-1.0.so
%{_libdir}/pkgconfig/libpeas-*.pc
%{_datadir}/gir-*.*/Peas-*.*.gir
%{_datadir}/gir-*.*/PeasGtk-*.*.gir
%doc README
%dir %{_includedir}/libpeas-2
%{_includedir}/libpeas-2/*.h
%{_libdir}/libpeas-2.so
%{_libdir}/pkgconfig/libpeas-2.pc
%{_datadir}/gir-1.0/Peas-2.gir
%{_datadir}/vala/vapi/libpeas-2.*
%doc README.md
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/libpeas-1.0
%{_docdir}/libpeas-1.0/*
%dir %{_docdir}/libpeas-gtk-1.0
%{_docdir}/libpeas-gtk-1.0/*
%dir %{_docdir}/libpeas-2
%{_docdir}/libpeas-2/*
%changelog
* Fri May 10 2024 Automatic Build System <autodist@openmamba.org> 2.0.2-1mamba
- automatic version update by autodist
* Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.0-2mamba
- rebuilt with python 3.10