File yast2-trans-vi.spec of Package yast2-trans-vi
#
# spec file for package yast2-trans-vi (Version 2.17.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: yast2-trans-vi
Version: 2.17.2
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-trans-vi-2.17.2.tar.bz2
Prefix: /usr
Provides: locale(yast2:vi)
BuildRequires: pkgconfig yast2-devtools
BuildArch: noarch
Provides: locale(yast2:vi)
Summary: YaST2 - Vietnamese Translations
%define Y2LANG vi
%description
YaST2 - Translations for Vietnamese.
%prep
%setup -n yast2-trans-vi-2.17.2
%build
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix}
%if %ul_version > 0
for f in po/*.po ; do
cp $f $f.orig
awk -f %{prefix}/lib/YaST2/bin/cleanuppo.awk $f.orig >$f
done
%endif
%if %sles_version == 8
for f in po/*.po ; do
cp $f $f.orig
awk -f %{prefix}/lib/YaST2/bin/cleanuppo.awk -v sles=8 $f.orig >$f
done
%endif
make %{?jobs:-j%jobs}
%install
make install DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc %{prefix}/share/doc/packages/yast2-trans-vi
%dir /usr/share/YaST2/locale
%lang(vi) /usr/share/YaST2/locale/vi
%changelog
* Fri Sep 19 2008 ke@suse.de
- Update to version 2.17.2.
* Fri Jul 18 2008 ke@suse.de
- Update to version 2.17.1.
* Mon Mar 17 2008 ke@suse.de
- Update to version 2.16.2.
* Tue Feb 19 2008 ke@suse.de
- Update to version 2.16.1.
- remove COPYRIGHT.english from files list; #299144.
* Fri Jul 20 2007 ke@suse.de
- Update to version 2.15.1.
* Fri Nov 10 2006 ke@suse.de
- Update to version 2.14.6.
* Wed Aug 30 2006 ke@suse.de
- Update to version 2.14.5.
* Tue Aug 29 2006 ke@suse.de
- Update to version 2.14.4.
* Tue Aug 29 2006 ke@suse.de
- Update to version 2.14.3.
* Tue Aug 29 2006 ke@suse.de
- Update to version 2.14.2.
* Mon Aug 07 2006 ke@suse.de
- Update to version 2.14.1.
* Thu Aug 03 2006 ke@suse.de
- Update to version 2.13.3.
* Tue Jul 18 2006 ke@suse.de
- Update to version 2.13.2.
* Tue Jul 18 2006 ke@suse.de
- Update to version 2.13.1.
* Wed Jul 12 2006 ke@suse.de
- initial version