- Add introspection data from gir-repository
- Remove unneeded autotools calls
This commit is contained in:
parent
f2755596e0
commit
fa93063cf5
@ -1 +1,2 @@
|
||||
dbus-glib-0.84.tar.gz
|
||||
DBusGLib-1.0.gir
|
||||
|
||||
@ -8,23 +8,23 @@
|
||||
Summary: GLib bindings for D-Bus
|
||||
Name: dbus-glib
|
||||
Version: 0.86
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://www.freedesktop.org/software/dbus/
|
||||
#VCS: git:git://git.freedesktop.org/git/dbus/dbus-glib
|
||||
Source0: http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
|
||||
Source1: http://git.gnome.org/browse/gir-repository/plain/gir/DBusGLib-1.0.gir
|
||||
License: AFL and GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: chkconfig >= 1.3.26
|
||||
Requires: gobject-introspection
|
||||
BuildRequires: libtool
|
||||
BuildRequires: dbus-devel >= %{dbus_version}
|
||||
BuildRequires: expat-devel >= %{expat_version}
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: gettext
|
||||
BuildRequires: autoconf
|
||||
# this patch requires autoreconf
|
||||
BuildRequires: autoconf automake libtool gettext-devel gtk-doc
|
||||
BuildRequires: gobject-introspection-devel
|
||||
|
||||
%description
|
||||
|
||||
@ -38,6 +38,7 @@ Requires: %name = %{version}-%{release}
|
||||
Requires: glib2-devel
|
||||
Requires: dbus-devel
|
||||
Requires: pkgconfig
|
||||
Requires: gobject-introspection-devel
|
||||
Obsoletes: dbus-devel < 0.90
|
||||
|
||||
%description devel
|
||||
@ -61,8 +62,6 @@ D-Bus tools written using the gtk+ GUI libaries
|
||||
|
||||
|
||||
%build
|
||||
libtoolize --force --copy
|
||||
autoreconf
|
||||
%configure --disable-tests \
|
||||
--enable-verbose-mode=yes \
|
||||
--enable-asserts=yes \
|
||||
@ -77,6 +76,11 @@ rm -rf %{buildroot}
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# As gir-repository doesn't exist anymore, do this ourselves
|
||||
install -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gir-1.0/DBusGLib-1.0.gir
|
||||
/usr/bin/g-ir-compiler --includedir=. %{SOURCE1} -o DBusGLib-1.0.typelib
|
||||
install -D DBusGLib-1.0.typelib $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/DBusGLib-1.0.typelib
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
@ -95,6 +99,7 @@ rm -rf %{buildroot}
|
||||
|
||||
%{_libdir}/*glib*.so.*
|
||||
%{_bindir}/dbus-binding-tool
|
||||
%{_libdir}/girepository-1.0/DBusGLib-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -106,6 +111,7 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man1/*
|
||||
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
|
||||
%{_libexecdir}/dbus-bash-completion-helper
|
||||
%{_datadir}/gir-1.0/DBusGLib-1.0.gir
|
||||
|
||||
%if 0
|
||||
%files gtk
|
||||
@ -116,6 +122,10 @@ rm -rf %{buildroot}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 29 2010 Bastien Nocera <bnocera@redhat.com> 0.86-2
|
||||
- Add introspection data from gir-repository
|
||||
- Remove unneeded autotools calls
|
||||
|
||||
* Thu Mar 18 2010 Colin Walters <walters@verbum.org> - 0.86-1
|
||||
- New upstream
|
||||
Drop upstreamed patch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user