forked from pool/libvirt
This commit is contained in:
parent
565274ddbe
commit
3c6992b0ed
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9aba5acd5d110d3ad2ff2f8f35a8751d8f006cc5cc7ebf6769de93b1cd8b2c81
|
||||
size 1070366
|
3
libvirt-0.2.3.tar.bz2
Normal file
3
libvirt-0.2.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95e767a3627125ce4d40b035fdebafe9eacd14516b852b969e6dde9583881f55
|
||||
size 1218422
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 09:05:17 MDT 2007 - ccoffing@novell.com
|
||||
|
||||
- Update to libvirt-0.2.3.
|
||||
- Fix duplicate files found by rpmlint.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 09:11:18 MDT 2007 - ccoffing@novell.com
|
||||
|
||||
|
36
libvirt.spec
36
libvirt.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libvirt (Version 0.2.2)
|
||||
# spec file for package libvirt (Version 0.2.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -11,15 +11,15 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: libvirt
|
||||
BuildRequires: gettext gnutls-devel libxml2-devel ncurses-devel pkg-config python python-devel readline-devel xen-devel xhtml-dtd
|
||||
BuildRequires: fdupes gettext gnutls-devel libxml2-devel ncurses-devel pkg-config python python-devel readline-devel xen-devel xhtml-dtd
|
||||
# Only for directory ownership:
|
||||
BuildRequires: gtk-doc
|
||||
URL: http://libvirt.org/
|
||||
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: 12
|
||||
Version: 0.2.3
|
||||
Release: 1
|
||||
Summary: A C toolkit to interract with the virtualization capabilities of Linux
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: libvirt-cflags.patch
|
||||
@ -122,13 +122,29 @@ cd docs/examples ; make index.html ; cd ../..
|
||||
|
||||
%install
|
||||
%makeinstall DOCS_DIR=%{_docdir}/%{name}-python EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
|
||||
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}
|
||||
cp -a AUTHORS ChangeLog COPYING NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}/
|
||||
cp -a docs/{*.html,*.gif,*.rng,libvirt*.xml} $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
mkdir $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*
|
||||
install -m 0644 docs/examples/{*.c,*.html} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/{*.c,examples.x*}
|
||||
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
|
||||
ln_dupes()
|
||||
{
|
||||
target=""
|
||||
fdupes -r "$1" | while read file; do
|
||||
if [ -z "$file" ] || [ -z "$target" ]; then
|
||||
target="$file"
|
||||
continue
|
||||
fi
|
||||
ln -sf "${target#.}" "$file"
|
||||
done
|
||||
}
|
||||
(
|
||||
cd $RPM_BUILD_ROOT
|
||||
ln_dupes .%{_docdir}/%{name}
|
||||
ln_dupes ./usr/share/locale
|
||||
)
|
||||
#mkdir -p $RPM_BUILD_ROOT/etc/permissions.d
|
||||
#cat > $RPM_BUILD_ROOT/etc/permissions.d/libvirt <<EOF
|
||||
#%{_libdir}/libvirt_proxy root.root 4755
|
||||
@ -165,7 +181,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-, root, root)
|
||||
%{_datadir}/gtk-doc/html/libvirt
|
||||
%doc %{_docdir}/%{name}/*.gif
|
||||
%doc %{_docdir}/%{name}/*.c
|
||||
%doc %{_docdir}/%{name}/*.html
|
||||
%doc %{_docdir}/%{name}/*.rng
|
||||
%doc %{_docdir}/%{name}/*.xml
|
||||
@ -178,6 +193,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{py_sitedir}/libvirtmod*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 12 2007 - ccoffing@novell.com
|
||||
- Update to libvirt-0.2.3.
|
||||
- Fix duplicate files found by rpmlint.
|
||||
* Wed May 23 2007 - ccoffing@novell.com
|
||||
- Fix rpmlint errors.
|
||||
* Fri Apr 27 2007 - ccoffing@novell.com
|
||||
|
Loading…
Reference in New Issue
Block a user