This commit is contained in:
parent
75aa6b241a
commit
4a829aba80
@ -9,9 +9,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
# neededforbuild gnome-filesystem mono
|
# neededforbuild gnome-filesystem mono gtk2-devel gtk2 gtk-sharp-gapi gtk-sharp
|
||||||
|
|
||||||
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext gnome-filesystem libtool perl rpm
|
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext gnome-filesystem libtool perl rpm gtk-sharp gtk2 mono glib2 glib2-32
|
||||||
|
|
||||||
Name: CASA
|
Name: CASA
|
||||||
URL: http://www.novell.com/products
|
URL: http://www.novell.com/products
|
||||||
@ -24,7 +24,7 @@ Release: 0
|
|||||||
Summary: Novell Common Authentication Service Adapter (CASA)
|
Summary: Novell Common Authentication Service Adapter (CASA)
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: mono >= 1.1.8
|
Requires: mono >= 1.1.8 gtk-sharp >= 1.0.9 gtk2 >= 2.4.14
|
||||||
ExclusiveArch: %ix86 x86_64
|
ExclusiveArch: %ix86 x86_64
|
||||||
NoSource: 0
|
NoSource: 0
|
||||||
|
|
||||||
@ -54,6 +54,8 @@ to develop applications that require these.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
export PATH=.:$PATH
|
||||||
mk-cai-all
|
mk-cai-all
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{prefix}
|
mkdir -p %{buildroot}%{prefix}
|
||||||
@ -61,7 +63,7 @@ mkdir %{buildroot}%{prefix}/CASA
|
|||||||
#mkdir %{buildroot}%{prefix}/%{_lib}
|
#mkdir %{buildroot}%{prefix}/%{_lib}
|
||||||
mkdir %{buildroot}%{prefix}/CASA/%{_lib}
|
mkdir %{buildroot}%{prefix}/CASA/%{_lib}
|
||||||
#mkdir %{buildroot}%{prefix}/bin
|
#mkdir %{buildroot}%{prefix}/bin
|
||||||
mkdir %{buildroot}%{prefix}/CASA/bin
|
mkdir %{buildroot}%{prefix}/CASA/%{binsource}
|
||||||
#mkdir %{buildroot}%{prefix}/include
|
#mkdir %{buildroot}%{prefix}/include
|
||||||
mkdir %{buildroot}%{prefix}/CASA/include
|
mkdir %{buildroot}%{prefix}/CASA/include
|
||||||
mkdir %{buildroot}%{prefix}/CASA/images
|
mkdir %{buildroot}%{prefix}/CASA/images
|
||||||
@ -107,12 +109,12 @@ install -d %{buildroot}/%{_lib}/security
|
|||||||
#install -m 644 doc/miCASA_API_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
#install -m 644 doc/miCASA_API_Guide.pdf %{buildroot}%{prefix}/CASA/doc
|
||||||
#install -m 644 doc/README.txt %{buildroot}%{prefix}/CASA/doc
|
#install -m 644 doc/README.txt %{buildroot}%{prefix}/CASA/doc
|
||||||
|
|
||||||
ln -s ../CASA/bin/micasad.exe %{buildroot}%{prefix}/bin/micasad.exe
|
ln -s ../CASA/%{binsource}/micasad.exe %{buildroot}%{prefix}/%{binsource}/micasad.exe
|
||||||
ln -s ../CASA/bin/micasad.sh %{buildroot}%{prefix}/bin/micasad.sh
|
ln -s ../CASA/%{binsource}/micasad.sh %{buildroot}%{prefix}/%{binsource}/micasad.sh
|
||||||
ln -s ../CASA/bin/micasad %{buildroot}%{prefix}/bin/micasad
|
ln -s ../CASA/%{binsource}/micasad %{buildroot}%{prefix}/%{binsource}/micasad
|
||||||
ln -s ../CASA/bin/CASAManager.exe %{buildroot}%{prefix}/bin/CASAManager.exe
|
ln -s ../CASA/%{binsource}/CASAManager.exe %{buildroot}%{prefix}/%{binsource}/CASAManager.exe
|
||||||
ln -s ../CASA/bin/CASAManager.sh %{buildroot}%{prefix}/bin/CASAManager.sh
|
ln -s ../CASA/%{binsource}/CASAManager.sh %{buildroot}%{prefix}/%{binsource}/CASAManager.sh
|
||||||
ln -s ../CASA/bin/CASATrayApp.exe %{buildroot}%{prefix}/bin/CASATrayApp.exe
|
ln -s ../CASA/%{binsource}/CASATrayApp.exe %{buildroot}%{prefix}/%{binsource}/CASATrayApp.exe
|
||||||
|
|
||||||
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so
|
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so
|
||||||
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so.1
|
ln -s libmicasa.so.%{version} %{buildroot}%{prefix}/CASA/%{_lib}/libmicasa.so.1
|
||||||
@ -141,7 +143,7 @@ ln -s ../CASA/include/micasa.h %{buildroot}%{prefix}/include/micasa.h
|
|||||||
ln -s ../CASA/include/micasa_mgmd.h %{buildroot}%{prefix}/include/micasa_mgmd.h
|
ln -s ../CASA/include/micasa_mgmd.h %{buildroot}%{prefix}/include/micasa_mgmd.h
|
||||||
|
|
||||||
mkdir -p %{buildroot}/etc/init.d
|
mkdir -p %{buildroot}/etc/init.d
|
||||||
cp %{buildroot}%{prefix}/CASA/bin/micasad %{buildroot}/etc/init.d
|
cp %{buildroot}%{prefix}/CASA/%{binsource}/micasad %{buildroot}/etc/init.d
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
echo "/opt/novell/CASA/lib64/" >> /etc/ld.so.conf
|
echo "/opt/novell/CASA/lib64/" >> /etc/ld.so.conf
|
||||||
@ -248,10 +250,10 @@ insserv -r /etc/init.d/micasad
|
|||||||
%dir %{prefix}/%{_lib}/*
|
%dir %{prefix}/%{_lib}/*
|
||||||
%dir %{prefix}/CASA/%{_lib}
|
%dir %{prefix}/CASA/%{_lib}
|
||||||
%dir %{prefix}/CASA/%{_lib}/*
|
%dir %{prefix}/CASA/%{_lib}/*
|
||||||
%dir %{prefix}/bin
|
%dir %{prefix}/%{binsource}
|
||||||
%dir %{prefix}/bin/*
|
%dir %{prefix}/%{binsource}/*
|
||||||
%dir %{prefix}/CASA/bin
|
%dir %{prefix}/CASA/%{binsource}
|
||||||
%dir %{prefix}/CASA/bin/*
|
%dir %{prefix}/CASA/%{binsource}/*
|
||||||
%dir %{prefix}/CASA/doc
|
%dir %{prefix}/CASA/doc
|
||||||
%dir %{prefix}/CASA/images
|
%dir %{prefix}/CASA/images
|
||||||
%dir %{prefix}/CASA/images/*
|
%dir %{prefix}/CASA/images/*
|
||||||
|
Loading…
Reference in New Issue
Block a user