Update to 0.0.3
This commit is contained in:
parent
68b26da7c9
commit
1e45ce493b
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
/libvirt-glib-0.0.2.tar.gz
|
|
||||||
.build*.log
|
.build*.log
|
||||||
*.rpm
|
*.rpm
|
||||||
|
/libvirt-glib-*.tar.gz
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
%define with_introspection 0
|
%define with_introspection 0
|
||||||
%define with_python 0
|
%define with_python 0
|
||||||
|
%define with_vala 0
|
||||||
|
|
||||||
%if 0%{?fedora} >= 15
|
%if 0%{?fedora} >= 15
|
||||||
%define with_introspection 1
|
%define with_introspection 1
|
||||||
@ -15,10 +16,12 @@
|
|||||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||||
%define with_python 1
|
%define with_python 1
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{with_introspection} && 0%{?fedora} > 15
|
||||||
|
%define with_vala 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: libvirt-glib
|
Name: libvirt-glib
|
||||||
Version: 0.0.2
|
Version: 0.0.3
|
||||||
Release: 1%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
Summary: libvirt glib integration for events
|
Summary: libvirt glib integration for events
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -28,7 +31,7 @@ Source0: ftp://libvirt.org/libvirt/glib/%{name}-%{version}.tar.gz
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= 2.10.0
|
BuildRequires: glib2-devel >= 2.10.0
|
||||||
BuildRequires: libvirt-devel >= 0.9.4
|
BuildRequires: libvirt-devel >= 0.9.7
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%if %{with_introspection}
|
%if %{with_introspection}
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
@ -39,6 +42,9 @@ BuildRequires: gir-repository-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
# Hack due to https://bugzilla.redhat.com/show_bug.cgi?id=613466
|
# Hack due to https://bugzilla.redhat.com/show_bug.cgi?id=613466
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
%if %{with_vala}
|
||||||
|
BuildRequires: vala-tools
|
||||||
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -153,18 +159,28 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%if %{with_introspection}
|
%if %{with_introspection}
|
||||||
%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib
|
%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_vala}
|
||||||
|
%{_datadir}/vala/vapi/libvirt-glib-1.0.vapi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libvirt-gconfig
|
%files -n libvirt-gconfig
|
||||||
%{_libdir}/libvirt-gconfig-1.0.so.*
|
%{_libdir}/libvirt-gconfig-1.0.so.*
|
||||||
%if %{with_introspection}
|
%if %{with_introspection}
|
||||||
%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib
|
%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_vala}
|
||||||
|
%{_datadir}/vala/vapi/libvirt-gconfig-1.0.vapi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libvirt-gobject
|
%files -n libvirt-gobject
|
||||||
%{_libdir}/libvirt-gobject-1.0.so.*
|
%{_libdir}/libvirt-gobject-1.0.so.*
|
||||||
%if %{with_introspection}
|
%if %{with_introspection}
|
||||||
%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib
|
%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_vala}
|
||||||
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps
|
||||||
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -217,6 +233,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 19 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.3-1
|
||||||
|
- Update to 0.0.3 release
|
||||||
|
|
||||||
* Tue Nov 22 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-1
|
* Tue Nov 22 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-1
|
||||||
- Update to 0.0.2 release
|
- Update to 0.0.2 release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user