CASA/yast2-CASA/yast2-CASA.spec.in

80 lines
1.9 KiB
RPMSpec
Raw Normal View History

2006-04-14 22:38:26 +02:00
#
# spec file for package yast2-CASA (Version @VERSION@)
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-CASA
%if %suse_version == 1030
BuildRequires: yast2-devel-doc yast2-devtools update-desktop-files libstdc++ libgcc
%else
BuildRequires: yast2-devel yast2-devtools update-desktop-files libstdc++ libgcc
%endif
Version: @VERSION@
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
2006-04-14 22:38:26 +02:00
prefix: /usr
Requires: yast2 CASA > 1.6.400
2006-04-14 22:38:26 +02:00
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"
2006-04-14 22:38:26 +02:00
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"
2006-04-14 22:38:26 +02:00
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
2006-04-14 22:38:26 +02:00
/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
/usr/share/YaST2/locale/*
@yncludedir@/CASA/*
@clientdir@/CASA.ycp
@clientdir@/CASA_*.ycp
@moduledir@/NovellCasa.*
@desktopdir@/CASA.desktop
2006-04-14 22:38:26 +02:00
%doc @docdir@