75 lines
1.7 KiB
RPMSpec
75 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package yast2-CASA (Version 1.6.462)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
@HEADER-COMMENT@
|
|
|
|
Name: yast2-CASA
|
|
BuildRequires: yast2-devel yast2-devtools update-desktop-files
|
|
Version: 1.6.462
|
|
Release: 0
|
|
License: LGPL
|
|
Group: System/YaST
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
prefix: /usr
|
|
|
|
Requires: yast2 CASA = %{version}
|
|
|
|
#BuildArchitectures: i586
|
|
|
|
Summary: Configuration for Novell CASA (Common Authentication Services Adapter)
|
|
|
|
%description
|
|
Novell CASA (Common Authentication Services Adapter) YaST Configuration module. This module
|
|
is designed to assist system administrators to configure and eanble CASA through Yast after
|
|
system installation.
|
|
|
|
@PREP@
|
|
|
|
@BUILD@
|
|
|
|
@INSTALL@
|
|
chmod 555 $RPM_BUILD_ROOT/usr/share/applications/install_casa_yast_icons
|
|
|
|
|
|
@CLEAN@
|
|
|
|
%post
|
|
echo "yast2-CASA post install script"
|
|
echo "installing the Novell CASA YaST icon files"
|
|
/usr/share/applications/install_casa_yast_icons install rpm
|
|
exit 0
|
|
|
|
%preun
|
|
if [ "$1" = 0 ]; then
|
|
echo "yast2-CASA pre uninstall script"
|
|
echo "removing the Novell CASA YaST icon files"
|
|
/usr/share/applications/install_casa_yast_icons uninstall rpm
|
|
fi
|
|
exit 0
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir @yncludedir@/CASA
|
|
/usr/share/applications/install_casa_yast_icons
|
|
/usr/share/pixmaps/CASA_22.png
|
|
/usr/share/pixmaps/CASA_32.png
|
|
/usr/share/pixmaps/CASA_48.png
|
|
@yncludedir@/CASA/*
|
|
@clientdir@/CASA.ycp
|
|
@clientdir@/CASA_*.ycp
|
|
@moduledir@/Casa.*
|
|
@desktopdir@/CASA.desktop
|
|
%doc @docdir@
|