rpms/R-acepack/devel R-acepack.spec, NONE, 1.1 ace-copyright.txt, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Tue Nov 20 21:39:39 UTC 2007


Author: spot

Update of /cvs/extras/rpms/R-acepack/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18387/devel

Modified Files:
	.cvsignore sources 
Added Files:
	R-acepack.spec ace-copyright.txt 
Log Message:

cvs import



--- NEW FILE R-acepack.spec ---
%define packname  acepack
%define packrel   2.2

Name:             R-%{packname}
Version:          1.3
Release:          2%{?dist}
Summary:          ACE and AVAS methods for choosing regression transformations

Group:            Applications/Productivity
License:          Public Domain and MIT
URL:              http://cran.r-project.org/src/contrib/Descriptions/acepack.html
Source0:          http://cran.r-project.org/src/contrib/%{packname}_%{version}-%{packrel}.tar.gz
Source1:          ace-copyright.txt
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:         R
Requires(post):   R
Requires(postun): R
BuildRequires:    R >= 2.5.0, gcc-gfortran

%description
ACE and AVAS (additivity and variance stabilization) are used to estimate 
transformations for regression.

%prep
%setup -c -q -n %{packname}
cp %{SOURCE1} .
%build

%install
%{__rm} -rf %{buildroot}

mkdir -p %{buildroot}%{_libdir}/R/library
R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library 
# Clean up in advance of check
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
%{__rm} -rf %{buildroot}%{_libdir}/R/library/R.css

%check
%{_bindir}/R CMD check %{packname}

%clean
%{__rm} -rf %{buildroot}

%post 
%{_R_make_search_index}

%postun
%{_R_make_search_index}

%files
%defattr(-, root, root, -)
%dir %{_libdir}/R/library/%{packname}
%doc %{_libdir}/R/library/%{packname}/latex
%doc %{_libdir}/R/library/%{packname}/html
%doc %{_libdir}/R/library/%{packname}/man
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
%doc ace-copyright.txt
%{_libdir}/R/library/%{packname}/CONTENTS
%{_libdir}/R/library/%{packname}/INDEX
%{_libdir}/R/library/%{packname}/libs/
%{_libdir}/R/library/%{packname}/Meta
%{_libdir}/R/library/%{packname}/R
%{_libdir}/R/library/%{packname}/R-ex
%{_libdir}/R/library/%{packname}/help

%changelog
* Tue Nov 20 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.3-2
- BuildRequires: gfortran

* Tue Oct 30 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.3-1
- initial package for Fedora


--- NEW FILE ace-copyright.txt ---
The copyright on the ace implementation was clear, but its licensing 
terms were not. I was able to clarify the terms with the copyright holder:

Copyright 2007 Jerome H. Friedman

Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation. No representations are made about the
suitability of this software for any purpose.  It is provided "as is"
without express or implied warranty.

=========================================================================
To remove any hint of impropriety, here are copies of my email 
communications with the copyright holder.

From: "Jerome H. Friedman" <jhf at stanford.edu>
To: "Tom \"spot\" Callaway" <tcallawa at redhat.com>
Subject: Re: license for ace()
Date: Wed, 31 Oct 2007 11:05:10 -0800

Tom,

>> > We would like to include it in Fedora, but we need to know the 
>> > licensing
>> > terms for that code.
>>
>> Sorry for my ignorance, but what is Fedora?
>
> Fedora is a very popular distribution of Linux. Our previous name was
> "Red Hat Linux".

Right. I should have remembered that.

You hereby have my permission to distribute my ACE code in Fedora.

Cheers,

Jerry.

>From tcallawa at redhat.com Wed Oct 31 15:10:12 2007
Subject: Re: license for ace()
From: "Tom \"spot\" Callaway" <tcallawa at redhat.com>
To: "Jerome H. Friedman" <jhf at stanford.edu>
Date: Wed, 31 Oct 2007 15:10:12 -0400

On Wed, 2007-10-31 at 11:05 -0800, Jerome H. Friedman wrote:
> Tom,
> 
> >> > We would like to include it in Fedora, but we need to know the 
> >> > licensing
> >> > terms for that code.
> >>
> >> Sorry for my ignorance, but what is Fedora?
> >
> > Fedora is a very popular distribution of Linux. Our previous name was
> > "Red Hat Linux".
> 
> Right. I should have remembered that.
> 
> You hereby have my permission to distribute my ACE code in Fedora.

Great! Now, I just need to know under what licensing terms we can
distribute it under. :)

Here are several common licenses:

MIT
====
Copyright 19XX John Doe <jdoe at nowhere.com>

Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation. No representations are made about the
suitability of this software for any purpose.  It is provided "as is"
without express or implied warranty.

BSD
====
Copyright (c) <YEAR>, <OWNER>

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 <ORGANIZATION> 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 REGENTS 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 REGENTS 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.


GPLv2
======
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

If none of those licenses seems correct to you, let me know, and I will
show you some others.

Thanks,

~Tom

From: "Jerome H. Friedman" <jhf at stanford.edu>
To: "Tom \"spot\" Callaway" <tcallawa at redhat.com>
Subject: Re: license for ace()
Date: Wed, 31 Oct 2007 11:43:34 -0800

Tom,

> MIT
> ====
> Copyright 19XX John Doe <jdoe at nowhere.com>
> 
> Permission to use, copy, modify, distribute, and sell this software and
> its documentation for any purpose is hereby granted without fee,
> provided that the above copyright notice appear in all copies and that
> both that copyright notice and this permission notice appear in
> supporting documentation. No representations are made about the
> suitability of this software for any purpose.  It is provided "as is"
> without express or implied warranty.

I think this is good enough.

Jerry.




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/R-acepack/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Nov 2007 21:30:44 -0000	1.1
+++ .cvsignore	20 Nov 2007 21:39:07 -0000	1.2
@@ -0,0 +1 @@
+acepack_1.3-2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/R-acepack/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Nov 2007 21:30:44 -0000	1.1
+++ sources	20 Nov 2007 21:39:07 -0000	1.2
@@ -0,0 +1 @@
+46bcf984c3b650e0cc46d5195728cc2f  acepack_1.3-2.2.tar.gz




More information about the fedora-extras-commits mailing list