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
libpeas is a gobject-based plugins engine, and is targetted at giving every application the libpeas is a gobject-based plugins engine, and is targetted at giving every application the chance to assume its own extensibility.
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

View File

@ -1,8 +1,7 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
%define with_vala 1
Name: libpeas Name: libpeas
Version: 1.36.0 Version: 2.0.2
Release: 2mamba Release: 1mamba
Summary: A gobject-based plugins engine Summary: A gobject-based plugins engine
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -13,44 +12,24 @@ Source: http://ftp.acc.umu.se/pub/GNOME/sources/libpeas/%{majver}/libpeas
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel BuildRequires: libgcc
BuildRequires: libgjs-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk3-devel BuildRequires: liblua51-devel
BuildRequires: libpython310-devel BuildRequires: libmozjs115-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: intltool BuildRequires: intltool
BuildRequires: lua51
BuildRequires: lua51-lgi
BuildRequires: liblua51-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pygobject-devel BuildRequires: pygobject-py3
BuildRequires: glade-devel BuildRequires: vala
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)
%description %description
libpeas is a gobject-based plugins engine, and is targetted at giving every application the libpeas is a gobject-based plugins engine, and is targetted at giving every application the chance to assume its own extensibility.
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
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
@ -59,8 +38,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
libpeas is a gobject-based plugins engine. libpeas is a gobject-based plugins engine.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%package apidocs %package apidocs
Group: Documentation Group: Documentation
@ -70,24 +48,17 @@ Requires: gtk-doc
%description apidocs %description apidocs
libpeas is a gobject-based plugins engine. libpeas is a gobject-based plugins engine.
This package includes the %{name} API documentation. This package includes the %{name} API documentation.
%debug_package
%prep %prep
%setup -q %setup -q
%build %build
%meson \ %meson \
-Dgtk_doc=true -Dgtk_doc=true \
-Dvapi=true
#% configure \
#%if %with_vala
# --enable-vala \
#%else
# --disable-vala \
#%endif
# --enable-python \
# --enable-gtk-doc \
%meson_build %meson_build
@ -95,9 +66,6 @@ This package includes the %{name} API documentation.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install %meson_install
rm -rf %{buildroot}%{_libdir}/lib*.la
rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%find_lang %{name} --all-name %find_lang %{name} --all-name
%clean %clean
@ -108,46 +76,32 @@ rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpeas-*.so.* %{_libdir}/libpeas-2.so.*
%if "%{stage1}" != "1" %{_libdir}/girepository-1.0/Peas-2.typelib
%dir %{_libdir}/libpeas-1.0 %{_libdir}/libpeas-2/loaders/libgjsloader.so
%dir %{_libdir}/libpeas-1.0/loaders %{_libdir}/libpeas-2/loaders/liblua51loader.so
#%{_libdir}/libpeas-1.0/loaders/libgjsloader.so %{_libdir}/libpeas-2/loaders/libpythonloader.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
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/peas-demo %dir %{_includedir}/libpeas-2
%dir %{_libdir}/peas-demo %{_includedir}/libpeas-2/*.h
%{_libdir}/peas-demo/plugins %{_libdir}/libpeas-2.so
%dir %{_includedir}/libpeas-1.0 %{_libdir}/pkgconfig/libpeas-2.pc
%dir %{_includedir}/libpeas-1.0/libpeas-gtk %{_datadir}/gir-1.0/Peas-2.gir
%{_includedir}/libpeas-1.0/libpeas-gtk/*.h %{_datadir}/vala/vapi/libpeas-2.*
%dir %{_includedir}/libpeas-1.0/libpeas %doc README.md
%{_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
%files apidocs %files apidocs
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_docdir}/libpeas-1.0 %dir %{_docdir}/libpeas-2
%{_docdir}/libpeas-1.0/* %{_docdir}/libpeas-2/*
%dir %{_docdir}/libpeas-gtk-1.0
%{_docdir}/libpeas-gtk-1.0/*
%changelog %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 * Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.0-2mamba
- rebuilt with python 3.10 - rebuilt with python 3.10