|
|
@ -1,18 +1,24 @@
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
|
|
|
%global use_python3 1
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global use_python3 0
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global apiver 1.0
|
|
|
|
%global apiver 1.0
|
|
|
|
|
|
|
|
|
|
|
|
Name: libpeas
|
|
|
|
Name: libpeas
|
|
|
|
Version: 1.30.0
|
|
|
|
Version: 1.22.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Plug-ins implementation convenience library
|
|
|
|
Summary: Plug-ins implementation convenience library
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://wiki.gnome.org/Projects/Libpeas
|
|
|
|
URL: https://wiki.gnome.org/Projects/Libpeas
|
|
|
|
Source0: https://download.gnome.org/sources/%{name}/1.30/%{name}-%{version}.tar.xz
|
|
|
|
Source0: https://download.gnome.org/sources/%{name}/1.22/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: meson
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gladeui-2.0)
|
|
|
|
BuildRequires: pkgconfig(gladeui-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
@ -21,12 +27,9 @@ BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(pygobject-3.0)
|
|
|
|
BuildRequires: pkgconfig(pygobject-3.0)
|
|
|
|
|
|
|
|
%if %{use_python3}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
# https://gitlab.gnome.org/GNOME/libpeas/-/merge_requests/31
|
|
|
|
|
|
|
|
Patch0: 0001-icons-Update-icon-licenses.patch
|
|
|
|
|
|
|
|
# https://gitlab.gnome.org/GNOME/libpeas/-/merge_requests/32
|
|
|
|
|
|
|
|
Patch1: 0001-icons-Correct-icon-licenses-again.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
libpeas is a convenience library making adding plug-ins support
|
|
|
|
libpeas is a convenience library making adding plug-ins support
|
|
|
@ -40,6 +43,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
libpeas-gtk is a convenience library making adding plug-ins support
|
|
|
|
libpeas-gtk is a convenience library making adding plug-ins support
|
|
|
|
to GTK+-based applications.
|
|
|
|
to GTK+-based applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{use_python3}
|
|
|
|
%package loader-python3
|
|
|
|
%package loader-python3
|
|
|
|
Summary: Python 3 loader for libpeas
|
|
|
|
Summary: Python 3 loader for libpeas
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
@ -51,6 +55,7 @@ Provides: libpeas-loader-python = %{version}-%{release}
|
|
|
|
%description loader-python3
|
|
|
|
%description loader-python3
|
|
|
|
This package contains the Python 3 loader that is needed to
|
|
|
|
This package contains the Python 3 loader that is needed to
|
|
|
|
run Python 3 plugins that use libpeas.
|
|
|
|
run Python 3 plugins that use libpeas.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libpeas
|
|
|
|
Summary: Development files for libpeas
|
|
|
@ -62,25 +67,34 @@ This package contains development libraries and header files
|
|
|
|
that are needed to write applications that use libpeas.
|
|
|
|
that are needed to write applications that use libpeas.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%meson \
|
|
|
|
%configure --disable-silent-rules
|
|
|
|
-Ddemos=false \
|
|
|
|
%make_build
|
|
|
|
-Dvapi=true \
|
|
|
|
|
|
|
|
-Dgtk_doc=true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT%{_libdir} -type f -name '*.la' -print -delete
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang libpeas-1.0
|
|
|
|
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
|
|
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/peas-demo
|
|
|
|
|
|
|
|
%if %{use_python3}
|
|
|
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-1.0/loaders/libpython3loader.so
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libpeas-gtk-1.0.so
|
|
|
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/helloworld/libhelloworld.so
|
|
|
|
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/peas-demo/plugins/secondtime/libsecondtime.so
|
|
|
|
|
|
|
|
|
|
|
|
%files -f libpeas-1.0.lang
|
|
|
|
%find_lang libpeas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f libpeas.lang
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libpeas-%{apiver}.so.0*
|
|
|
|
%{_libdir}/libpeas-%{apiver}.so.*
|
|
|
|
%dir %{_libdir}/libpeas-%{apiver}/
|
|
|
|
%dir %{_libdir}/libpeas-%{apiver}/
|
|
|
|
%dir %{_libdir}/libpeas-%{apiver}/loaders
|
|
|
|
%dir %{_libdir}/libpeas-%{apiver}/loaders
|
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
@ -88,14 +102,18 @@ that are needed to write applications that use libpeas.
|
|
|
|
%{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
|
|
|
|
%{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
|
|
|
|
|
|
|
|
|
|
|
|
%files gtk
|
|
|
|
%files gtk
|
|
|
|
%{_libdir}/libpeas-gtk-%{apiver}.so.0*
|
|
|
|
%{_libdir}/libpeas-gtk-%{apiver}.so.*
|
|
|
|
%{_libdir}/girepository-1.0/PeasGtk-%{apiver}.typelib
|
|
|
|
%{_libdir}/girepository-1.0/PeasGtk-%{apiver}.typelib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{use_python3}
|
|
|
|
%files loader-python3
|
|
|
|
%files loader-python3
|
|
|
|
%{_libdir}/libpeas-%{apiver}/loaders/libpython3loader.so
|
|
|
|
%{_libdir}/libpeas-%{apiver}/loaders/libpython3loader.so
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%{_bindir}/peas-demo
|
|
|
|
%{_includedir}/libpeas-%{apiver}/
|
|
|
|
%{_includedir}/libpeas-%{apiver}/
|
|
|
|
|
|
|
|
%{_libdir}/peas-demo/
|
|
|
|
%dir %{_datadir}/gtk-doc/
|
|
|
|
%dir %{_datadir}/gtk-doc/
|
|
|
|
%dir %{_datadir}/gtk-doc/html/
|
|
|
|
%dir %{_datadir}/gtk-doc/html/
|
|
|
|
%{_datadir}/gtk-doc/html/libpeas/
|
|
|
|
%{_datadir}/gtk-doc/html/libpeas/
|
|
|
@ -109,97 +127,14 @@ that are needed to write applications that use libpeas.
|
|
|
|
%{_datadir}/glade/catalogs/libpeas-gtk.xml
|
|
|
|
%{_datadir}/glade/catalogs/libpeas-gtk.xml
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.30.0-4
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.22.0-6
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 11 2021 Bastien Nocera <bnocera@redhat.com> - 1.30.0-3
|
|
|
|
|
|
|
|
+ libpeas-1.30.0-3
|
|
|
|
|
|
|
|
- Correct license for some of the icons
|
|
|
|
|
|
|
|
- Resolves: rhbz#1971434
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.30.0-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 1.30.0-1
|
|
|
|
|
|
|
|
- Update to 1.30.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.28.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 1.28.0-1
|
|
|
|
|
|
|
|
- Update to 1.28.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 04 2020 Bastien Nocera <bnocera@redhat.com> - 1.26.0-5
|
|
|
|
|
|
|
|
+ libpeas-1.26.0-5
|
|
|
|
|
|
|
|
- Remove unused Python macro that caused errors on install (#1863667)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.26.0-4
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.26.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.26.0-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 06 2020 Kalev Lember <klember@redhat.com> - 1.26.0-1
|
|
|
|
|
|
|
|
- Update to 1.26.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.25.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 1.25.3-1
|
|
|
|
|
|
|
|
- Update to 1.25.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 31 2019 Kalev Lember <klember@redhat.com> - 1.24.1-1
|
|
|
|
|
|
|
|
- Update to 1.24.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 10 2019 Kalev Lember <klember@redhat.com> - 1.24.0-1
|
|
|
|
|
|
|
|
- Update to 1.24.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 05 2019 Kalev Lember <klember@redhat.com> - 1.23.92-1
|
|
|
|
|
|
|
|
- Update to 1.23.92
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Kalev Lember <klember@redhat.com> - 1.23.90.1-2
|
|
|
|
|
|
|
|
- Revert inadvertent soname bump
|
|
|
|
|
|
|
|
- Tighten spec file globs to avoid accidental soname bumps in the future
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Kalev Lember <klember@redhat.com> - 1.23.90.1-1
|
|
|
|
|
|
|
|
- Update to 1.23.90.1
|
|
|
|
|
|
|
|
- Switch to the meson build system
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.22.0-14
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 01 2019 Bastien Nocera <bnocera@redhat.com> - 1.22.0-13
|
|
|
|
|
|
|
|
+ libpeas-1.22.0-13
|
|
|
|
|
|
|
|
- Force disable the Python2 loader, which could still be built by accident (#1736043)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-12
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Charalampos Stratakis <cstratak@redhat.com> - 1.22.0-11
|
|
|
|
|
|
|
|
- Fix FTBFS with Python 3.8 (#1715665)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.22.0-8
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 06 2018 Bastien Nocera <bnocera@redhat.com> - 1.22.0-7
|
|
|
|
|
|
|
|
+ libpeas-1.22.0-7
|
|
|
|
|
|
|
|
- Obsolete libpeas-loader-python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 22 2018 Bastien Nocera <bnocera@redhat.com> - 1.22.0-6
|
|
|
|
* Wed Jun 06 2018 Bastien Nocera <bnocera@redhat.com> - 1.22.0-6
|
|
|
|
+ libpeas-1.22.0-6
|
|
|
|
+ libpeas-1.22.0-6
|
|
|
|
- Remove python2 loader, all GNOME apps using libpeas were ported to Python3
|
|
|
|
- Remove python2 loader, all GNOME apps using libpeas were ported to Python3
|
|
|
|
when ported to GTK+ 3.x
|
|
|
|
when ported to GTK+ 3.x, and obsolete libpeas-loader-python
|
|
|
|
|
|
|
|
- Resolves: #1559090
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-5
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|