auto-import dbus-glib-0.70-1 on branch devel from dbus-glib-0.70-1.src.rpm
This commit is contained in:
parent
6c7f9c8118
commit
6b4d0d43cc
@ -0,0 +1 @@
|
||||
dbus-glib-0.70.tar.gz
|
||||
119
dbus-glib.spec
Normal file
119
dbus-glib.spec
Normal file
@ -0,0 +1,119 @@
|
||||
%define gettext_package dbus
|
||||
|
||||
%define expat_version 1.95.5
|
||||
%define glib2_version 2.2.0
|
||||
%define gtk2_version 2.4.0
|
||||
%define dbus_version 0.90
|
||||
|
||||
Summary: GLib bindings for D-Bus
|
||||
Name: dbus-glib
|
||||
Version: 0.70
|
||||
Release: 1
|
||||
URL: http://www.freedesktop.org/software/dbus/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: dbus-glib-0.70-fix-includes.patch
|
||||
License: AFL/GPL
|
||||
Group: System Environment/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Requires: chkconfig >= 1.3.26
|
||||
BuildRequires: libtool
|
||||
BuildRequires: dbus-devel >= %{dbus_version}
|
||||
BuildRequires: expat-devel >= %{expat_version}
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
#BuildRequires: gtk2-devel >= %{gtk_version}
|
||||
BuildRequires: gettext
|
||||
BuildRequires: autoconf
|
||||
|
||||
Obsoletes: dbus-glib < 0.90
|
||||
|
||||
%description
|
||||
|
||||
D-Bus add-on library to integrate the standard D-Bus library with
|
||||
the GLib thread abstraction and main loop.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for the D-Bus GLib bindings
|
||||
Group: Development/Libraries
|
||||
Requires: %name = %{version}-%{release}
|
||||
Requires: glib2-devel
|
||||
Obsoletes: dbus-devel < 0.90
|
||||
|
||||
%description devel
|
||||
|
||||
Headers and static libraries for the D-Bus GLib bindings
|
||||
|
||||
%if 0
|
||||
%package gtk
|
||||
Summary: GTK based tools
|
||||
Group: Development/Tools
|
||||
Requires: %name = %{version}-%{release}
|
||||
Requires: gtk2 >= %{gtk_version}
|
||||
%description gtk
|
||||
|
||||
D-Bus tools written using the gtk+ GUI libaries
|
||||
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .fix-includes
|
||||
|
||||
autoreconf -i -f
|
||||
|
||||
%build
|
||||
|
||||
%configure --disable-tests --enable-verbose-mode=yes --enable-asserts=yes
|
||||
make
|
||||
|
||||
#build with checks for right now
|
||||
exit 0
|
||||
|
||||
%configure --disable-tests --disable-verbose-mode --disable-asserts
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
||||
%doc COPYING ChangeLog NEWS
|
||||
|
||||
%{_libdir}/*glib*.so.*
|
||||
%{_bindir}/dbus-binding-tool
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/dbus-glib-1.pc
|
||||
%{_includedir}/*
|
||||
|
||||
%if 0
|
||||
%files gtk
|
||||
%defattr(-,root,root)
|
||||
|
||||
%{_bindir}/dbus-viewer
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
|
||||
- Initial dbus-glib package
|
||||
Loading…
Reference in New Issue
Block a user