libpeas/libpeas.spec

106 lines
3.1 KiB
RPMSpec
Raw Normal View History

2022-04-21 13:33:29 +08:00
%global apiver 1.0
2019-12-14 18:56:54 +08:00
Name: libpeas
2023-11-17 14:17:09 +08:00
Version: 1.36.0
Release: 1
2019-12-14 18:56:54 +08:00
Summary: Gobject-based plugins engine
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Libpeas
2023-11-17 14:17:09 +08:00
Source0: https://download.gnome.org/sources/%{name}/1.36/%{name}-%{version}.tar.xz
2022-04-21 13:33:29 +08:00
2023-02-01 17:30:59 +08:00
BuildRequires: chrpath gcc gettext gi-docgen meson
2022-04-21 13:33:29 +08:00
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gladeui-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: python3-devel
2019-12-14 18:56:54 +08:00
Requires: python3-gobject
2023-11-17 14:17:09 +08:00
Provides: %{name}-gtk%{?_isa}
2019-12-14 18:56:54 +08:00
Obsoletes: %{name}-gtk
2022-04-21 13:33:29 +08:00
provides: %{name}-loader-python3%{?_isa}
2019-12-14 18:56:54 +08:00
Obsoletes: %{name}-loader-python3
Provides: %{name}-loader-python = %{version}-%{release}
Obsoletes: %{name}-loader-python < %{version}-%{release}
%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 Lua; simplicity of the API
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package includes libraries and header files for developing
applications that use libpeas.
%prep
2020-06-22 18:19:03 +08:00
%autosetup -n %{name}-%{version} -p1
2019-12-14 18:56:54 +08:00
%build
%meson \
-Ddemos=false \
-Dvapi=true \
-Dgtk_doc=true
%meson_build
2019-12-14 18:56:54 +08:00
%install
%meson_install
2022-04-21 13:33:29 +08:00
%delete_la_and_a
chrpath -d $RPM_BUILD_ROOT%{_libdir}/libpeas-%{apiver}/loaders/libpython3loader.so
chrpath -d $RPM_BUILD_ROOT%{_libdir}/libpeas-gtk-%{apiver}.so
2019-12-14 18:56:54 +08:00
%find_lang libpeas-1.0
2019-12-14 18:56:54 +08:00
%ldconfig_scriptlets
%files -f libpeas-1.0.lang
2019-12-14 18:56:54 +08:00
%doc AUTHORS NEWS README
%license COPYING
2022-04-21 13:33:29 +08:00
%{_libdir}/libpeas-*.so.0*
%dir %{_libdir}/libpeas-%{apiver}/loaders
2019-12-14 18:56:54 +08:00
%{_libdir}/girepository-1.0/*.typelib
%{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
2022-04-21 13:33:29 +08:00
2019-12-14 18:56:54 +08:00
%files devel
2022-04-21 13:33:29 +08:00
%{_includedir}/libpeas-%{apiver}/
2019-12-14 18:56:54 +08:00
%{_libdir}/pkgconfig/*.pc
%{_datadir}/glade/catalogs/libpeas-gtk.xml
%{_datadir}/gir-1.0/*.gir
2022-04-21 13:33:29 +08:00
%{_libdir}/libpeas-%{apiver}.so
%{_libdir}/libpeas-gtk-%{apiver}.so
%{_libdir}/libpeas-%{apiver}/loaders/libpython3loader.so
%{_docdir}/libpeas-1.0
%{_docdir}/libpeas-gtk-1.0
2019-12-14 18:56:54 +08:00
%changelog
2023-11-17 14:17:09 +08:00
* Fri Nov 17 2023 lwg <liweiganga@uniontech.com> - 1.36.0-1
- update to version 1.36.0
2023-02-01 17:30:59 +08:00
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.34.0-1
- Update to 1.34.0
2022-04-21 13:33:29 +08:00
* Thu Apr 21 2022 dillon chen <dillon.chen@gmail.com> - 1.32.0-1
- Update to 1.32.0
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.28.0-1
- Upgrade to 1.28.0
- Update Version, Release, Source0, BuildRequires
2023-02-01 17:30:59 +08:00
- Use meson rebuild, delete python3.8-fix.patch that for autoreconf
2023-02-01 17:30:59 +08:00
* Mon Jun 22 2020 Zhanghua <zhanghua40@huawei.com> - 1.22.0-11
2020-06-22 18:19:03 +08:00
- Fix python3.8 complied error
2019-12-14 18:56:54 +08:00
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22.0-10
- Package init