2024-01-06 05:22:04 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
|
|
%define with_vala 0
|
|
|
|
Name: libpeas
|
2024-01-06 05:22:04 +01:00
|
|
|
Version: 1.14.0
|
2024-01-06 05:22:04 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A gobject-based plugins engine
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://live.gnome.org/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: 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: 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
|
|
|
|
BuildRequires: pygobject-devel
|
|
|
|
BuildRequires: glade-devel
|
|
|
|
%if %with_vala
|
|
|
|
BuildRequires: vala >= 0.11.1
|
|
|
|
%endif
|
|
|
|
# TODO
|
|
|
|
# BuildRequires: seed
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
#Configuration:
|
|
|
|
|
|
|
|
# Source code location : .
|
|
|
|
# Compiler : i586-openmamba-linux-gnu-gcc
|
|
|
|
# Installation prefix : /usr
|
|
|
|
# Build libpeas-gtk : yes
|
|
|
|
# Coverage testing : no (disabled, use --enable-gcov to enable)
|
|
|
|
# Glade Catalog : no
|
|
|
|
# Seed JS support : no
|
|
|
|
# Python support : yes
|
|
|
|
# Vala support : no (disabled, use --enable-vala to enable)
|
|
|
|
|
|
|
|
%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 JS
|
|
|
|
* simplicity of the API
|
|
|
|
|
|
|
|
More details can be found on the announcement blog post here:
|
|
|
|
http://log.istique.net/2010-06-03/announcing-libpeas.html
|
|
|
|
|
|
|
|
%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 need 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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%if %with_vala
|
|
|
|
--enable-vala \
|
|
|
|
%else
|
|
|
|
--disable-vala \
|
|
|
|
%endif
|
|
|
|
--enable-python \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/lib*.la
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libpeas-1.0/loaders/lib*.la
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpeas-*.so.*
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
%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/libpython3loader.so
|
|
|
|
%endif
|
|
|
|
%{_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 ChangeLog README
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_datadir}/gtk-doc/html/libpeas
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:22:04 +01:00
|
|
|
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:22:04 +01:00
|
|
|
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:22:04 +01:00
|
|
|
* Fri Aug 01 2014 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:22:04 +01:00
|
|
|
* 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
|