From 1f87f762494000835acb110c5260046d94efa6e1 Mon Sep 17 00:00:00 2001 From: gil Date: Sat, 6 Jan 2024 00:12:59 +0100 Subject: [PATCH] package created by autospec [release 1.1-1mamba;Sun Mar 01 2009] --- README.md | 15 ++++++++ java-sun-jms.spec | 90 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 java-sun-jms.spec diff --git a/README.md b/README.md index 614baab..97b02fe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # java-sun-jms +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. + diff --git a/java-sun-jms.spec b/java-sun-jms.spec new file mode 100644 index 0000000..47a9430 --- /dev/null +++ b/java-sun-jms.spec @@ -0,0 +1,90 @@ +%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 +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 1.1-1mamba +- package created by autospec