Updated to latest release 0.6.9

This commit is contained in:
Adam Miller 2010-03-24 18:51:40 +00:00
parent 392c252e24
commit 6f92c2fecc
2 changed files with 20 additions and 31 deletions

View File

@ -2,32 +2,16 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: gobject-introspection Name: gobject-introspection
Version: 0.6.8 Version: 0.6.9
Release: 0.2.20100311git2cc97351 Release: 2%{?dist}
Summary: Introspection system for GObject-based libraries Summary: Introspection system for GObject-based libraries
Group: Development/Libraries Group: Development/Libraries
License: GPLv2+, LGPLv2+, MIT License: GPLv2+, LGPLv2+, MIT
URL: http://live.gnome.org/GObjectIntrospection URL: http://live.gnome.org/GObjectIntrospection
#VCS: git:git://git.gnome.org/gobject-introspection Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
#Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
# git clone git://git.gnome.org/gobject-introspection
# rm -fr gobject-introspection/.git
# tar -cvzf gobject-introspection.tar.gz gobject-introspection/
Source0: gobject-introspection-0.6.8git2cc97351.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# git snapshot requires some other fun stuff
BuildRequires: autoconf >= 2.53
BuildRequires: libtool
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: gnome-common
BuildRequires: automake >= 1.10
BuildRequires: gnome-common >= 2.2.0
BuildRequires: libtool >= 1.4.3
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: python-devel >= 2.5 BuildRequires: python-devel >= 2.5
BuildRequires: gettext BuildRequires: gettext
@ -57,20 +41,16 @@ Summary: Libraries and headers for gobject-introspection
Group: Development/Libraries Group: Development/Libraries
Requires: %name = %{version}-%{release} Requires: %name = %{version}-%{release}
Requires: glib2-devel Requires: glib2-devel
Requires: libffi-devel
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
Libraries and headers for gobject-introspection Libraries and headers for gobject-introspection
%prep %prep
#%setup -q %setup -q
# git snapshot has a different directory name:
%setup -q -n gobject-introspection-0.6.8git2cc97351
%build %build
./autogen.sh && %configure %configure
make V=1 make V=1
%install %install
@ -81,6 +61,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-{compiler,generate} 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 # Move the python modules to the correct location
mkdir -p $RPM_BUILD_ROOT/%{python_sitearch} mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}
@ -108,19 +90,26 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/* %{_includedir}/*
%{_bindir}/g-ir-* %{_bindir}/g-ir-*
%{_datadir}/gir-1.0 %{_datadir}/gir-1.0
%{_datadir}/gobject-introspection-1.0 %dir %{_datadir}/gobject-introspection-1.0
%{_datadir}/gobject-introspection-1.0/*
%{_datadir}/aclocal/introspection.m4 %{_datadir}/aclocal/introspection.m4
%{python_sitearch}/giscanner %{python_sitearch}/giscanner
%{_mandir}/man1/*.gz %{_mandir}/man1/*.gz
%changelog %changelog
* 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
* Thu Mar 11 2010 Colin Walters <walters@verbum.org> * Thu Mar 11 2010 Colin Walters <walters@verbum.org>
- New upstream snapshot - New upstream snapshot
- rm unneeded rm - rm unneeded rm
* Tue Feb 23 2010 Colin Walters <walters@verbum.org>
- devel pkg should require libffi-devel
* Thu Jan 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 0.6.8-0.1.20100128git * Thu Jan 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 0.6.8-0.1.20100128git
- Update to new git snapshot - Update to new git snapshot
- Fix Version tag to comply with correct naming use with alphatag - Fix Version tag to comply with correct naming use with alphatag

View File

@ -1 +1 @@
ea0106746d120cfc88d5eb67be9278a6 gobject-introspection-0.6.8git2cc97351.tar.bz2 37cb473c6bafd03c4a48e1f37e19cc04 gobject-introspection-0.6.9.tar.bz2