... add a changelog entry [release 1.2.1-3mamba;Wed Nov 10 2010]

This commit is contained in:
gil 2024-01-06 00:14:18 +01:00
parent 8a319c7762
commit 226e35f86d
2 changed files with 108 additions and 0 deletions

View File

@ -1,2 +1,11 @@
# java-sun-jndi # java-sun-jndi
The Java Naming and Directory Interface (JNDI) is part of the Java platform,
providing applications based on Java technology with a unified interface
to multiple naming and directory services.
You can build powerful and portable directory-enabled applications using this
industry standard.
for more details see here: http://java.sun.com/products/jndi/overview.html

99
java-sun-jndi.spec Normal file
View File

@ -0,0 +1,99 @@
%define pkgver %(echo %version | tr . _)
Name: java-sun-jndi
Version: 1.2.1
Release: 3mamba
Summary: Java Naming and Directory Interface (JNDI)
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://java.sun.com/products/jndi/
# download https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload
Source: jndi-%{pkgver}.zip
License: Sun Binary Code License
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Java Naming and Directory Interface (JNDI) is part of the Java platform,
providing applications based on Java technology with a unified interface
to multiple naming and directory services.
You can build powerful and portable directory-enabled applications using this
industry standard.
for more details see here: http://java.sun.com/products/jndi/overview.html
%package demo
Group: Documentation
Summary: Demo for %{name}
Requires: %{name} = %{version}-%{release}
%description demo
The Java Naming and Directory Interface (JNDI) is part of the Java platform,
providing applications based on Java technology with a unified interface
to multiple naming and directory services.
This package contains demonstrations and samples for %{name}.
%package manual
Group: Documentation
Summary: Manual for %{name}
%description manual
The Java Naming and Directory Interface (JNDI) is part of the Java platform,
providing applications based on Java technology with a unified interface
to multiple naming and directory services.
This package contains documentation for %{name}.
%prep
%setup -q -c %{name}-%{version}
chmod -R go=u-w *
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir} \
%{buildroot}%{_datadir}/jndi
install -m 644 lib/jndi.jar \
%{buildroot}%{_javadir}/jndi-%{version}.jar
(
cd %{buildroot}%{_javadir}
for jar in *-%{version}*; do
ln -sf ${jar} ${jar/-%{version}/}
done
)
cp -pr examples %{buildroot}%{_datadir}/jndi
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/jndi-%{version}.jar
%{_javadir}/jndi.jar
%doc README.txt
%files demo
%defattr(-,root,root)
%{_datadir}/jndi
%files manual
%defattr(-,root,root)
%doc doc/*
%changelog
* Wed Nov 10 2010 gil <puntogil@libero.it> 1.2.1-3mamba
- ... add a changelog entry
* Wed Nov 10 2010 gil <puntogil@libero.it> 1.2.1-2mamba
- rebuilt devel
* Mon Mar 02 2009 gil <puntogil@libero.it> 1.2.1-1mamba
- package created by autospec