java-sun-jms/java-sun-jms.spec

91 lines
3.1 KiB
RPMSpec

%define pkgver %(echo %version | tr . _)
Name: java-sun-jms
Version: 1.1
Release: 1mamba
Summary: Java Message Service
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://java.sun.com/products/jms/docs.html
# download http://java.sun.com/products/jms/docs.html
Source: jms-%{pkgver}-fr-apidocs.zip
License: Sun Binary Code License
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The JavaTM Message Service (JMS) API has been developed by Sun working
in close cooperation with the leading enterprise messaging vendors.
Enterprise messaging is now recognized as an essential tool for building
enterprise applications. By combining Java technology with enterprise
messaging, the JMS API provides a new, powerful tool for solving
enterprise computing problems.
Enterprise messaging provides a reliable, flexible service for the
asynchronous exchange of critical business data and events throughout an
enterprise. The JMS API adds to this a common API and provider framework
that enables the development of portable, message based applications in
the Java programming language.
The JMS API improves programmer productivity by defining a common set
of messaging concepts and programming strategies that will be supported
by all JMS technology-compliant messaging systems.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
%description javadoc
The JavaTM Message Service (JMS) API has been developed by Sun working
in close cooperation with the leading enterprise messaging vendors.
Enterprise messaging is now recognized as an essential tool for building
enterprise applications. By combining Java technology with enterprise
messaging, the JMS API provides a new, powerful tool for solving
enterprise computing problems.
Enterprise messaging provides a reliable, flexible service for the
asynchronous exchange of critical business data and events throughout an
enterprise. The JMS API adds to this a common API and provider framework
that enables the development of portable, message based applications in
the Java programming language.
The JMS API improves programmer productivity by defining a common set
of messaging concepts and programming strategies that will be supported
by all JMS technology-compliant messaging systems.
This package contains documentation for %{name}.
%prep
%setup -q -n jms%{version}
chmod -R go=u-w *
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir}
install -m 644 lib/javax.jms.jar %{buildroot}%{_javadir}/jms-%{version}.jar
(
cd %{buildroot}%{_javadir}
for file in *.jar; do
ln -sf $file `basename $file -%{version}.jar`.jar
done
)
mkdir -p %{buildroot}%{_javadocdir}/jms-%{version}
cp -pr doc/api/* %{buildroot}%{_javadocdir}/jms-%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/jms-%{version}.jar
%{_javadir}/jms.jar
%files javadoc
%defattr(-,root,root)
%{_javadocdir}/jms-%{version}
%changelog
* Sun Mar 01 2009 gil <puntogil@libero.it> 1.1-1mamba
- package created by autospec