CASA/casa-yast/yast2-novell-casa.spec.in

75 lines
1.8 KiB
RPMSpec
Raw Normal View History

2006-04-14 22:38:26 +02:00
#
# spec file for package yast2-novell-casa (Version 1.6.462)
2006-04-14 22:38:26 +02:00
#
# 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-novell-casa
BuildRequires: yast2-devel yast2-devtools update-desktop-files
Version: 1.6.462
2006-04-14 22:38:26 +02:00
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-novell-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-novell-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@/novell-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@/novell-casa/*
@clientdir@/novell-casa.ycp
@clientdir@/novell-casa_*.ycp
@moduledir@/NovellCasa.*
@desktopdir@/novell-casa.desktop
%doc @docdir@