update to 1.24.1 [release 1.24.1-1mamba;Sat Feb 22 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:22:04 +01:00
parent 094fca59c3
commit 1bbcd05150

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
%define with_vala 0 %define with_vala 0
Name: libpeas Name: libpeas
Version: 1.22.0 Version: 1.24.1
Release: 1mamba Release: 1mamba
Summary: A gobject-based plugins engine Summary: A gobject-based plugins engine
Group: System/Libraries Group: System/Libraries
@ -14,36 +14,10 @@ License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: libatk-devel BuildRequires: ldconfig
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
%if "%{stage1}" != "1"
BuildRequires: libgjs-devel
%endif
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
%if "%{stage1}" != "1"
BuildRequires: libmozjs185-devel
BuildRequires: libnspr-devel
%endif
BuildRequires: libpango-devel
BuildRequires: libpng-devel
%if "%{stage1}" != "1"
BuildRequires: libpython27-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
%endif
BuildRequires: libreadline-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libtool BuildRequires: libtool
@ -104,25 +78,28 @@ This package includes the %{name} API documentation.
%setup -q %setup -q
%build %build
%configure \ %meson \
%if %with_vala -Dgtk_doc=true
--enable-vala \
%else
--disable-vala \
%endif
--enable-python \
--enable-gtk-doc \
%make #% configure \
#%if %with_vala
# --enable-vala \
#%else
# --disable-vala \
#%endif
# --enable-python \
# --enable-gtk-doc \
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %meson_install
rm -rf %{buildroot}%{_libdir}/lib*.la rm -rf %{buildroot}%{_libdir}/lib*.la
rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%find_lang %{name} %find_lang %{name} --all-name
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -137,7 +114,7 @@ rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%dir %{_libdir}/libpeas-1.0 %dir %{_libdir}/libpeas-1.0
%dir %{_libdir}/libpeas-1.0/loaders %dir %{_libdir}/libpeas-1.0/loaders
#%{_libdir}/libpeas-1.0/loaders/libgjsloader.so #%{_libdir}/libpeas-1.0/loaders/libgjsloader.so
%{_libdir}/libpeas-1.0/loaders/libpythonloader.so #%{_libdir}/libpeas-1.0/loaders/libpythonloader.so
%{_libdir}/libpeas-1.0/loaders/libpython3loader.so %{_libdir}/libpeas-1.0/loaders/libpython3loader.so
%endif %endif
%{_libdir}/girepository-*.*/Peas-*.*.typelib %{_libdir}/girepository-*.*/Peas-*.*.typelib
@ -162,13 +139,16 @@ rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
%{_libdir}/pkgconfig/libpeas-*.pc %{_libdir}/pkgconfig/libpeas-*.pc
%{_datadir}/gir-*.*/Peas-*.*.gir %{_datadir}/gir-*.*/Peas-*.*.gir
%{_datadir}/gir-*.*/PeasGtk-*.*.gir %{_datadir}/gir-*.*/PeasGtk-*.*.gir
%doc ChangeLog README %doc README
%files apidocs %files apidocs
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/libpeas %doc %{_datadir}/gtk-doc/html/libpeas
%changelog %changelog
* Sat Feb 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24.1-1mamba
- update to 1.24.1
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba * Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
- automatic version update by autodist - automatic version update by autodist