libpeas1/libpeas1.spec

198 lines
6.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
%define with_vala 1
Name: libpeas1
Version: 1.36.0
Release: 3mamba
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: gobject-introspection-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: liblua51-devel
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pygobject-devel
BuildRequires: glade-devel
BuildRequires: libpython310-devel >= 3.10.12
%if %with_vala
BuildRequires: vala >= 0.11.1
%endif
%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 -n libpeas-%{version}
%build
%meson \
-Dgtk_doc=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-*.so.*
%dir %{_libdir}/libpeas-1.0
%dir %{_libdir}/libpeas-1.0/loaders
%{_libdir}/libpeas-1.0/loaders/liblua51loader.so
%{_libdir}/libpeas-1.0/loaders/libpython3loader.so
%{_libdir}/girepository-*.*/Peas-*.*.typelib
%{_libdir}/girepository-*.*/PeasGtk-*.*.typelib
%{_datadir}/glade/catalogs/libpeas-gtk.xml
%{_datadir}/icons/hicolor/*x*/actions/*.png
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/peas-demo
%dir %{_libdir}/peas-demo
%{_libdir}/peas-demo/plugins
%dir %{_includedir}/libpeas-1.0
%dir %{_includedir}/libpeas-1.0/libpeas-gtk
%{_includedir}/libpeas-1.0/libpeas-gtk/*.h
%dir %{_includedir}/libpeas-1.0/libpeas
%{_includedir}/libpeas-1.0/libpeas/*.h
%{_libdir}/libpeas-1.0.so
%{_libdir}/libpeas-gtk-1.0.so
%{_libdir}/pkgconfig/libpeas-*.pc
%{_datadir}/gir-*.*/Peas-*.*.gir
%{_datadir}/gir-*.*/PeasGtk-*.*.gir
%doc README
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/libpeas-1.0
%{_docdir}/libpeas-1.0/*
%dir %{_docdir}/libpeas-gtk-1.0
%{_docdir}/libpeas-gtk-1.0/*
%changelog
* Wed May 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.0-3mamba
- legacy package
* 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