72 lines
1.8 KiB
RPMSpec
72 lines
1.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package yast2-trans-stats (Version 2.11.0)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: yast2-trans-stats
|
||
|
#!BuildIgnore: yast2-build-test yast2-schema
|
||
|
#!BuildIgnore: java-sdk-1.5.0 java-devel
|
||
|
BuildRequires: yast2-all-packages
|
||
|
Version: 2.11.0
|
||
|
Release: 75
|
||
|
License: GNU General Public License (GPL)
|
||
|
Group: System/YaST
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
prefix: /usr
|
||
|
# Requires: yast2-config-XXpkgXX
|
||
|
BuildArchitectures: noarch
|
||
|
Summary: YaST2 - Translation Statistics
|
||
|
|
||
|
%description
|
||
|
The package contains statistic files, one file per language. With the
|
||
|
help of these statistics we can warn you if you select a language for
|
||
|
installation which is unsufficiently translated.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
%build
|
||
|
for f in /usr/share/doc/packages/yast2-trans-*/status.txt; do
|
||
|
[ -f $f ] || continue
|
||
|
l=${f%/*}; l=${l##*-}
|
||
|
case $l in
|
||
|
en_*)
|
||
|
echo 100 >$l.status
|
||
|
;;
|
||
|
*)
|
||
|
sed -n 's/^\([[:digit:]]\+\).*/\1/p' $f >$l.status
|
||
|
;;
|
||
|
esac
|
||
|
[ -s $l.status ] || rm $l.status
|
||
|
done
|
||
|
|
||
|
%install
|
||
|
install -d $RPM_BUILD_ROOT/usr/lib/YaST2/trans
|
||
|
install -m 644 *.status $RPM_BUILD_ROOT/usr/lib/YaST2/trans
|
||
|
|
||
|
%clean
|
||
|
rm -rf "$RPM_BUILD_ROOT"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
/usr/lib/YaST2/trans
|
||
|
|
||
|
%changelog -n yast2-trans-stats
|
||
|
* Mon Jan 15 2007 - ke@suse.de
|
||
|
- Set BuildIgnore: java-sdk-1.5.0 java-devel
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Tue May 03 2005 - ro@suse.de
|
||
|
- remove yast2-schema from nfb to break cycle
|
||
|
* Wed Mar 23 2005 - ro@suse.de
|
||
|
- remove yast2-build-test from nfb to break cycle
|
||
|
* Fri Feb 18 2005 - ke@suse.de
|
||
|
- Init package.
|