Accepting request 581375 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581375 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt-glib?expand=0&rev=52
This commit is contained in:
parent
f5d802a2c7
commit
28e49bb05f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:36:38 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 15 14:04:53 UTC 2016 - zaitor@opensuse.org
|
Tue Nov 15 14:04:53 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libvirt-glib
|
# spec file for package libvirt-glib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
|
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -21,13 +21,14 @@ Name: libvirt-glib
|
|||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GLib and GObject mapping of libvirt
|
Summary: GLib and GObject mapping of libvirt
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://libvirt.org
|
URL: http://libvirt.org
|
||||||
Source0: http://libvirt.org/sources/glib/%{name}-%{version}.tar.gz
|
Source0: http://libvirt.org/sources/glib/%{name}-%{version}.tar.gz
|
||||||
Source1: http://libvirt.org/sources/glib/%{name}-%{version}.tar.gz.asc
|
Source1: http://libvirt.org/sources/glib/%{name}-%{version}.tar.gz.asc
|
||||||
BuildRequires: intltool >= 0.35.0
|
BuildRequires: intltool >= 0.35.0
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.10.0
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.10.0
|
||||||
@ -35,7 +36,6 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.8
|
|||||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.36.0
|
BuildRequires: pkgconfig(gthread-2.0) >= 2.36.0
|
||||||
BuildRequires: pkgconfig(libvirt) >= 0.10.2
|
BuildRequires: pkgconfig(libvirt) >= 0.10.2
|
||||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.0.0
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.0.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libvirt is a C toolkit to interact with the virtualization capabilities
|
libvirt is a C toolkit to interact with the virtualization capabilities
|
||||||
@ -128,7 +128,7 @@ should be able to integrate other virtualization mechanisms if needed
|
|||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
# Parallel build causes random failures
|
# Parallel build causes random failures
|
||||||
#make %{?_smp_mflags}
|
#make %{?_smp_mflags}
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -136,30 +136,25 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%post -n libvirt-glib-1_0-0 -p /sbin/ldconfig
|
%post -n libvirt-glib-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libvirt-glib-1_0-0 -p /sbin/ldconfig
|
%postun -n libvirt-glib-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libvirt-glib-1_0-0 -f %{name}.lang
|
%files -n libvirt-glib-1_0-0 -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
%license COPYING
|
||||||
%doc COPYING README ChangeLog
|
%doc README ChangeLog
|
||||||
%{_libdir}/libvirt-gconfig-1.0.so.*
|
%{_libdir}/libvirt-gconfig-1.0.so.*
|
||||||
%{_libdir}/libvirt-glib-1.0.so.*
|
%{_libdir}/libvirt-glib-1.0.so.*
|
||||||
%{_libdir}/libvirt-gobject-1.0.so.*
|
%{_libdir}/libvirt-gobject-1.0.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-LibvirtGConfig-1_0
|
%files -n typelib-1_0-LibvirtGConfig-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib
|
%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib
|
||||||
|
|
||||||
%files -n typelib-1_0-LibvirtGLib-1_0
|
%files -n typelib-1_0-LibvirtGLib-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib
|
%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib
|
||||||
|
|
||||||
%files -n typelib-1_0-LibvirtGObject-1_0
|
%files -n typelib-1_0-LibvirtGObject-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib
|
%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/libvirt-gconfig-1.0.so
|
%{_libdir}/libvirt-gconfig-1.0.so
|
||||||
%{_libdir}/libvirt-glib-1.0.so
|
%{_libdir}/libvirt-glib-1.0.so
|
||||||
%{_libdir}/libvirt-gobject-1.0.so
|
%{_libdir}/libvirt-gobject-1.0.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user