File yast2-trans-mk.spec of Package yast2-trans-mk

#
# spec file for package yast2-trans-mk (Version 2.17.1)
#
# 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-mk
Version:        2.17.1
Release:        1
License:        GPL v2 or later
Group:          System/YaST
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-trans-mk-2.17.1.tar.bz2
Prefix:         /usr
Provides:       locale(yast2:mk)
BuildRequires:  pkgconfig yast2-devtools
BuildArch:      noarch
Provides:       locale(yast2:mk)
Summary:        YaST2 - Macedonian Translations
%define Y2LANG mk

%description
YaST2 - Translations for Macedonian.



%prep
%setup -n yast2-trans-mk-2.17.1

%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-mk
%dir /usr/share/YaST2/locale
%lang(mk) /usr/share/YaST2/locale/mk
%changelog
* Fri Sep 19 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.
* Wed Dec 12 2007 ke@suse.de
- Update to version 2.15.2.
* Fri Jul 20 2007 ke@suse.de
- Update to version 2.15.1.
* Sun Nov 19 2006 ke@suse.de
- Update to version 2.13.4.
* Fri Nov 10 2006 ke@suse.de
- Update to version 2.13.3.
* Fri Oct 13 2006 ke@suse.de
- Update to version 2.13.2.
* Tue Oct 10 2006 ke@suse.de
- Update to version 2.13.1.
* Thu Oct 05 2006 ke@suse.de
- initial version