2011-02-18 07:03:33 +00:00
|
|
|
%global spname ldapsp
|
|
|
|
%global filtname ldapfilt
|
|
|
|
%global beansname ldapbeans
|
2004-09-09 07:11:38 +00:00
|
|
|
|
2006-07-19 13:42:21 +00:00
|
|
|
Name: ldapjdk
|
2008-02-20 02:29:40 +00:00
|
|
|
Version: 4.18
|
2013-08-03 04:22:48 +00:00
|
|
|
Release: 14%{?dist}
|
2004-09-09 07:11:38 +00:00
|
|
|
Epoch: 0
|
|
|
|
Summary: The Mozilla LDAP Java SDK
|
2008-05-29 14:28:42 +00:00
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
2004-09-09 07:11:38 +00:00
|
|
|
Group: Development/Java
|
|
|
|
URL: http://www.mozilla.org/directory/javasdk.html
|
2008-02-20 02:29:40 +00:00
|
|
|
# mkdir ldapjdk-4.18 ;
|
|
|
|
# cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot Export -r LDAPJavaSDK_418 DirectorySDKSourceJava
|
|
|
|
# tar -zcf ldapjdk-4.18,tar.gz ldapjdk-4.18
|
2012-11-14 01:28:02 +00:00
|
|
|
Source: http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz
|
2012-08-24 01:04:31 +00:00
|
|
|
# originally taken from http://mirrors.ibiblio.org/pub/mirrors/maven2/ldapsdk/ldapsdk/4.1/ldapsdk-4.1.pom
|
|
|
|
# changed: gId, aId and version
|
2012-11-14 01:28:02 +00:00
|
|
|
Source1: http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.pom
|
2009-03-20 20:56:37 +00:00
|
|
|
Patch0: %{name}-jarnamefix.patch
|
2011-03-31 21:51:44 +00:00
|
|
|
Patch1: matching-rule-parsing-640750.patch
|
2008-02-20 02:29:40 +00:00
|
|
|
|
2004-09-09 07:11:38 +00:00
|
|
|
Requires: jpackage-utils >= 0:1.5
|
2008-02-20 02:29:40 +00:00
|
|
|
Requires: jss
|
|
|
|
BuildRequires: ant
|
2004-09-09 07:11:38 +00:00
|
|
|
BuildRequires: jpackage-utils >= 0:1.5
|
2008-02-20 02:29:40 +00:00
|
|
|
BuildRequires: jss
|
|
|
|
|
2004-09-09 07:11:38 +00:00
|
|
|
Provides: jndi-ldap = 1.3.0
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Mozilla LDAP SDKs enable you to write applications which access,
|
|
|
|
manage, and update the information stored in an LDAP directory.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Development/Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Obsoletes: openjmx-javadoc
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
Javadoc for %{name}
|
|
|
|
|
|
|
|
%prep
|
2009-03-20 20:56:37 +00:00
|
|
|
%setup -q
|
2008-02-20 02:29:40 +00:00
|
|
|
# Remove all bundled jars, we must build against build-system jars
|
|
|
|
rm -f ./mozilla/directory/java-sdk/ldapjdk/lib/{jss32_stub,jsse,jnet,jaas,jndi}.jar
|
2005-01-21 12:30:14 +00:00
|
|
|
|
2009-03-20 20:56:37 +00:00
|
|
|
%patch0 -p1
|
2011-03-31 21:51:44 +00:00
|
|
|
%patch1 -p1
|
2009-03-20 20:56:37 +00:00
|
|
|
|
2004-09-09 07:11:38 +00:00
|
|
|
%build
|
|
|
|
# cleanup CVS dirs
|
|
|
|
rm -fr $(find . -name CVS -type d)
|
2008-02-20 02:29:40 +00:00
|
|
|
# Link to build-system BRs
|
2009-03-20 20:56:37 +00:00
|
|
|
pwd
|
|
|
|
( cd mozilla/directory/java-sdk/ldapjdk/lib && build-jar-repository -s -p . jss4 jsse jaas jndi )
|
|
|
|
cd mozilla/directory/java-sdk
|
2004-09-09 07:11:38 +00:00
|
|
|
if [ ! -e "$JAVA_HOME" ] ; then export JAVA_HOME="%{_jvmdir}/java" ; fi
|
2009-03-20 20:56:37 +00:00
|
|
|
sh -x ant dist
|
2004-09-09 07:11:38 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
2011-02-18 07:03:33 +00:00
|
|
|
install -m 644 mozilla/directory/java-sdk/dist/packages/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
|
|
|
install -m 644 mozilla/directory/java-sdk/dist/packages/%{spname}.jar $RPM_BUILD_ROOT%{_javadir}/%{spname}.jar
|
|
|
|
install -m 644 mozilla/directory/java-sdk/dist/packages/%{filtname}.jar $RPM_BUILD_ROOT%{_javadir}/%{filtname}.jar
|
|
|
|
install -m 644 mozilla/directory/java-sdk/dist/packages/%{beansname}.jar $RPM_BUILD_ROOT%{_javadir}/%{beansname}.jar
|
2004-09-09 07:11:38 +00:00
|
|
|
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}-1.3.0
|
|
|
|
|
|
|
|
pushd $RPM_BUILD_ROOT%{_javadir}-1.3.0
|
|
|
|
ln -fs ../java/*%{spname}.jar jndi-ldap.jar
|
|
|
|
popd
|
|
|
|
|
2012-08-24 01:04:31 +00:00
|
|
|
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
|
|
install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "ldapsdk:ldapsdk"
|
|
|
|
|
2011-02-18 07:03:33 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
|
cp -r mozilla/directory/java-sdk/dist/doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
2006-07-24 19:29:52 +00:00
|
|
|
|
2004-09-09 07:11:38 +00:00
|
|
|
%files
|
2011-02-18 07:03:33 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 07:11:38 +00:00
|
|
|
%{_javadir}/%{name}*.jar
|
|
|
|
%{_javadir}/%{spname}*.jar
|
2008-02-20 02:29:40 +00:00
|
|
|
%{_javadir}/%{filtname}*.jar
|
|
|
|
%{_javadir}/%{beansname}*.jar
|
2004-09-09 07:11:38 +00:00
|
|
|
%{_javadir}-1.3.0/*.jar
|
2012-08-24 01:04:31 +00:00
|
|
|
%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
%{_mavendepmapfragdir}/%{name}
|
2004-09-09 07:11:38 +00:00
|
|
|
|
|
|
|
%files javadoc
|
2011-02-18 07:03:33 +00:00
|
|
|
%defattr(-,root,root,)
|
|
|
|
%dir %{_javadocdir}/%{name}
|
|
|
|
%{_javadocdir}/%{name}/*
|
2004-09-09 07:11:38 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-08-03 04:22:48 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 03:47:36 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-14 01:28:02 +00:00
|
|
|
* Tue Nov 13 2012 Matthew Harmsen <mharmsen@redhat.com> 0:4.18-12
|
|
|
|
- Appended full URLs in front of source files
|
|
|
|
|
2012-08-24 01:04:31 +00:00
|
|
|
* Sat Aug 18 2012 gil cattaneo <puntogil@libero.it> 0:4.18-11
|
|
|
|
- Added maven pom
|
|
|
|
|
2012-07-19 18:54:17 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 07:10:08 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-03-31 21:51:44 +00:00
|
|
|
* Thu Mar 31 2011 Rich Megginson <rmeggins@redhat.com> 0:4.18-8
|
|
|
|
- Resolves: bug 684012 - LDAPSchemaElement.getOptionalValues() mangles values
|
|
|
|
- upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=640750
|
|
|
|
|
2011-02-18 07:03:33 +00:00
|
|
|
* Fri Feb 18 2011 Alexander Kurtakov <akurtako@redhat.com> 0:4.18-7
|
|
|
|
- Drop gcj.
|
|
|
|
- Adapt to current guidelines.
|
|
|
|
|
2011-02-08 03:55:52 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-25 05:01:53 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-20 20:56:37 +00:00
|
|
|
* Fri Mar 20 2009 Deepak Bhole <dbhole@redhat.com> - 0:4.18-4
|
|
|
|
- RPM was using pre-built jars before. Fixed that problem.
|
|
|
|
|
2009-02-25 12:48:10 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.18-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-29 14:28:42 +00:00
|
|
|
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.18-2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-20 02:29:40 +00:00
|
|
|
* Tue Feb 19 2008 Dennis Gilmore <dennis@ausil.us> - 4.18-1
|
|
|
|
- update to 4.18
|
|
|
|
- spec contents pulled from RHEL5 srpm
|
|
|
|
- fedora spec changelog
|
|
|
|
- update buildroot
|
|
|
|
- use jss from fedora for building
|
|
|
|
|
2008-02-19 17:21:33 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:4.17-2jpp.7
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2006-08-12 00:16:36 +00:00
|
|
|
* Fri Aug 11 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:4.17-1jpp.7
|
|
|
|
- Rebuild with new naming convention.
|
|
|
|
|
2006-07-24 19:29:52 +00:00
|
|
|
* Mon Jul 24 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:4.17-1jpp_6fc
|
|
|
|
- Add conditional native compilation.
|
|
|
|
|
2006-07-22 08:44:27 +00:00
|
|
|
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:4.17-1jpp_5fc
|
|
|
|
- Rebuilt
|
|
|
|
|
2006-07-19 13:42:21 +00:00
|
|
|
* Wed Jul 19 2006 Jesse Keating <jkeating@redhat.com> - 0:4.17-1jpp_4fc
|
|
|
|
- fix release
|
|
|
|
- remove silly name, version, release defines.
|
|
|
|
|
2006-07-12 06:44:07 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:4.17-1jpp_3fc.1.1.2.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-11 04:10:17 +00:00
|
|
|
* Tue Jul 11 2006 Archit Shah <ashah@redhat.com>
|
|
|
|
- add java-devel BuildRequires (bug #192530)
|
|
|
|
|
2005-12-09 22:41:15 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-05 05:20:59 +00:00
|
|
|
* Sat Nov 5 2005 Archit Shah <ashah@redhat.com> 0:4.17-1jpp_3fc
|
|
|
|
- Call javadoc with sourcepath to work aroung gjdoc bug (#170611)
|
|
|
|
|
2005-01-27 17:36:37 +00:00
|
|
|
* Thu Jan 27 2005 Gary Benson <gbenson@redhat.com> 0:4.17-1jpp_2fc
|
|
|
|
- Remove non-distributable files from the source tarball.
|
|
|
|
|
|
|
|
* Fri Jan 21 2005 Gary Benson <gbenson@redhat.com> 0:4.17-1jpp_1fc
|
2005-01-21 12:30:14 +00:00
|
|
|
- Build into Fedora.
|
|
|
|
|
2005-01-21 11:53:03 +00:00
|
|
|
* Tue Nov 16 2004 Fernando Nasser <fnasser@redhat.com> 0:4.17-1jpp_1rh
|
|
|
|
- Merge with upstream for upgrade
|
|
|
|
|
|
|
|
* Thu Aug 26 2004 Fernando Nasser <fnasser@redhat.com> 0:4.17-1jpp
|
|
|
|
- Upgrade to 4.17
|
|
|
|
- Rebuilt with Ant 1.6.2
|
|
|
|
|
2004-09-09 07:11:38 +00:00
|
|
|
* Fri Mar 5 2004 Frank Ch. Eigler <fche@redhat.com> 0:4.1-5jpp_1rh
|
|
|
|
- RH vacuuming
|
|
|
|
- added ldapjdk-javaxssl.patch to stop using com.sun.*
|
|
|
|
|
|
|
|
* Sun Sep 28 2003 David Walluck <david@anti-microsoft.org> 0:4.1-5jpp
|
|
|
|
- add Distribution and Vendor tags
|
|
|
|
- fix jpackage-utils requirement
|
|
|
|
- change gmake to %%__make
|
|
|
|
- break %%description lines
|
|
|
|
|
|
|
|
* Thu Mar 27 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org>
|
|
|
|
- Initial build.
|