Search
SailfishOS Open Build Service
>
Projects
>
home:MartinK
:
nemo
>
gobject-introspection
> gobject-introspection.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gobject-introspection.spec of Package gobject-introspection
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.23 # # >> macros # << macros Name: gobject-introspection Summary: Introspection system for GObject-based libraries Version: 1.31.10 Release: 1 Group: Development/Libraries License: GPLv2+, LGPLv2+, MIT URL: http://live.gnome.org/GObjectIntrospection Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/1.31/%{name}-%{version}.tar.xz Source1: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/1.31/%{name}-%{version}.sha256sum Source100: gobject-introspection.yaml Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(x11) BuildRequires: python-devel >= 2.5 BuildRequires: gettext BuildRequires: intltool BuildRequires: flex BuildRequires: bison BuildRequires: chrpath %description GObject Introspection can scan C header and source files in order to generate introspection "typelib" files. It also provides an API to examine typelib files, useful for creating language bindings among other things. %package -n python-giscanner Summary: Python package for handling GObject introspection data Group: Development/Languages Requires: %{name} = %{version}-%{release} %description -n python-giscanner This package contains a Python package for handling the introspection data from Python. %package devel Summary: Libraries and headers for gobject-introspection Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: python-giscanner %description devel Libraries and headers for gobject-introspection. %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre # << build pre %configure --disable-static make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post # Die libtool, die. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-{compiler,generate} # Mistake in upstream automake rm -f $RPM_BUILD_ROOT/%{_bindir}/barapp # Move the python modules to the correct location mkdir -p $RPM_BUILD_ROOT/%{python_sitearch} mv $RPM_BUILD_ROOT/%{_libdir}/gobject-introspection/giscanner $RPM_BUILD_ROOT/%{python_sitearch}/ # Trash html documentation rm -rf $RPM_BUILD_ROOT/%{_datarootdir}/gtk-doc/html # << install post %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %doc COPYING %{_libdir}/lib*.so.* %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/*.typelib # << files %files -n python-giscanner %defattr(-,root,root,-) # >> files python-giscanner %{python_sitearch}/giscanner # << files python-giscanner %files devel %defattr(-,root,root,-) # >> files devel %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %{_includedir}/* %{_bindir}/g-ir-* %{_datadir}/gir-1.0 %{_datadir}/aclocal/introspection.m4 %{_datadir}/gobject-introspection-1.0 %doc %{_mandir}/man1/*.gz # << files devel