packages: java-sun-jms/java-sun-jms.spec - rename to java-sun-jms to coexis...

glen glen at pld-linux.org
Wed May 9 11:44:55 CEST 2012


Author: glen                         Date: Wed May  9 09:44:55 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename to java-sun-jms to coexist with other jms implementations

---- Files affected:
packages/java-sun-jms:
   java-sun-jms.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/java-sun-jms/java-sun-jms.spec
diff -u packages/java-sun-jms/java-sun-jms.spec:1.16 packages/java-sun-jms/java-sun-jms.spec:1.17
--- packages/java-sun-jms/java-sun-jms.spec:1.16	Sun May 16 16:14:07 2010
+++ packages/java-sun-jms/java-sun-jms.spec	Wed May  9 11:44:50 2012
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
-Summary:	Java Message Service
+%define		srcname		sun-jms
+Summary:	Java Message Service (JMS)
 Summary(pl.UTF-8):	Serwis komunikacyjny do Javy
-Name:		jms
+Name:		java-%{srcname}
 Version:	1.1
 Release:	1
 License:	restricted, non-distributable (Sun Binary Code License - see URL)
@@ -13,34 +14,38 @@
 URL:		http://java.sun.com/products/jms/docs.html
 BuildRequires:	unzip
 Requires:	jre
+Provides:	java(jms) = %{version}-%{release}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Java Message Service.
+The Java Message Service (JMS) API is a messaging standard that allows
+application components based on the Java 2 Platform, Enterprise
+Edition (J2EE) to create, send, receive, and read messages. It enables
+distributed communication that is loosely coupled, reliable, and
+asynchronous.
 
 %description -l pl.UTF-8
 Java Message Service - serwis komunikacyjny do Javy.
 
-%package doc
+%package javadoc
 Summary:	Java Message Service documentation
 Summary(pl.UTF-8):	Dokumentacja do serwisu komunikacyjnego Javy
 Group:		Development/Languages/Java
 
-%description doc
+%description javadoc
 Java Message Service documentation.
 
-%description doc -l pl.UTF-8
+%description javadoc -l pl.UTF-8
 Dokumentacja do JMS - serwisu komunikacyjnego do Javy.
 
 %prep
-%setup -q -n %{name}%{version}
+%setup -q -n jms%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_javadir}
-
-install lib/*.jar $RPM_BUILD_ROOT%{_javadir}
+cp -a lib/*.jar $RPM_BUILD_ROOT%{_javadir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,9 +54,9 @@
 %defattr(644,root,root,755)
 %{_javadir}/*.jar
 
-%files doc
+%files javadoc
 %defattr(644,root,root,755)
-%doc doc/api
+%doc doc/api/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2012/05/09 09:44:50  glen
+- rename to java-sun-jms to coexist with other jms implementations
+
 Revision 1.16  2010/05/16 14:14:07  sparky
 - BR: unzip
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/java-sun-jms/java-sun-jms.spec?r1=1.16&r2=1.17



More information about the pld-cvs-commit mailing list