2008-12-11 21:55:55 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
Name: gobject-introspection
|
2010-06-08 14:05:15 +00:00
|
|
|
Version: 0.6.14
|
2010-06-10 15:00:51 +00:00
|
|
|
Release: 2%{?dist}
|
2008-12-11 21:55:55 +00:00
|
|
|
Summary: Introspection system for GObject-based libraries
|
|
|
|
|
2010-03-24 18:51:40 +00:00
|
|
|
Group: Development/Libraries
|
2008-12-11 21:55:55 +00:00
|
|
|
License: GPLv2+, LGPLv2+, MIT
|
|
|
|
URL: http://live.gnome.org/GObjectIntrospection
|
2010-06-21 18:23:19 +00:00
|
|
|
#VCS: git:git://git.gnome.org/gobject-introspection
|
2010-06-08 14:08:07 +00:00
|
|
|
Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
|
2008-12-11 21:55:55 +00:00
|
|
|
|
2010-06-10 15:00:51 +00:00
|
|
|
Obsoletes: gir-repository
|
|
|
|
|
2008-12-11 21:55:55 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: python-devel >= 2.5
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: chrpath
|
2009-06-02 16:02:42 +00:00
|
|
|
BuildRequires: mesa-libGL-devel
|
2009-06-02 16:14:01 +00:00
|
|
|
BuildRequires: cairo-devel
|
2009-06-02 16:29:29 +00:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: freetype-devel
|
2008-12-11 21:55:55 +00:00
|
|
|
|
|
|
|
%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 devel
|
|
|
|
Summary: Libraries and headers for gobject-introspection
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %{version}-%{release}
|
|
|
|
Requires: glib2-devel
|
|
|
|
Requires: pkgconfig
|
2010-06-10 15:00:51 +00:00
|
|
|
Obsoletes: gir-repository-devel
|
2008-12-11 21:55:55 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libraries and headers for gobject-introspection
|
|
|
|
|
|
|
|
%prep
|
2010-03-24 18:51:40 +00:00
|
|
|
%setup -q
|
2008-12-11 21:55:55 +00:00
|
|
|
|
|
|
|
%build
|
2010-03-24 18:51:40 +00:00
|
|
|
%configure
|
2009-07-06 20:07:13 +00:00
|
|
|
make V=1
|
2008-12-11 21:55:55 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Die libtool, die.
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-{compiler,generate}
|
2009-07-02 09:03:14 +00:00
|
|
|
|
2008-12-11 21:55:55 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%{_libdir}/lib*.so.*
|
2009-06-02 16:02:42 +00:00
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
2008-12-11 21:55:55 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so
|
2010-03-25 23:18:06 +00:00
|
|
|
%dir %{_libdir}/gobject-introspection
|
|
|
|
%{_libdir}/gobject-introspection/*
|
2008-12-11 21:55:55 +00:00
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_bindir}/g-ir-*
|
2009-06-02 16:02:42 +00:00
|
|
|
%{_datadir}/gir-1.0
|
2010-03-24 18:51:40 +00:00
|
|
|
%dir %{_datadir}/gobject-introspection-1.0
|
|
|
|
%{_datadir}/gobject-introspection-1.0/*
|
2009-07-02 09:03:14 +00:00
|
|
|
%{_datadir}/aclocal/introspection.m4
|
2008-12-11 21:55:55 +00:00
|
|
|
%{_mandir}/man1/*.gz
|
|
|
|
|
|
|
|
%changelog
|
2010-06-10 15:00:51 +00:00
|
|
|
* Thu Jun 10 2010 Colin Walters <walters@pocket> - 0.6.14-2
|
|
|
|
- Obsolete gir-repository{,-devel}
|
|
|
|
|
2010-06-08 14:05:15 +00:00
|
|
|
* Tue Jun 8 2010 Matthias Clasen <mclasen@redhat.com> - 0.6.14-1
|
|
|
|
- Update to 0.6.14
|
|
|
|
|
2010-05-24 21:23:22 +00:00
|
|
|
* Wed May 24 2010 Colin Walters <walters@verbum.org> - 0.6.12-1
|
|
|
|
- Update to latest upstream release 0.6.12
|
|
|
|
|
2010-03-25 23:18:06 +00:00
|
|
|
* Thu Mar 25 2010 Colin Walters <walters@verbum.org> - 0.6.9-3
|
|
|
|
- Move python library back into /usr/lib/gobject-introspection. I put
|
|
|
|
it there upstream for a reason, namely that apps need to avoid
|
|
|
|
polluting the global Python site-packages with bits of their internals.
|
|
|
|
It's not a public API.
|
|
|
|
|
|
|
|
Possibly resolves bug #569885
|
|
|
|
|
2010-03-24 18:51:40 +00:00
|
|
|
* Wed Mar 24 2010 Adam Miller <maxamillion@fedoraproject.org> - 0.6.9-2
|
|
|
|
- Added newly owned files (gobject-introspection-1.0 directory)
|
|
|
|
|
|
|
|
* Wed Mar 24 2010 Adam Miller <maxamillion@fedoraproject.org> - 0.6.9-1
|
|
|
|
- Update to latest upstream release 0.6.9
|
|
|
|
|
|
|
|
* Thu Mar 11 2010 Colin Walters <walters@verbum.org> - 0.6.8-0.3.20100311git2cc97351
|
|
|
|
- rebuilt
|
|
|
|
|
2010-03-11 20:52:49 +00:00
|
|
|
* Thu Mar 11 2010 Colin Walters <walters@verbum.org>
|
|
|
|
- New upstream snapshot
|
|
|
|
- rm unneeded rm
|
|
|
|
|
2010-01-28 20:54:14 +00:00
|
|
|
* Thu Jan 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 0.6.8-0.1.20100128git
|
2010-01-28 20:21:42 +00:00
|
|
|
- Update to new git snapshot
|
|
|
|
- Fix Version tag to comply with correct naming use with alphatag
|
|
|
|
|
2010-01-15 17:26:48 +00:00
|
|
|
* Thu Jan 15 2010 Adam Miller <maxamillion@fedoraproject.org> - 0.6.7.20100115git-1
|
|
|
|
- Update to git snapshot for rawhide
|
|
|
|
|
2009-12-22 15:08:09 +00:00
|
|
|
* Tue Dec 22 2009 Matthias Clasen <mclasen@redhat.com> - 0.6.7-1
|
|
|
|
- Update to 0.6.7
|
|
|
|
|
2009-09-04 21:43:34 +00:00
|
|
|
* Fri Sep 11 2009 Colin Walters <walters@verbum.org> - 0.6.5-1
|
|
|
|
- New upstream
|
|
|
|
- Drop libtool dep
|
|
|
|
|
2009-08-28 17:11:38 +00:00
|
|
|
* Fri Aug 28 2009 Colin Walters <walters@verbum.org> - 0.6.4-2
|
|
|
|
- Add dep on libtool temporarily
|
|
|
|
|
2009-08-25 16:09:12 +00:00
|
|
|
* Mon Aug 26 2009 Colin Walters <walters@verbum.org> - 0.6.4-1
|
|
|
|
- New upstream 0.6.4
|
|
|
|
- Drop upstreamed build fix patch
|
|
|
|
|
2009-07-25 01:01:31 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-06 20:07:13 +00:00
|
|
|
* Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-4
|
|
|
|
- Add upstream patch to fix a build crash
|
|
|
|
|
2009-07-02 13:23:15 +00:00
|
|
|
* Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-3
|
|
|
|
- Add -ggdb temporarily so it compiles on ppc64
|
|
|
|
|
2009-07-02 09:09:42 +00:00
|
|
|
* Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-2
|
|
|
|
- Add the new source file
|
|
|
|
|
2009-07-02 09:03:14 +00:00
|
|
|
* Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-1
|
|
|
|
- Update to 0.6.3
|
|
|
|
|
2009-06-02 16:02:42 +00:00
|
|
|
* Mon Jun 1 2009 Dan Williams <dcbw@redhat.com> - 0.6.2-1
|
|
|
|
- Update to 0.6.2
|
|
|
|
|
2009-02-25 00:14:39 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-11 21:55:55 +00:00
|
|
|
* Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 0.6.1-1
|
|
|
|
- Update to 0.6.1
|
|
|
|
|
|
|
|
* Fri Oct 31 2008 Colin Walters <walters@verbum.org> - 0.6.0-1
|
|
|
|
- Create spec goo
|