89 lines
2.5 KiB
RPMSpec
89 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package yast2-trans-stats (Version 2.15.0)
|
|
#
|
|
# Copyright (c) 2009 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.15.0
|
|
Release: 120
|
|
License: GPL v2 or later
|
|
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
|
|
* Sun Jul 15 2007 lrupp@suse.de
|
|
- added /usr/lib/YaST2 to the package to avoid huge dependencies
|
|
* Fri Jul 13 2007 ke@suse.de
|
|
- Make it depended on yast2-trans-allpacks only.
|
|
* Mon Mar 26 2007 ke@suse.de
|
|
- Set BuildIgnore: tomcat5; thanks to Andreas Jaeger.
|
|
* 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.
|