- fix bnc#653551 - No license indicators in jsr-305 package

* add license file with BSD license text
    as written on http://code.google.com/p/jsr-305/

OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsr-305?expand=0&rev=3
This commit is contained in:
Michal Vyskocil 2010-11-15 10:09:12 +00:00 committed by Git OBS Bridge
parent 50c3c30deb
commit b574909a38
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 15 09:54:19 UTC 2010 - mvyskocil@suse.cz
- fix bnc#653551 - No license indicators in jsr-305 package
* add license file with BSD license text
as written on http://code.google.com/p/jsr-305/
-------------------------------------------------------------------
Wed Jun 3 14:58:27 CEST 2009 - mvyskocil@suse.cz

View File

@ -12,6 +12,9 @@ URL: http://code.google.com/p/jsr-305/
# tar cjf jsr-305-0.1.bz2 jsr-305-0.1
Source0: http://code.google.com/p/jsr-305/jsr-305-0.1.tar.bz2
Source1: jsr-305-ri-build.xml
# bnc#653551
# The URL reffers to New BSD License - used <OWNER> == Bill Pugh, <YEAR> == 2008
Source2: license
Provides: jsr305 = %{version}-%{release}
Requires: jpackage-utils
BuildRequires: ant
@ -29,7 +32,7 @@ group: http://groups.google.com/group/jsr-305.
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Documentation
Group: Documentation/HTML
%description javadoc
This project contains reference implementations, test cases, and other
@ -40,6 +43,7 @@ group: http://groups.google.com/group/jsr-305.
%prep
%setup -q
%{__cp} -a %{SOURCE1} ri/build.xml
%{__cp} %{SOURCE2} .
%build
export OPT_JAR_LIST=:
@ -78,6 +82,7 @@ popd
%files
%defattr(0644,root,root,0755)
%doc license
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}.jar
%{_javadir}/jsr305-%{version}.jar

10
license Normal file
View File

@ -0,0 +1,10 @@
Copyright (c) 2008, Bill Pugh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the Bill Pugh nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER OR 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.