|
@@ -4,10 +4,13 @@
|
|
%global WITH_OPENSSL 1
|
|
%global WITH_OPENSSL 1
|
|
%global WITH_DIRSRV 1
|
|
%global WITH_DIRSRV 1
|
|
|
|
|
|
|
|
+# This'll be pulled out at some point.
|
|
|
|
+%define build_static 0
|
|
|
|
+
|
|
Summary: The Kerberos network authentication system
|
|
Summary: The Kerberos network authentication system
|
|
Name: krb5
|
|
Name: krb5
|
|
Version: 1.8.2
|
|
Version: 1.8.2
|
|
-Release: 2%{_dist_release}
|
|
+Release: 3%{_dist_release}
|
|
|
|
|
|
# Maybe we should explode from the now-available-to-everybody tarball instead?
|
|
# Maybe we should explode from the now-available-to-everybody tarball instead?
|
|
# http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.2-signed.tar
|
|
# http://web.mit.edu/kerberos/dist/krb5/1.8/krb5-1.8.2-signed.tar
|
|
@@ -169,6 +172,20 @@ to obtain initial credentials from a KDC using a private key and a
|
|
certificate.
|
|
certificate.
|
|
|
|
|
|
# compat32
|
|
# compat32
|
|
|
|
+%package -n compat32-%{name}-devel
|
|
|
|
+Summary: Development files needed to compile Kerberos 5 programs.
|
|
|
|
+Summary(ja): Kerberos 5 プログラムをコンパイルするために必要な開発ファイル
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: compat32-%{name}-libs = %{version}-%{release}
|
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
+Requires: compat32-e2fsprogs-devel
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-devel
|
|
|
|
+Kerberos is a network authentication system. The krb5-devel package
|
|
|
|
+contains the header files and libraries needed for compiling Kerberos
|
|
|
|
+5 programs. If you want to develop Kerberos-aware programs, you need
|
|
|
|
+to install this package.
|
|
|
|
+
|
|
%package -n compat32-%{name}-libs
|
|
%package -n compat32-%{name}-libs
|
|
Summary: The shared libraries used by Kerberos 5.
|
|
Summary: The shared libraries used by Kerberos 5.
|
|
Summary(ja): Kerberos 5 の共有ライブラリ
|
|
Summary(ja): Kerberos 5 の共有ライブラリ
|
|
@@ -300,6 +317,9 @@ CPPFLAGS="`echo $DEFINES $INCLUDES`"
|
|
SS_LIB="-lss -lncurses" \
|
|
SS_LIB="-lss -lncurses" \
|
|
%endif
|
|
%endif
|
|
--enable-shared \
|
|
--enable-shared \
|
|
|
|
+%if %{build_static}
|
|
|
|
+ --enable-static \
|
|
|
|
+%endif
|
|
--localstatedir=%{_var}/kerberos \
|
|
--localstatedir=%{_var}/kerberos \
|
|
--disable-rpath \
|
|
--disable-rpath \
|
|
--with-system-et \
|
|
--with-system-et \
|
|
@@ -655,6 +675,9 @@ exit 0
|
|
%{_libdir}/libkdb5.so
|
|
%{_libdir}/libkdb5.so
|
|
%{_libdir}/libkrb5.so
|
|
%{_libdir}/libkrb5.so
|
|
%{_libdir}/libkrb5support.so
|
|
%{_libdir}/libkrb5support.so
|
|
|
|
+%if %{build_static}
|
|
|
|
+%{_libdir}/*.a
|
|
|
|
+%endif
|
|
|
|
|
|
%{_bindir}/krb5-config
|
|
%{_bindir}/krb5-config
|
|
%{_bindir}/sclient
|
|
%{_bindir}/sclient
|
|
@@ -700,9 +723,28 @@ exit 0
|
|
%{_libdir}/krb5/plugins/preauth/pkinit.so
|
|
%{_libdir}/krb5/plugins/preauth/pkinit.so
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+%files -n compat32-%{name}-devel
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_libdir}/libgssapi_krb5.so
|
|
|
|
+%{_libdir}/libgssrpc.so
|
|
|
|
+%{_libdir}/libk5crypto.so
|
|
|
|
+%{_libdir}/libkadm5clnt.so
|
|
|
|
+%{_libdir}/libkadm5clnt_mit.so
|
|
|
|
+%{_libdir}/libkadm5srv.so
|
|
|
|
+%{_libdir}/libkadm5srv_mit.so
|
|
|
|
+%{_libdir}/libkdb5.so
|
|
|
|
+%{_libdir}/libkrb5.so
|
|
|
|
+%{_libdir}/libkrb5support.so
|
|
|
|
+%if %{build_static}
|
|
|
|
+%{_libdir}/*.a
|
|
|
|
+%endif
|
|
|
|
+
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Mar 21 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.2-3
|
|
|
|
+- fix compat32-devel package missing...
|
|
|
|
+
|
|
* Mon Mar 21 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.2-2
|
|
* Mon Mar 21 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.2-2
|
|
- add Obsoletes: krb5-workstation-clients, krb5-workstation-servers into workstation pkg
|
|
- add Obsoletes: krb5-workstation-clients, krb5-workstation-servers into workstation pkg
|
|
|
|
|