gridsite-1.5-compat package.

diff --git a/src/Makefile b/src/Makefile
index eae692e..6378d34 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -90,6 +90,10 @@ libgridsite.so.$(VERSION): grst_err.o grst_x509.o grst_gacl.o grst_xacml.o \
          grst_asn1.o grst_htcp.o -lcrypto $(XML2_LIBS)
 	ln -sf libgridsite.so.$(VERSION) libgridsite.so
 	ln -sf libgridsite.so.$(VERSION) libgridsite.so.$(MINOR_VERSION)
+	gcc -shared -Wl,-soname,libgridsite.so.1.5 \
+         -o libgridsite.so.1.5 \
+         grst_err.o grst_x509.o grst_gacl.o grst_xacml.o grst_http.o \
+         grst_asn1.o grst_htcp.o -lcrypto $(XML2_LIBS)
 
 libgridsite.a: grst_err.o grst_x509.o grst_gacl.o grst_xacml.o grst_http.o grst_asn1.o grst_htcp.o
 	ar src libgridsite.a grst_err.o grst_x509.o grst_gacl.o grst_xacml.o grst_http.o grst_asn1.o grst_htcp.o
@@ -135,6 +139,10 @@ libgridsite_globus.so.$(VERSION): grst_err_globus.o \
          grst_err_globus.o grst_x509_globus.o grst_gacl_globus.o grst_xacml_globus.o \
          grst_http_globus.o grst_asn1_globus.o $(XML2_LIBS)
 	ln -sf libgridsite_globus.so.$(VERSION) libgridsite_globus.so
+	gcc -shared -Wl,-soname,libgridsite_globus.so.1.5 \
+         -o libgridsite_globus.so.1.5 \
+         grst_err_globus.o grst_x509_globus.o grst_gacl_globus.o grst_xacml_globus.o \
+         grst_http_globus.o grst_asn1_globus.o $(XML2_LIBS)
 
 libgridsite_globus.a: grst_err_globus.o grst_x509_globus.o grst_gacl_globus.o grst_http_globus.o grst_asn1_globus.o
 	ar src libgridsite_globus.a \
@@ -180,6 +188,7 @@ else
 
 libgridsite_globus.so.$(VERSION): libgridsite.so.$(VERSION)
 	cp -f libgridsite.so.$(VERSION) libgridsite_globus.so.$(VERSION)
+	cp -f libgridsite.so.1.5 libgridsite_globus.so.1.5
 
 libgridsite_globus.a: libgridsite.a
 	cp -f libgridsite.a libgridsite_globus.a
@@ -196,6 +205,10 @@ libgridsite_nossl.so.$(VERSION): grst_err_nossl.o \
          grst_err_nossl.o grst_gacl_nossl.o grst_xacml_nossl.o \
          grst_http_nossl.o grst_htcp_nossl.o $(XML2_LIBS)
 	ln -sf libgridsite_nossl.so.$(VERSION) libgridsite_nossl.so
+	gcc -shared -Wl,-soname,libgridsite_nossl.so.1.5 \
+         -o libgridsite_nossl.so.1.5 \
+         grst_err_nossl.o grst_gacl_nossl.o grst_xacml_nossl.o \
+         grst_http_nossl.o grst_htcp_nossl.o $(XML2_LIBS)
 
 libgridsite_nossl.a: grst_err_nossl.o grst_gacl_nossl.o grst_http_nossl.o grst_htcp_nossl.o
 	ar src libgridsite_nossl.a \
@@ -468,6 +481,9 @@ install-lib:
                                  $(prefix)/$(libdir)/libgridsite_nossl.so.$(MAJOR_VERSION)
 	ln -sf libgridsite_nossl.so.$(PATCH_VERSION) \
                                  $(prefix)/$(libdir)/libgridsite_nossl.so.$(MINOR_VERSION)
+	cp -f  libgridsite.so.1.5 $(prefix)/$(libdir)
+	cp -f  libgridsite_globus.so.1.5 $(prefix)/$(libdir)
+	cp -f  libgridsite_nossl.so.1.5 $(prefix)/$(libdir)
 
 install-slashgrid: slashgrid
 	cp -f slashgrid $(prefix)/sbin
diff --git a/src/make-gridsite-spec b/src/make-gridsite-spec
index 372214c..b6cd7ba 100755
--- a/src/make-gridsite-spec
+++ b/src/make-gridsite-spec
@@ -311,6 +311,23 @@ See http://www.gridsite.org/ for details.
 %attr(-, root, root) %{_prefix}/share/doc/gridsite-${MINOR_VERSION:-1.x}/htproxyrenew.1
 %attr(-, root, root) %{_prefix}/share/doc/gridsite-${MINOR_VERSION:-1.x}/htproxyinfo.1
 
+%package 1.5-compat
+Group: Development/Libraries
+Summary: GridSite 1.5 compatibility package
+Requires: gridsite-shared
+
+%description 1.5-compat
+GridSite 1.5 compatibility package.
+
+%files 1.5-compat
+%attr(-, root, root) %{_prefix}/%{_lib}/libgridsite.so.1.5
+%attr(-, root, root) %{_prefix}/%{_lib}/libgridsite_globus.so.1.5
+%attr(-, root, root) %{_prefix}/%{_lib}/libgridsite_nossl.so.1.5
+
+%post 1.5-compat -p /sbin/ldconfig
+
+%postun 1.5-compat -p /sbin/ldconfig
+
 EOF
 
 LC_LANG=C cat >> gridsite.spec <<EOF
