diff --git a/libpeas.spec b/libpeas.spec index 81bb8e9..0294cc6 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f 1-2) %define with_vala 0 Name: libpeas -Version: 1.22.0 +Version: 1.24.1 Release: 1mamba Summary: A gobject-based plugins engine Group: System/Libraries @@ -14,36 +14,10 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: gobject-introspection-devel -BuildRequires: libatk-devel -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: ldconfig BuildRequires: libglib-devel -BuildRequires: libgraphite2-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 -%endif -BuildRequires: libreadline-devel -BuildRequires: libselinux-devel -BuildRequires: libstdc++6-devel -BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: intltool BuildRequires: libtool @@ -104,25 +78,28 @@ This package includes the %{name} API documentation. %setup -q %build -%configure \ -%if %with_vala - --enable-vala \ -%else - --disable-vala \ -%endif - --enable-python \ - --enable-gtk-doc \ +%meson \ + -Dgtk_doc=true -%make +#% configure \ +#%if %with_vala +# --enable-vala \ +#%else +# --disable-vala \ +#%endif +# --enable-python \ +# --enable-gtk-doc \ + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install rm -rf %{buildroot}%{_libdir}/lib*.la rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la -%find_lang %{name} +%find_lang %{name} --all-name %clean [ "%{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/loaders #%{_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 %endif %{_libdir}/girepository-*.*/Peas-*.*.typelib @@ -162,13 +139,16 @@ rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la %{_libdir}/pkgconfig/libpeas-*.pc %{_datadir}/gir-*.*/Peas-*.*.gir %{_datadir}/gir-*.*/PeasGtk-*.*.gir -%doc ChangeLog README +%doc README %files apidocs %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/libpeas %changelog +* Sat Feb 22 2020 Silvan Calarco 1.24.1-1mamba +- update to 1.24.1 + * Fri Oct 06 2017 Automatic Build System 1.22.0-1mamba - automatic version update by autodist