CASA: updated CASA.spec.in to fix the build break
This commit is contained in:
parent
f9139d6404
commit
fb7c157779
@ -1,324 +1,327 @@
|
|||||||
#
|
#
|
||||||
# spec file for package CASA (Version 1.7.0)
|
# spec file for package CASA (Version 1.7.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
# upon. The license for this file, and modifications and additions to the
|
# upon. The license for this file, and modifications and additions to the
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
# license for the pristine package is not an Open Source License, in which
|
# license for the pristine package is not an Open Source License, in which
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
# For debug build, please replace Release to Debug and set debug_opt to --enable-debug
|
# For debug build, please replace Release to Debug and set debug_opt to --enable-debug
|
||||||
%define cfg Release
|
%define cfg Release
|
||||||
%define debug_opt ""
|
%define debug_opt ""
|
||||||
|
|
||||||
|
|
||||||
Name: @PACKAGE@
|
|
||||||
URL: http://www.novell.com/products
|
Name: @PACKAGE@
|
||||||
BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel java2-devel-packages kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel
|
URL: http://www.novell.com/products
|
||||||
%define prefix /usr/share/doc/packages
|
BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel java2-devel-packages kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel
|
||||||
%define bin_prefix /usr
|
%define prefix /usr/share/doc/packages
|
||||||
License: LGPL v2.1 or later
|
%define bin_prefix /usr
|
||||||
Group: Productivity/Other
|
License: LGPL v2.1 or later
|
||||||
AutoReqProv: on
|
Group: Productivity/Other
|
||||||
# bug437293
|
AutoReqProv: on
|
||||||
%ifarch ppc64
|
# bug437293
|
||||||
Obsoletes: CASA-64bit
|
%ifarch ppc64
|
||||||
%endif
|
Obsoletes: CASA-64bit
|
||||||
#
|
%endif
|
||||||
%define bldno 1.1.1
|
#
|
||||||
Version: @VERSION@
|
%define bldno 1.1.1
|
||||||
Release: 15
|
Version: @VERSION@
|
||||||
Summary: Novell Common Authentication Services Adapter (CASA)
|
Release: 15
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Summary: Novell Common Authentication Services Adapter (CASA)
|
||||||
#Patch: %{name}-%{version}.diff
|
Source: %{name}-%{version}.tar.bz2
|
||||||
#Patch2: CASA-detect_lib64.patch
|
#Patch: %{name}-%{version}.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
#Patch2: CASA-detect_lib64.patch
|
||||||
Requires: mono >= 1.1.13 mono-core >= 1.1.13
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
Requires: mono >= 1.1.13 mono-core >= 1.1.13
|
||||||
#ExclusiveArch: %ix86 x86_64
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
#NoSource: 0
|
#ExclusiveArch: %ix86 x86_64
|
||||||
|
#NoSource: 0
|
||||||
%description
|
|
||||||
CASA (Common Authentication Services Adaptor) is a common
|
%description
|
||||||
authentication and security package providing a set of libraries for
|
CASA (Common Authentication Services Adaptor) is a common
|
||||||
application and service developers to provide single sign-on to an
|
authentication and security package providing a set of libraries for
|
||||||
enterprise network. CASA provides a local on box credential store that
|
application and service developers to provide single sign-on to an
|
||||||
is purely session based in 1.0. This store is populated with your
|
enterprise network. CASA provides a local on box credential store that
|
||||||
Desktop and Network Login credentials on Novell Linux Desktop, Windows
|
is purely session based in 1.0. This store is populated with your
|
||||||
and Apple workstations.
|
Desktop and Network Login credentials on Novell Linux Desktop, Windows
|
||||||
|
and Apple workstations.
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Novell, Inc.
|
Novell, Inc.
|
||||||
%package cli
|
|
||||||
License: LGPL v2.1 or later
|
%package cli
|
||||||
Summary: CASA Command Line Interface
|
License: LGPL v2.1 or later
|
||||||
Group: Productivity/Other
|
Summary: CASA Command Line Interface
|
||||||
Requires: CASA = %{version}
|
Group: Productivity/Other
|
||||||
|
Requires: CASA = %{version}
|
||||||
%description cli
|
|
||||||
This package contains a CLI (command line interface) that providesa way
|
%description cli
|
||||||
for administrators to set, reset or delete credentials used by
|
This package contains a CLI (command line interface) that provides a way
|
||||||
services. These credentials are stored in CASA.
|
for administrators to set, reset or delete credentials used by
|
||||||
|
services. These credentials are stored in CASA.
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Novell, Inc.
|
Novell, Inc.
|
||||||
%package devel
|
|
||||||
License: LGPL v2.1 or later
|
%package devel
|
||||||
Summary: CASA include Files and Libraries mandatory for Development
|
License: LGPL v2.1 or later
|
||||||
Group: Productivity/Other
|
Summary: CASA include Files and Libraries mandatory for Development
|
||||||
Requires: CASA >= 1.0.0
|
Group: Productivity/Other
|
||||||
|
Requires: CASA >= 1.0.0
|
||||||
%description devel
|
|
||||||
This package contains all necessary include files and libraries needed
|
%description devel
|
||||||
to develop applications that can use CASA (Common Authnetication
|
This package contains all necessary include files and libraries needed
|
||||||
Services Adapter)for credential storage and single sign-on.
|
to develop applications that can use CASA (Common Authnetication Services Adapter)
|
||||||
|
for credential storage and single sign-on.
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Novell, Inc.
|
Novell, Inc.
|
||||||
%package gui
|
|
||||||
License: LGPL v2.1 or later
|
%package gui
|
||||||
Summary: The CASA Console Utility
|
License: LGPL v2.1 or later
|
||||||
Group: Productivity/Other
|
Summary: The CASA Console Utility
|
||||||
#Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
|
Group: Productivity/Other
|
||||||
Requires: CASA = %{version} gtk-sharp2 >= 2.8.0 gtk2 >= 2.4.14
|
#Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14
|
||||||
|
Requires: CASA = %{version} gtk-sharp2 >= 2.8.0 gtk2 >= 2.4.14
|
||||||
%description gui
|
|
||||||
This package contains the CASA (Common Authnetication Services Adapter)
|
%description gui
|
||||||
Management application that allows you to manage credentials within
|
This package contains the CASA (Common Authnetication Services Adapter)
|
||||||
CASA and for your kwallet gnome keyring. Additionally, you can also
|
Management application that allows you to manage credentials within
|
||||||
link secrets to one another.
|
CASA and for your kwallet gnome keyring. Additionally, you can also
|
||||||
Authors:
|
link secrets to one another.
|
||||||
--------
|
|
||||||
Novell, Inc.
|
Authors:
|
||||||
|
--------
|
||||||
%prep
|
Novell, Inc.
|
||||||
%setup -q
|
|
||||||
#%patch
|
|
||||||
%if %{_lib} == "lib64"
|
%prep
|
||||||
%define binsource bin64
|
%setup -q
|
||||||
%else
|
#%patch
|
||||||
%define binsource bin
|
%if %{_lib} == "lib64"
|
||||||
%endif
|
%define binsource bin64
|
||||||
|
%else
|
||||||
|
%define binsource bin
|
||||||
%build
|
%endif
|
||||||
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
|
||||||
%if %suse_version > 1000
|
|
||||||
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
|
%build
|
||||||
%endif
|
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
||||||
|
%if %suse_version > 1000
|
||||||
./autogen.sh
|
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
|
||||||
make
|
%endif
|
||||||
|
|
||||||
%install
|
./autogen.sh
|
||||||
|
make
|
||||||
export NO_BRP_CHECK_BYTECODE_VERSION="true"
|
|
||||||
|
%install
|
||||||
mkdir -p %{buildroot}%{prefix}
|
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/share
|
export NO_BRP_CHECK_BYTECODE_VERSION="true"
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/share/java
|
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA
|
mkdir -p %{buildroot}%{prefix}
|
||||||
mkdir -p %{buildroot}%{prefix}/CASA
|
mkdir -p %{buildroot}%{bin_prefix}/share
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/%{_lib}
|
mkdir -p %{buildroot}%{bin_prefix}/share/java
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/bin
|
mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/sbin
|
mkdir -p %{buildroot}%{prefix}/CASA
|
||||||
mkdir -p %{buildroot}%{bin_prefix}/include
|
mkdir -p %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
mkdir -p %{buildroot}%{prefix}/CASA/images
|
mkdir -p %{buildroot}%{bin_prefix}/bin
|
||||||
mkdir -p %{buildroot}%{prefix}/CASA/help
|
mkdir -p %{buildroot}%{bin_prefix}/sbin
|
||||||
mkdir -p %{buildroot}%{prefix}/CASA/help/en
|
mkdir -p %{buildroot}%{bin_prefix}/include
|
||||||
mkdir -p %{buildroot}%{prefix}/CASA/doc
|
mkdir -p %{buildroot}%{prefix}/CASA/images
|
||||||
mkdir -p %{buildroot}/%{_lib}/security
|
mkdir -p %{buildroot}%{prefix}/CASA/help
|
||||||
mkdir -p %{buildroot}/etc/init.d
|
mkdir -p %{buildroot}%{prefix}/CASA/help/en
|
||||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
mkdir -p %{buildroot}%{prefix}/CASA/doc
|
||||||
mkdir -p %{buildroot}/etc/opt/novell/micasa
|
mkdir -p %{buildroot}/%{_lib}/security
|
||||||
|
mkdir -p %{buildroot}/etc/init.d
|
||||||
install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
mkdir -p %{buildroot}/etc/opt/novell/micasa
|
||||||
install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
|
||||||
install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.Common.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.A-D.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.CASAPolicy.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.Common.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.A-D.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib}
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.CASAPolicy.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{binsource}/%{cfg}/micasad-init %{buildroot}%{bin_prefix}/bin
|
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin
|
|
||||||
install -m 755 %{binsource}/%{cfg}/CASAcli %{buildroot}%{bin_prefix}/bin
|
install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin
|
||||||
install -m 755 gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin
|
install -m 755 %{binsource}/%{cfg}/micasad-init %{buildroot}%{bin_prefix}/bin
|
||||||
install -m 755 gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
|
install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin
|
||||||
install -m 644 gui/images/* %{buildroot}%{prefix}/CASA/images
|
install -m 755 %{binsource}/%{cfg}/CASAcli %{buildroot}%{bin_prefix}/bin
|
||||||
install -m 644 gui/help/en/* %{buildroot}%{prefix}/CASA/help/en
|
install -m 755 gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin
|
||||||
install -m 755 micasad/startup/micasad %{buildroot}/etc/init.d
|
install -m 755 gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
|
||||||
install -m 755 micasad/startup/micasad.sh %{buildroot}%{bin_prefix}/sbin
|
install -m 644 gui/images/* %{buildroot}%{prefix}/CASA/images
|
||||||
install -m 755 micasad/startup/casacfgpam %{buildroot}%{bin_prefix}/sbin
|
install -m 644 gui/help/en/* %{buildroot}%{prefix}/CASA/help/en
|
||||||
install -m 755 micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin
|
install -m 755 micasad/startup/micasad %{buildroot}/etc/init.d
|
||||||
install -m 755 micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin
|
install -m 755 micasad/startup/micasad.sh %{buildroot}%{bin_prefix}/sbin
|
||||||
install -m 755 micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin
|
install -m 755 micasad/startup/casacfgpam %{buildroot}%{bin_prefix}/sbin
|
||||||
install -m 755 micasad/startup/iscasaconfiged %{buildroot}%{bin_prefix}/sbin
|
install -m 755 micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin
|
||||||
install -m 600 micasad/startup/micasad.conf.xml %{buildroot}/etc/opt/novell/micasa
|
install -m 755 micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin
|
||||||
|
install -m 755 micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin
|
||||||
install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security
|
install -m 755 micasad/startup/iscasaconfiged %{buildroot}%{bin_prefix}/sbin
|
||||||
|
install -m 600 micasad/startup/micasad.conf.xml %{buildroot}/etc/opt/novell/micasa
|
||||||
install -d %{buildroot}%{bin_prefix}/%{_lib}
|
|
||||||
install -d %{buildroot}%{bin_prefix}/bin
|
install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security
|
||||||
install -d %{buildroot}%{bin_prefix}/sbin
|
|
||||||
install -d %{buildroot}%{bin_prefix}/include
|
install -d %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -d %{buildroot}%{prefix}/CASA/doc
|
install -d %{buildroot}%{bin_prefix}/bin
|
||||||
install -d %{buildroot}%{prefix}/CASA/images
|
install -d %{buildroot}%{bin_prefix}/sbin
|
||||||
install -d %{buildroot}%{prefix}/CASA/help/en
|
install -d %{buildroot}%{bin_prefix}/include
|
||||||
install -d %{buildroot}/%{_lib}/security
|
install -d %{buildroot}%{prefix}/CASA/doc
|
||||||
install -d %{buildroot}/etc/init.d
|
install -d %{buildroot}%{prefix}/CASA/images
|
||||||
|
install -d %{buildroot}%{prefix}/CASA/help/en
|
||||||
#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib}
|
install -d %{buildroot}/%{_lib}/security
|
||||||
install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib}
|
install -d %{buildroot}/etc/init.d
|
||||||
install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/share/java/CASA/miCASA.jar
|
|
||||||
|
#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
install -m 644 doc/product/casa_enu.pdf %{buildroot}%{prefix}/CASA/doc
|
install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib}
|
||||||
install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc
|
install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/share/java/CASA/miCASA.jar
|
||||||
install -m 644 doc/product/Readme.txt %{buildroot}%{prefix}/CASA/doc
|
|
||||||
install -m 644 include/micasa_mgmd.h %{buildroot}%{bin_prefix}/include
|
install -m 644 doc/product/casa_enu.pdf %{buildroot}%{prefix}/CASA/doc
|
||||||
install -m 644 include/micasa_types.h %{buildroot}%{bin_prefix}/include
|
install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc
|
||||||
install -m 644 include/sscs_string.h %{buildroot}%{bin_prefix}/include
|
install -m 644 doc/product/Readme.txt %{buildroot}%{prefix}/CASA/doc
|
||||||
install -m 644 include/sscs_utf8.h %{buildroot}%{bin_prefix}/include
|
install -m 644 include/micasa_mgmd.h %{buildroot}%{bin_prefix}/include
|
||||||
install -m 644 include/micasa.h %{buildroot}%{bin_prefix}/include
|
install -m 644 include/micasa_types.h %{buildroot}%{bin_prefix}/include
|
||||||
install -m 644 include/casa_status.h %{buildroot}%{bin_prefix}/include
|
install -m 644 include/sscs_string.h %{buildroot}%{bin_prefix}/include
|
||||||
|
install -m 644 include/sscs_utf8.h %{buildroot}%{bin_prefix}/include
|
||||||
ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so
|
install -m 644 include/micasa.h %{buildroot}%{bin_prefix}/include
|
||||||
ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so.1
|
install -m 644 include/casa_status.h %{buildroot}%{bin_prefix}/include
|
||||||
ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so
|
|
||||||
ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1
|
ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so
|
||||||
|
ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so.1
|
||||||
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so
|
ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so
|
||||||
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1
|
ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1
|
||||||
|
|
||||||
ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so
|
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so
|
||||||
ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so.1
|
ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1
|
||||||
|
|
||||||
ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad
|
ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so
|
||||||
echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf
|
ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so.1
|
||||||
|
|
||||||
install -d %{buildroot}/usr/share/applications
|
ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad
|
||||||
install gui/CASAManager.desktop %{buildroot}/usr/share/applications
|
echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf
|
||||||
%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal
|
|
||||||
%post
|
install -d %{buildroot}/usr/share/applications
|
||||||
%{fillup_and_insserv micasad}
|
install gui/CASAManager.desktop %{buildroot}/usr/share/applications
|
||||||
|
%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal
|
||||||
/sbin/ldconfig
|
%post
|
||||||
|
%{fillup_and_insserv micasad}
|
||||||
%post gui
|
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%preun
|
%post gui
|
||||||
%stop_on_removal micasad
|
/sbin/ldconfig
|
||||||
|
|
||||||
if [ "x$1" = "x0" ]
|
%preun
|
||||||
then
|
%stop_on_removal micasad
|
||||||
/usr/sbin/casaucfgpam
|
|
||||||
fi
|
if [ "x$1" = "x0" ]
|
||||||
|
then
|
||||||
|
/usr/sbin/casaucfgpam
|
||||||
%postun
|
fi
|
||||||
%restart_on_update micasad
|
|
||||||
%insserv_cleanup
|
|
||||||
/sbin/ldconfig
|
%postun
|
||||||
|
%restart_on_update micasad
|
||||||
%postun gui
|
%insserv_cleanup
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%postun gui
|
||||||
rm -rf $RPM_BUILD_ROOT
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%clean
|
||||||
%defattr(-,root,root)
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%dir %{bin_prefix}/share/java/CASA
|
|
||||||
%dir %{prefix}/CASA
|
%files
|
||||||
%dir %{prefix}/CASA/doc
|
%defattr(-,root,root)
|
||||||
%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno}
|
%dir %{bin_prefix}/share/java/CASA
|
||||||
%dir %{bin_prefix}/%{_lib}/libmicasa.so
|
%dir %{prefix}/CASA
|
||||||
%dir %{bin_prefix}/%{_lib}/libmicasa.so.1
|
%dir %{prefix}/CASA/doc
|
||||||
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.%{bldno}
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno}
|
||||||
%dir %{bin_prefix}/%{_lib}/libjmicasa.so
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so
|
||||||
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1
|
%dir %{bin_prefix}/%{_lib}/libmicasa.so.1
|
||||||
%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.%{bldno}
|
||||||
%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so
|
||||||
%dir %{bin_prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll
|
%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1
|
||||||
%dir /etc/opt/novell
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll
|
||||||
%dir /etc/opt/novell/micasa
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll
|
||||||
|
%dir %{bin_prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll
|
||||||
/etc/init.d/micasad
|
%dir /etc/opt/novell
|
||||||
/%{_lib}/security/pam_micasa.so
|
%dir /etc/opt/novell/micasa
|
||||||
/etc/ld.so.conf.d/CASA.conf
|
|
||||||
|
/etc/init.d/micasad
|
||||||
%{bin_prefix}/sbin/rcmicasad
|
/%{_lib}/security/pam_micasa.so
|
||||||
%{bin_prefix}/sbin/casacfgpam
|
/etc/ld.so.conf.d/CASA.conf
|
||||||
%{bin_prefix}/sbin/casaucfgpam
|
|
||||||
%{bin_prefix}/sbin/installcasa
|
%{bin_prefix}/sbin/rcmicasad
|
||||||
%{bin_prefix}/sbin/uninstallcasa
|
%{bin_prefix}/sbin/casacfgpam
|
||||||
%{bin_prefix}/sbin/iscasaconfiged
|
%{bin_prefix}/sbin/casaucfgpam
|
||||||
%{bin_prefix}/sbin/micasad.sh
|
%{bin_prefix}/sbin/installcasa
|
||||||
%{bin_prefix}/%{_lib}/miCASA.jar
|
%{bin_prefix}/sbin/uninstallcasa
|
||||||
%{bin_prefix}/share/java/CASA/miCASA.jar
|
%{bin_prefix}/sbin/iscasaconfiged
|
||||||
|
%{bin_prefix}/sbin/micasad.sh
|
||||||
%{bin_prefix}/bin/micasad.exe
|
%{bin_prefix}/%{_lib}/miCASA.jar
|
||||||
%{bin_prefix}/bin/micasad-init
|
%{bin_prefix}/share/java/CASA/miCASA.jar
|
||||||
/etc/opt/novell/micasa/micasad.conf.xml
|
|
||||||
|
%{bin_prefix}/bin/micasad.exe
|
||||||
%{prefix}/CASA/doc/casa_enu.pdf
|
%{bin_prefix}/bin/micasad-init
|
||||||
%{prefix}/CASA/doc/License.txt
|
/etc/opt/novell/micasa/micasad.conf.xml
|
||||||
%{prefix}/CASA/doc/Readme.txt
|
|
||||||
|
%{prefix}/CASA/doc/casa_enu.pdf
|
||||||
%files cli
|
%{prefix}/CASA/doc/License.txt
|
||||||
%defattr(-,root,root)
|
%{prefix}/CASA/doc/Readme.txt
|
||||||
%{bin_prefix}/bin/CASAcli
|
|
||||||
|
%files cli
|
||||||
%files devel
|
%defattr(-,root,root)
|
||||||
%defattr(-,root,root)
|
%{bin_prefix}/bin/CASAcli
|
||||||
%{bin_prefix}/include/micasa_mgmd.h
|
|
||||||
%{bin_prefix}/include/micasa_types.h
|
%files devel
|
||||||
%{bin_prefix}/include/sscs_string.h
|
%defattr(-,root,root)
|
||||||
%{bin_prefix}/include/sscs_utf8.h
|
%{bin_prefix}/include/micasa_mgmd.h
|
||||||
%{bin_prefix}/include/micasa.h
|
%{bin_prefix}/include/micasa_types.h
|
||||||
%{bin_prefix}/include/casa_status.h
|
%{bin_prefix}/include/sscs_string.h
|
||||||
|
%{bin_prefix}/include/sscs_utf8.h
|
||||||
%files gui
|
%{bin_prefix}/include/micasa.h
|
||||||
%defattr(-,root,root)
|
%{bin_prefix}/include/casa_status.h
|
||||||
%{bin_prefix}/bin/CASAManager.sh
|
|
||||||
%{bin_prefix}/bin/CASAManager.exe.config
|
%files gui
|
||||||
%{bin_prefix}/bin/CASAManager.exe
|
%defattr(-,root,root)
|
||||||
%{bin_prefix}/share/applications/CASAManager.desktop
|
%{bin_prefix}/bin/CASAManager.sh
|
||||||
|
%{bin_prefix}/bin/CASAManager.exe.config
|
||||||
%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno}
|
%{bin_prefix}/bin/CASAManager.exe
|
||||||
%{bin_prefix}/%{_lib}/libad_gk.so
|
%{bin_prefix}/share/applications/CASAManager.desktop
|
||||||
%{bin_prefix}/%{_lib}/libad_gk.so.1
|
|
||||||
%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno}
|
%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno}
|
||||||
%{bin_prefix}/%{_lib}/libad_ff.so
|
%{bin_prefix}/%{_lib}/libad_gk.so
|
||||||
%{bin_prefix}/%{_lib}/libad_ff.so.1
|
%{bin_prefix}/%{_lib}/libad_gk.so.1
|
||||||
%{bin_prefix}/%{_lib}/Novell.CASA.A-D.dll
|
%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno}
|
||||||
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
%{bin_prefix}/%{_lib}/libad_ff.so
|
||||||
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
%{bin_prefix}/%{_lib}/libad_ff.so.1
|
||||||
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.FireFox.dll
|
%{bin_prefix}/%{_lib}/Novell.CASA.A-D.dll
|
||||||
|
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll
|
||||||
%dir %{prefix}/CASA/images
|
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll
|
||||||
%{prefix}/CASA/images/*
|
%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.FireFox.dll
|
||||||
|
|
||||||
%dir %{prefix}/CASA/help
|
%dir %{prefix}/CASA/images
|
||||||
%dir %{prefix}/CASA/help/en
|
%{prefix}/CASA/images/*
|
||||||
%{prefix}/CASA/help/en/*
|
|
||||||
|
%dir %{prefix}/CASA/help
|
||||||
%changelog -n CASA
|
%dir %{prefix}/CASA/help/en
|
||||||
|
%{prefix}/CASA/help/en/*
|
||||||
|
|
||||||
|
%changelog -n CASA
|
||||||
|
Loading…
Reference in New Issue
Block a user