[saxpath] Add separate LICENSE text to rpms

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Jul 23 08:36:05 UTC 2013


commit 3fab1ee778a78c8f1ba8f7dc25210a06f178af83
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Jul 23 10:35:41 2013 +0200

    Add separate LICENSE text to rpms

 LICENSE      |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 saxpath.spec |   10 +++++++++-
 2 files changed, 61 insertions(+), 1 deletions(-)
---
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..3f2c5f5
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,52 @@
+ * ====================================================================
+ *
+ * Copyright (C) 2000-2002 werken digital.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions, and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions, and the disclaimer that follows 
+ *    these conditions in the documentation and/or other materials 
+ *    provided with the distribution.
+ *
+ * 3. The name "SAXPath" must not be used to endorse or promote products
+ *    derived from this software without prior written permission.  For
+ *    written permission, please contact license at saxpath.org.
+ * 
+ * 4. Products derived from this software may not be called "SAXPath", nor
+ *    may "SAXPath" appear in their name, without prior written permission
+ *    from the SAXPath Project Management (pm at saxpath.org).
+ * 
+ * In addition, we request (but do not require) that you include in the 
+ * end-user documentation provided with the redistribution and/or in the 
+ * software itself an acknowledgement equivalent to the following:
+ *     "This product includes software developed by the
+ *      SAXPath Project (http://www.saxpath.org/)."
+ * Alternatively, the acknowledgment may be graphical using the logos 
+ * available at http://www.saxpath.org/
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED.  IN NO EVENT SHALL THE SAXPath AUTHORS OR THE PROJECT
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * ====================================================================
+ * This software consists of voluntary contributions made by many 
+ * individuals on behalf of the SAXPath Project and was originally 
+ * created by bob mcwhirter <bob at werken.com> and 
+ * James Strachan <jstrachan at apache.org>.  For more information on the 
+ * SAXPath Project, please see <http://www.saxpath.org/>.
diff --git a/saxpath.spec b/saxpath.spec
index e7c4eb1..02a7075 100644
--- a/saxpath.spec
+++ b/saxpath.spec
@@ -1,11 +1,12 @@
 Name:       saxpath
 Version:    1.0
-Release:    6%{?dist}
+Release:    7%{?dist}
 Summary:    Simple API for XPath
 License:    Saxpath
 URL:        http://sourceforge.net/projects/saxpath/
 Source0:    http://downloads.sourceforge.net/saxpath/saxpath-1.0.tar.gz
 Source1:    %{name}-%{version}.pom
+Source2:    LICENSE
 BuildArch:  noarch
 
 BuildRequires:  ant
@@ -28,6 +29,8 @@ This package contains %{summary}.
 
 find -name \*.jar -delete
 
+cp %{SOURCE2} .
+
 %build
 mkdir src/conf
 touch src/conf/MANIFEST.MF
@@ -53,12 +56,17 @@ cp -a build/doc/* %{buildroot}/%{_javadocdir}/%{name}/
 ant test
 
 %files -f .mfiles
+%doc LICENSE
 
 %files javadoc
+%doc LICENSE
 %{_javadocdir}/*
 
 
 %changelog
+* Tue Jul 23 2013 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.0-7
+- Add separate LICENSE text to rpms
+
 * Tue Jul 23 2013 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.0-6
 - Enable testsuite
 


More information about the scm-commits mailing list