sync up changes from the build submitted to Germany

This commit is contained in:
soochoi
2006-03-28 17:36:31 +00:00
parent 0b3db62210
commit 189777ec3c
24 changed files with 83 additions and 266 deletions

View File

@@ -28,7 +28,7 @@ Version: @VERSION@
Release: 0
Summary: Novell Common Authentication Service Adapter (CASA)
Source: %{name}-%{version}.tar.bz2
#Patch: %{name}-%{version}.dif
Patch: %{name}-%{version}.diff
#Patch2: CASA-detect_lib64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: mono >= 1.1.13 mono-core >= 1.1.13
@@ -69,7 +69,7 @@ to one another.
%prep
%setup -q
#%patch2
%patch
%if %{_lib} == "lib64"
%define binsource bin64
%else
@@ -169,10 +169,8 @@ install c_gui/CASAManager.desktop %{buildroot}/usr/share/applications
%suse_update_desktop_file CASAManager
%post
echo " "
%{fillup_and_insserv -y micasad}
echo " "
#if [ "x$1" == "x1" ] || [ "x$1" == "x2" ]
#if [ "x$1" = "x1" ] || [ "x$1" = "x2" ]
#then
# casacfgpam
#fi
@@ -181,9 +179,10 @@ echo " "
%post gui
/sbin/ldconfig
%preun
%stop_on_removal micasad
if [ "x$1" == "x0" ]
if [ "x$1" = "x0" ]
then
/usr/sbin/casaucfgpam
fi
@@ -191,12 +190,12 @@ fi
%postun
%restart_on_update
%insserv_cleanup
/sbin/ldconfig
%postun gui
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT