summaryrefslogtreecommitdiff
path: root/libvirt.spec.in
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2006-09-21 15:24:37 +0000
committerDaniel P. Berrange <berrange@redhat.com>2006-09-21 15:24:37 +0000
commite8e58440891d7132313f38fb64766c0502307e6b (patch)
treead57af91674c085e02e37521afaca03fe09aef46 /libvirt.spec.in
parent870bf1cdbd911cf31fed632865e6fe1b6a5ce51c (diff)
downloadlibvirt-e8e58440891d7132313f38fb64766c0502307e6b.tar.gz
Added support for i18n translation with gettext
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r--libvirt.spec.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 93a7ac455c..08112434e2 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1,3 +1,5 @@
+# -*- rpm-spec -*-
+
Summary: Library providing an API to use the Xen virtualization
Name: libvirt
Version: @VERSION@
@@ -6,7 +8,7 @@ License: LGPL
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-URL: http://libvir.org/
+URL: http://libvirt.org/
BuildRequires: python python-devel
Requires: xen
Requires: libxml2
@@ -16,6 +18,7 @@ BuildRequires: xen-devel
BuildRequires: libxml2-devel
BuildRequires: readline-devel
BuildRequires: ncurses-devel
+BuildRequires: gettext
Obsoletes: libvir
ExclusiveArch: i386 x86_64 ia64
@@ -61,6 +64,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
+%find_lang %{name}
%clean
rm -fr %{buildroot}
@@ -71,7 +75,7 @@ rm -fr %{buildroot}
%postun
/sbin/ldconfig
-%files
+%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING.LIB TODO