libpeas/libpeas.spec

188 lines
5.8 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
Name: libpeas
Version: 2.0.3
Release: 1mamba
Summary: A gobject-based plugins engine
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Projects/Libpeas
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libpeas/%{majver}/libpeas-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgjs-devel
BuildRequires: libglib-devel
BuildRequires: liblua51-devel
BuildRequires: libmozjs115-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: intltool
BuildRequires: lua51
BuildRequires: lua51-lgi
BuildRequires: liblua51-devel
BuildRequires: libtool
BuildRequires: pygobject-py3
BuildRequires: vala
%description
libpeas is a gobject-based plugins engine, and is targetted at giving every application the chance to assume its own extensibility.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
libpeas is a gobject-based plugins engine.
This package contains static libraries and header files needed for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
libpeas is a gobject-based plugins engine.
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%meson \
-Dgtk_doc=true \
-Dvapi=true
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name} --all-name
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libpeas-2.so.*
%{_libdir}/girepository-1.0/Peas-2.typelib
%{_libdir}/libpeas-2/loaders/libgjsloader.so
%{_libdir}/libpeas-2/loaders/liblua51loader.so
%{_libdir}/libpeas-2/loaders/libpythonloader.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libpeas-2
%{_includedir}/libpeas-2/*.h
%{_libdir}/libpeas-2.so
%{_libdir}/pkgconfig/libpeas-2.pc
%{_datadir}/gir-1.0/Peas-2.gir
%{_datadir}/vala/vapi/libpeas-2.*
%doc README.md
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/libpeas-2
%{_docdir}/libpeas-2/*
%changelog
* Sun Jun 30 2024 Automatic Build System <autodist@openmamba.org> 2.0.3-1mamba
- automatic version update by autodist
* 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
- rebuilt with python 3.10
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 1.36.0-1mamba
- automatic version update by autodist
* Mon Sep 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.34.0-1mamba
- update to 1.34.0
* Fri Mar 25 2022 Automatic Build System <autodist@mambasoft.it> 1.32.0-1mamba
- automatic version update by autodist
* Sun Mar 21 2021 Automatic Build System <autodist@mambasoft.it> 1.30.0-1mamba
- automatic version update by autodist
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 1.28.0-1mamba
- automatic version update by autodist
* Thu Mar 12 2020 Automatic Build System <autodist@mambasoft.it> 1.26.0-1mamba
- automatic version update by autodist
* 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
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
- automatic version update by autodist
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.12.1-1mamba
- automatic version update by autodist
* Fri Aug 01 2014 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
- automatic version update by autodist
* Mon Mar 31 2014 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Mon Oct 07 2013 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist
* Tue Jun 25 2013 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Sun Jan 06 2013 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Sun Nov 25 2012 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
* Tue Jun 12 2012 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- update to 1.2.0
* Fri Apr 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Tue Mar 22 2011 gil <puntogil@libero.it> 0.7.4-1mamba
- package created by autospec