File perl-SmartClient.spec of Package perl-SmartClient

# spec file for package perl-SmartClient
# Copyright  (c)  
#   2001-2003  SuSE GmbH  Nuernberg, Germany.
#   2005-2019  dass IT GmbH, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# please send bugfixes or comments to

Name:           perl-SmartClient
License:        GPL
Group:          Development/Libraries/Perl
Autoreqprov:    on
Requires:       sc_base >= 1.4.9785
Requires:       perl-ldap perl-Net-IP perl-Net-Netmask perl-Log-Log4perl perl-Log-Dispatch perl-Unix-Syslog perl-IPC-Run
Summary:        Perl modules for SmartClient Framework
Version: 1.16.5667
Release:        0
Source: perl-SmartClient_1.16.5667.orig.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf automake cracklib gdbm gzip libtool make pam perl tar
BuildRequires:  perl-macros

Perl modules for the SmartClient Framework

    Ralf Doppelstein
    Frank Balzer
    Stephan Duehr
    Jörg Steffens
    Felix Schumacher

%setup -c

cd SmartClient

# legacy: link to old name
ln -s

perl Makefile.PL
cd ..

cd SmartClient
make test
cd ..


cd SmartClient


cd ..

mkdir -p $RPM_BUILD_ROOT/usr/bin/
install $RPM_BUILD_ROOT/usr/bin/

# clean up after build
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d "$RPM_BUILD_ROOT" ] && rm -rf $RPM_BUILD_ROOT

%files -f SmartClient/%{name}.files