forked from pool/libvirt
This commit is contained in:
parent
693a6303bb
commit
565274ddbe
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 09:11:18 MDT 2007 - ccoffing@novell.com
|
||||
|
||||
- Fix rpmlint errors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 27 10:18:41 MDT 2007 - ccoffing@novell.com
|
||||
|
||||
|
21
libvirt.spec
21
libvirt.spec
@ -19,12 +19,11 @@ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: Development/Libraries/C and C++
|
||||
Autoreqprov: yes
|
||||
Version: 0.2.2
|
||||
Release: 1
|
||||
Release: 12
|
||||
Summary: A C toolkit to interract with the virtualization capabilities of Linux
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: libvirt-cflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: xen libxml2 readline ncurses gnutls
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
%define _libexecdir %{_prefix}/lib/%{name}
|
||||
|
||||
@ -116,9 +115,6 @@ rm po/no.*
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
# libvirt-0.2.0 FIXME:
|
||||
# libvirt.c: 180
|
||||
# xend_internal.c: 1033
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure
|
||||
make %{?jobs:-j%jobs} DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
|
||||
@ -129,10 +125,9 @@ cd docs/examples ; make index.html ; cd ../..
|
||||
cp -a AUTHORS ChangeLog COPYING COPYING.LIB NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}/
|
||||
cp -a docs/{*.html,*.gif,*.rng,{libvirt,test}*.xml} $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
mkdir $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
cp -a docs/examples/{*.c,*.html,info1,suspend} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
install -m 0644 docs/examples/{*.c,*.html,info1,suspend} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/examples.x*
|
||||
cp -a docs/examples/python/{*.py,*.xml,README} $RPM_BUILD_ROOT%{_docdir}/%{name}-python/examples
|
||||
chmod +x $RPM_BUILD_ROOT%{_docdir}/%{name}-python/examples/*.py
|
||||
install -m 0644 docs/examples/python/{*.py,*.xml,README} $RPM_BUILD_ROOT%{_docdir}/%{name}-python/examples
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.*a $RPM_BUILD_ROOT%{py_sitedir}/*.*a
|
||||
#mkdir -p $RPM_BUILD_ROOT/etc/permissions.d
|
||||
#cat > $RPM_BUILD_ROOT/etc/permissions.d/libvirt <<EOF
|
||||
@ -144,11 +139,9 @@ rm $RPM_BUILD_ROOT%{_libexecdir}/libvirt_proxy
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-, root, root)
|
||||
@ -160,7 +153,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_docdir}/%{name}/examples
|
||||
%doc %{_mandir}/man1/virsh.1*
|
||||
%{_libdir}/*.so.*
|
||||
/etc/libvirt/
|
||||
%config /etc/libvirt/
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
@ -185,6 +178,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{py_sitedir}/libvirtmod*
|
||||
|
||||
%changelog
|
||||
* Wed May 23 2007 - ccoffing@novell.com
|
||||
- Fix rpmlint errors.
|
||||
* Fri Apr 27 2007 - ccoffing@novell.com
|
||||
- Update to libvirt-0.2.2.
|
||||
* Wed Mar 07 2007 - sbrabec@suse.cz
|
||||
|
Loading…
Reference in New Issue
Block a user