rpms/R-msm/EL-4 R-msm.spec, NONE, 1.1 README_License_msm, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Denis Arnaud denisarnaud at fedoraproject.org
Wed Jun 10 22:13:15 UTC 2009


Author: denisarnaud

Update of /cvs/pkgs/rpms/R-msm/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv369/EL-4

Modified Files:
	.cvsignore sources 
Added Files:
	R-msm.spec README_License_msm import.log 
Log Message:
* Sat Jun 06 2009 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.8.2-2
- Altered the license so as to reflect upstream, after clarification with them

* Sun May 03 2009 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.8.2-1
- Initial package creation




--- NEW FILE R-msm.spec ---
%global packname msm
%global packrel 1

Name:             R-%{packname}
Version:          0.8.2
Release:          2%{?dist}
Source0:          ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{version}.tar.gz
Source1:          README_License_msm
License:          GPLv2+
URL:              http://cran.r-project.org/web/packages/msm/
Group:            Applications/Engineering
Summary:          Multi-state Markov and hidden Markov models in continuous time
BuildRequires:    R-devel, tetex-latex, R-mvtnorm
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post):   R
Requires(postun): R
Requires:         R

%description
Functions for fitting general continuous-time Markov and hidden Markov
multi-state models to longitudinal data.  Both Markov transition rates
and the hidden Markov output process can be modelled in terms of
covariates.  A variety of observation schemes are supported, including
processes observed at arbitrary times, completely-observed processes,
and censored states.

%prep
%setup -q -c -n %{packname}
# Fix some permissions and formats
# find . -type f -perm 755 -exec chmod 644 {} \;
find . -type f -name '*.[hc]' -exec chmod 644 {} \;

# Fix the encoding of the NEWS file
chmod 644 %{packname}/inst/NEWS
iconv -f ISO88591 -t UTF8 -o NEWS %{packname}/inst/NEWS
mv -f NEWS %{packname}/inst

%build

%install
rm -rf $RPM_BUILD_ROOT

# Specific installation procedure for R
mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library
%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}

# Temporary fix for the license issue (https://bugzilla.redhat.com/show_bug.cgi?id=498845#c1)
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/R/library/%{packname}

# Remove the temporary object files
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)

# Remove the generic cascading style sheet for R
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css


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

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{_R_make_search_index}

%postun
%{_R_make_search_index}

%files
%defattr(-, root, root, -)
%dir %{_libdir}/R/library/%{packname}
%doc %{_libdir}/R/library/%{packname}/README_License_msm
%doc %{_libdir}/R/library/%{packname}/latex
%doc %{_libdir}/R/library/%{packname}/data
%doc %{_libdir}/R/library/%{packname}/doc
%doc %{_libdir}/R/library/%{packname}/html
%doc %{_libdir}/R/library/%{packname}/man
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
%doc %{_libdir}/R/library/%{packname}/NEWS
%{_libdir}/R/library/%{packname}/CONTENTS
%{_libdir}/R/library/%{packname}/INDEX
%{_libdir}/R/library/%{packname}/NAMESPACE
%{_libdir}/R/library/%{packname}/Meta
%{_libdir}/R/library/%{packname}/R
%{_libdir}/R/library/%{packname}/R-ex
%{_libdir}/R/library/%{packname}/help
%{_libdir}/R/library/%{packname}/libs/%{packname}.so

%changelog
* Sat Jun 06 2009 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.8.2-2
- Altered the license so as to reflect upstream, after clarification with them

* Sun May 03 2009 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.8.2-1
- Initial package creation


--- NEW FILE README_License_msm ---

As noticed by Jason Tibbitts <tibbs at math.uh.edu> on June 6, 2009, the license
is a bit unclear. DESCRIPTION states "GPL-2", but src/pijt.c, the only other
file which seems to have a license, uses the FSF-recommended language and
states GPLv2+. That needed to be clarified with upstream.

The maintainer, namely Denis Arnaud <denis.arnaud_fedora at m4x.org>, therefore
sent an email to the (R-)msm project owner, namely Chris Jackson
<chris.jackson at mrc-bsu.cam.ac.uk>, to clarify that license issue. Following is
a copy of the corresponding emails, including the answer from the project
owner: the license was intended to be GPLv2+.

==============================================================================
Subject: Re: License of (R-)msm - Packaging for Fedora/RedHat
Date: Fri 5 Jun 2009 6:22pm
From: "Chris Jackson" <chris.jackson at mrc-bsu.cam.ac.uk>

"Denis Arnaud" <denis.arnaud_fedora at m4x.org> wrote:
> Hello Chris,
>
> First of all, thank you very much for your nice work on R-based software!
> Also, I would like to package your R software, namely MSM (Multi-State 
> Markov), for Fedora and RedHat (RPM packages):
> https://bugzilla.redhat.com/show_bug.cgi?id=498845
>
> A question arises: "The license is a bit unclear. DESCRIPTION says "GPL-2",
> but src/pijt.c (the only other file that seems to have a license) uses the 
> FSF-recommended language and says GPLv2+."
>
> So, is the license GPL-v2 strictly, or should it be GPLv2+ ("GPL-v2 and 
> later")? And would you be so kind as to alter accordingly the DESCRIPTION 
> and/or src/pijt.c files?

Dear Denis,

Thanks for pointing that out, it was an oversight. I will alter the DESCRIPTION
file to put the whole package under GPL version 2 or later. I am working on
several updates and bug fixes at the moment, so I intend to release the next
version with this change within the next two weeks.

Thanks for packaging it - it has also recently been included in Debian!

Chris

-- Christopher Jackson <chris.jackson at mrc-bsu.cam.ac.uk>
Research Statistician, MRC Biostatistics Unit, Institute of Public
Health, Robinson Way, Cambridge, UK, CB2 0SR. +44 (1223) 330381
==============================================================================

Note: when the license statement will be clarified upstream, that README file
will be removed from the (R-msm) RPM package.




--- NEW FILE import.log ---
R-msm-0_8_2-2_fc10:EL-4:R-msm-0.8.2-2.fc10.src.rpm:1244671932


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/R-msm/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	10 Jun 2009 21:38:19 -0000	1.1
+++ .cvsignore	10 Jun 2009 22:12:44 -0000	1.2
@@ -0,0 +1 @@
+msm_0.8.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/R-msm/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	10 Jun 2009 21:38:19 -0000	1.1
+++ sources	10 Jun 2009 22:12:44 -0000	1.2
@@ -0,0 +1 @@
+890a123a938885d8e49375dfd34b803c  msm_0.8.2.tar.gz




More information about the fedora-extras-commits mailing list