gobject-introspection/gobject-introspection.spec

214 lines
8.6 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: gobject-introspection
Version: 1.44.0
Release: 1mamba
Summary: A convenient bridge between C and a runtime language and more
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://live.gnome.org/GObjectIntrospection
Source: http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/%{majver}/gobject-introspection-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: libselinux-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: python-mako
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
It makes sense to build many kinds of applications using (at least) two different levels and languages. Those being C+GObject, and a managed (GC'd) runtime. C is good for graphics, multimedia, and lower level systems work. However, writing complex software is difficult and error-prone without garbage collection. A managed runtime such as JavaScript, Python, Java, Lua, .NET, Scheme etc. makes a lot of sense for non-fast-path application logic such as configuration, layout, dialogs, etc.
Thus, one of the major goals of the GObject introspection project is to be a convenient bridge between these two worlds, and allow you to choose the right tool for the job, rather than being limited inside one or the other. With the introspection project, you can write for example a ClutterActor or GtkWidget subclass in C, and then without any additional work use that class inside JavaScript.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
It makes sense to build many kinds of applications using (at least) two different levels and languages. Those being C+GObject, and a managed (GC'd) runtime. C is good for graphics, multimedia, and lower level systems work. However, writing complex software is difficult and error-prone without garbage collection. A managed runtime such as JavaScript, Python, Java, Lua, .NET, Scheme etc. makes a lot of sense for non-fast-path application logic such as configuration, layout, dialogs, etc.
Thus, one of the major goals of the GObject introspection project is to be a convenient bridge between these two worlds, and allow you to choose the right tool for the job, rather than being limited inside one or the other. With the introspection project, you can write for example a ClutterActor or GtkWidget subclass in C, and then without any additional work use that class inside JavaScript.
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
This package includes the %{name} API documentation.
%prep
%setup -q
%build
%configure \
--enable-gtk-doc \
--enable-doctool
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/g-ir-annotation-tool
%{_bindir}/g-ir-compiler
%{_bindir}/g-ir-doc-tool
%{_bindir}/g-ir-generate
%{_bindir}/g-ir-scanner
%{_datadir}/gir-1.0/*.gir
%{_libdir}/girepository-1.0/*.typelib
%{_libdir}/libgirepository-1.0.so.*
%dir %{_libdir}/gobject-introspection
%dir %{_libdir}/gobject-introspection/giscanner
%{_libdir}/gobject-introspection/giscanner/*.py*
%{_libdir}/gobject-introspection/giscanner/_giscanner.a
%{_libdir}/gobject-introspection/giscanner/_giscanner.la
%{_libdir}/gobject-introspection/giscanner/_giscanner.so
%dir %{_libdir}/gobject-introspection/giscanner/doctemplates
%{_libdir}/gobject-introspection/giscanner/doctemplates/*
%dir %{_libdir}/gobject-introspection/giscanner/collections
%{_libdir}/gobject-introspection/giscanner/collections/*
%{_mandir}/man1/g-ir-compiler.1.gz
%{_mandir}/man1/g-ir-generate.1.gz
%{_mandir}/man1/g-ir-scanner.1.gz
#%{_datadir}/gtk-doc/html/gi/*.html
#%{_datadir}/gtk-doc/html/gi/*.devhelp2
#%{_datadir}/gtk-doc/html/gi/*.png
#%{_datadir}/gtk-doc/html/gi/*.css
#%{_datadir}/gtk-doc/html/gi/*.sgml
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/libgirepository-1.0.a
%{_libdir}/libgirepository-1.0.la
%{_libdir}/libgirepository-1.0.so
%dir %{_includedir}/gobject-introspection-1.0
%{_includedir}/gobject-introspection-1.0/*.h
%{_datadir}/gobject-introspection-1.0/Makefile.introspection
%{_datadir}/gobject-introspection-1.0/gdump.c
%{_datadir}/gobject-introspection-1.0/tests/
%{_datadir}/aclocal/introspection.m4
%{_libdir}/pkgconfig/*.pc
%doc NEWS README TODO
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/gi
%{_datadir}/gtk-doc/html/gi/*
%changelog
* Tue Apr 21 2015 Automatic Build System <autodist@mambasoft.it> 1.44.0-1mamba
- automatic version update by autodist
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 1.42.0-1mamba
- automatic version update by autodist
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 1.41.91-1mamba
- automatic update by autodist
* Tue Jul 22 2014 Automatic Build System <autodist@mambasoft.it> 1.41.4-1mamba
- automatic version update by autodist
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 1.41.3-1mamba
- automatic version update by autodist
* Fri May 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.40.0-2mamba
- x86_64: add python-mako build requirement to build g-ir-doc-tool
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 1.40.0-1mamba
- automatic version update by autodist
* Mon Oct 07 2013 Automatic Build System <autodist@mambasoft.it> 1.38.0-1mamba
- automatic version update by autodist
* Sun May 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.0-2mamba
- rebuilt with python 2.7
* Fri Mar 29 2013 Automatic Build System <autodist@mambasoft.it> 1.36.0-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Automatic Build System <autodist@mambasoft.it> 1.34.2-1mamba
- automatic version update by autodist
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 1.34.1.1-1mamba
- automatic version update by autodist
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 1.34.0-1mamba
- automatic version update by autodist
* Tue Apr 17 2012 Automatic Build System <autodist@mambasoft.it> 1.32.1-1mamba
- automatic version update by autodist
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 1.32.0-1mamba
- update to 1.32.0
* Wed Oct 26 2011 Automatic Build System <autodist@mambasoft.it> 1.31.0-1mamba
- automatic version update by autodist
* Mon Oct 03 2011 Automatic Build System <autodist@mambasoft.it> 1.30.0-1mamba
- automatic version update by autodist
* Tue May 03 2011 Automatic Build System <autodist@mambasoft.it> 0.10.8-1mamba
- automatic update by autodist
* Mon Apr 04 2011 Automatic Build System <autodist@mambasoft.it> 0.10.7-1mamba
- automatic update by autodist
* Sat Mar 26 2011 Automatic Build System <autodist@mambasoft.it> 0.10.6-1mamba
- automatic update by autodist
* Sat Mar 26 2011 Automatic Build System <autodist@mambasoft.it> 0.10.5-1mamba
- automatic update by autodist
* Thu Mar 10 2011 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
- automatic update by autodist
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
- automatic update by autodist
* Mon Feb 07 2011 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic update by autodist
* Wed Jan 12 2011 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic update by autodist
* Thu Dec 23 2010 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic update to 0.10.0 by autodist
* Wed Oct 13 2010 Automatic Build System <autodist@mambasoft.it> 0.9.12-1mamba
- update to 0.9.12
* Mon Oct 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10-1mamba
- update to 0.9.10
* Sat Sep 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
- rebuilt with libffi 3.0.9
* Tue Aug 17 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1mamba
- update to 0.9.3
* Mon Jun 28 2010 Automatic Build System <autodist@mambasoft.it> 0.6.14-1mamba
- automatic update by autodist
* Sat May 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.11-1mamba
- update to 0.6.11
* Tue Sep 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-1mamba
- package created by autospec