File identity-abstraction.spec of Package identity-abstraction

#
# spec file for package identity-abstraction (Version 0.1.620)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           identity-abstraction
%define prefix /usr			
#change xerces-j2 to xerces-j2 for suse autobuild 
Requires:       jre >= 1.5.0 log4j xerces-j2 xml-commons-apis xalan-j2
BuildRequires:  ant ant-nodeps java-sdk >= 1.5.0 log4j update-alternatives xalan-j2 xerces-j2 xml-commons-apis
Version:        0.1.620
Release:        186
Summary:        A Java open source implementation of an identity-abstraction sdk
Url:            http://www.bandit-project.org
License:        LGPL v2.1 or later
Group:          Development/Libraries/Java
Source:         identity-abstraction-0.1.620-devel.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
The Bandit Identity Abstraction assists applications in constructing,
comparing, querying, and authenticating digital identities.



Authors:
--------
    Duane Buss
    Jim Sermersheim
    Tom Doman

%prep
echo "running prep - $RPM_BUILD_ROOT"
rm -rf $RPM_BUILD_ROOT
%setup -n %{name}-0.1
#%setup -q			
echo "running setup"

%build
echo >>build.properties
echo RPM_BUILD_ROOT=$RPM_BUILD_ROOT >>build.properties
echo installdirbase=../commons/bin/identity-abstraction  >>build.properties
echo BanditUtils.home=../bandit-util-0.2 >>build.properties
ant rpm-compile

%install
export NO_BRP_CHECK_BYTECODE_VERSION=true
install -d -m 755 $RPM_BUILD_ROOT/usr/share/java/identity-abstraction
install -m 644 ../commons/bin/dom4j-1.6.1.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/dom4j-1.6.1.jar
install -m 644 ../commons/bin/jaxen-1.1-beta-12.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/jaxen-1.1-beta-12.jar
install -m 644 ../commons/bin/sunxacml-exp.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/sunxacml-exp.jar
install -m 644 ../commons/bin/sunxacml-support-exp.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/sunxacml-support-exp.jar			
install -m 644 ../commons/bin/ldap.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/ldap.jar			
install -m 644 ../commons/bin/castor-1.0.4.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/castor-1.0.4.jar			
install -m 644 ../bandit-util-0.2/build/bandit-util-0.2.620.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/bandit-util-0.2.620.jar
install -m 644 build/identity-abstraction-0.1.620.jar  $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/identity-abstraction-0.1.620.jar
ln -sf bandit-util-0.2.620.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/bandit-util.jar
ln -sf identity-abstraction-0.1.620.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/identity-abstraction.jar
#ln -sf ../commons/bin/xerces-j2.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/xerces-j2.jar
#ln -sf ../commons/bin/xml-commons-apis.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/xml-commons-apis.jar
#ln -sf ../commons/bin/log4j.jar $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/log4j.jar
#ln -sf identity-abstraction-0.1.620 $RPM_BUILD_ROOT/usr/share/java/identity-abstraction/identity-abstraction

%clean
echo "running clean"
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir //usr/share/java/identity-abstraction
//usr/share/java/identity-abstraction/*.jar

%changelog
* Fri Aug 01 2008 ro@suse.de
- use generic names for java in requires and buildrequires
* Fri Jun 29 2007 dbuss@novell.com
- Fixed defect 288368, ldap vs ldaps on the custom trust store
  socket factory
* Fri Apr 06 2007 dbuss@novell.com
- tweak for svn changes
* Wed Feb 28 2007 dbuss@novell.com
- updated build fileds to copy not move shared jar
* Sat Jan 27 2007 dbuss@novell.com
- new sunxacml
* Mon Jan 22 2007 dbuss@novell.com
- Changed java to jre on requires line
* Fri Jan 12 2007 dbuss@novell.com
- remove build.properties from devl tar
* Tue Jan 09 2007 dbuss@novell.com
- remove symbolic links
* Sat Jan 06 2007 dbuss@novell.com
- more tweaks so util will build from source not from included jar
* Mon Dec 11 2006 dbuss@novell.com
- moved to jaxen 1.1-12, added more error tracking
* Sat Dec 09 2006 mfassbinder@novell.com
- changed java_sdk_1.5.0 to java-sdk-1.5.0
* Sat Dec 09 2006 dbuss@novell.com
- changed build depend to java_1.5.0
* Tue Oct 17 2006 ro@suse.de
- use java2-devel-packages in BuildRequires
* Mon Oct 16 2006 schwab@suse.de
- Use java-1_5_0-bea on ia64 and java-1_5_0-ibm on IBM architectures.
* Wed Oct 11 2006 dbuss@novell.com
- performance enhancements
* Fri Sep 29 2006 ro@suse.de
- allow java 1.5 (source uses 1.5 features)
* Mon Aug 21 2006 ro@suse.de
- added link targets to buildrequires
* Mon Aug 14 2006 dbuss@novell.com
- added symbolic links to package for casa
* Tue Jul 25 2006 dbuss@novell.com
- More spec file changes
* Fri Jul 14 2006 dbuss@novell.com
- spec file changes
* Tue Jun 20 2006 dbuss@novell.com
- Initial submission