File sca-patterns-groupwise.spec of Package sca-patterns-groupwise

# spec file for package sca-patterns-groupwise
# Copyright (C) 2014 SUSE LLC
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

# norootforbuild
# neededforbuild

%define sca_common sca
%define patdirbase /usr/lib/%{sca_common}
%define patdir %{patdirbase}/patterns
%define patuser root
%define patgrp root
%define mode 544
%define category groupwise

Name:         sca-patterns-groupwise
Summary:      Supportconfig Analysis Patterns for GroupWise
Group:        System/Monitoring
License:      GPL-2.0
Autoreqprov:  on
Version:      1.3
Release:      5
Source:       %{name}-%{version}.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}
Buildarch:    noarch
Requires:     sca-patterns-base

Supportconfig Analysis (SCA) appliance patterns to identify known
issues relating to all versions of GroupWise

    Jason Record <>

%setup -q


pwd;ls -la
install -d $RPM_BUILD_ROOT/%{patdir}/%{category}
install -d $RPM_BUILD_ROOT/usr/share/doc/packages/%{sca_common}
install -m 444 patterns/COPYING.GPLv2 $RPM_BUILD_ROOT/usr/share/doc/packages/%{sca_common}
install -m %{mode} patterns/%{category}/* $RPM_BUILD_ROOT/%{patdir}/%{category}

%dir %{patdirbase}
%dir %{patdir}
%dir %{patdir}/%{category}
%dir /usr/share/doc/packages/%{sca_common}
%doc %attr(-,root,root) /usr/share/doc/packages/%{sca_common}/*
%attr(%{mode},%{patuser},%{patgrp}) %{patdir}/%{category}/*


openSUSE Build Service is sponsored by