File patterns.spec of Package patterns
#
# spec file for package patterns
#
# Copyright (c) 2013 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/
#
Name: patterns
BuildRequires: recode-devel
Summary: Patterns Translation Tool
License: GPL-2.0
Group: System/Packages
Version: 1.2107
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: patterns-%{version}.tar.bz2
Source1: create_pattern.sh
%description
This is an pattern development package that is used to create the
patterns as part of the installation source setup. It is used for
translation of the patterns.
Installation of this package does not make any sense.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" %configure
make
%install
# Create description files for YaST2:
make install DESTDIR=$RPM_BUILD_ROOT
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%_sbindir
# language files
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root)
%_sbindir/patterns_utf8
%_sbindir/patterns_lint
%_sbindir/create_pattern.sh
%changelog