diff --git a/yast2-trans-stats.changes b/yast2-trans-stats.changes new file mode 100644 index 0000000..e2fc883 --- /dev/null +++ b/yast2-trans-stats.changes @@ -0,0 +1,46 @@ +------------------------------------------------------------------- +Fri Mar 19 13:48:17 CET 2010 - ke@suse.de + +- Increase version number. + +------------------------------------------------------------------- +Sun Jul 15 00:35:57 CEST 2007 - lrupp@suse.de + +- added /usr/lib/YaST2 to the package to avoid huge dependencies + +------------------------------------------------------------------- +Fri Jul 13 11:04:09 CEST 2007 - ke@suse.de + +- Make it depended on yast2-trans-allpacks only. + +------------------------------------------------------------------- +Mon Mar 26 14:20:05 CEST 2007 - ke@suse.de + +- Set BuildIgnore: tomcat5; thanks to Andreas Jaeger. + +------------------------------------------------------------------- +Mon Jan 15 16:08:54 CET 2007 - ke@suse.de + +- Set BuildIgnore: java-sdk-1.5.0 java-devel + +------------------------------------------------------------------- +Wed Jan 25 21:50:01 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue May 3 01:59:44 CEST 2005 - ro@suse.de + +- remove yast2-schema from nfb to break cycle + +------------------------------------------------------------------- +Wed Mar 23 08:59:49 CET 2005 - ro@suse.de + +- remove yast2-build-test from nfb to break cycle + +------------------------------------------------------------------- +Fri Feb 18 15:00:20 CET 2005 - ke@suse.de + +- Init package. + + diff --git a/yast2-trans-stats.spec b/yast2-trans-stats.spec new file mode 100644 index 0000000..b38e86e --- /dev/null +++ b/yast2-trans-stats.spec @@ -0,0 +1,72 @@ +# +# spec file for package yast2-trans-stats (Version 2.19.0) +# +# Copyright (c) 2010 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-stats +#!BuildIgnore: yast2-build-test yast2-schema +#!BuildIgnore: java-sdk-1.5.0 java-devel +#!BuildIgnore: tomcat5 +BuildRequires: yast2-trans-allpacks +Version: 2.19.0 +Release: 1 +License: GPL-2.0+ +Group: System/YaST +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: /usr +# Requires: yast2-config-XXpkgXX +BuildArch: noarch +Summary: YaST2 - Translation Statistics + +%description +The package contains statistic files (one file per language). With the +help of these statistics Yast warns you if you select a language for +installation which is unsufficiently translated. + + + +%prep + +%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) +%dir /usr/lib/YaST2 +/usr/lib/YaST2/trans + +%changelog