rpms/R-statmod/F-13 R-statmod.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sandro Mathys red at fedoraproject.org
Thu May 13 07:54:36 UTC 2010


Author: red

Update of /cvs/pkgs/rpms/R-statmod/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28637/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	R-statmod.spec import.log 
Log Message:
- initial import



--- NEW FILE R-statmod.spec ---
%global packname  statmod

Name:             R-%{packname}
Version:          1.4.6
Release:          1%{?dist}
Summary:          Statistical modeling

Group:            Applications/Engineering 
License:          LGPLv2+
URL:              http://cran.r-project.org/web/packages/statmod/
Source0:          http://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:        noarch 

Requires:         R-core >= 1.6.1 
BuildRequires:    R-devel >= 1.6.1 
# No check (see below) -> no additional BR required
# suggests:
#Requires:         R-tweedie 
#BuildRequires:    tex(latex)
# suggests:
#BuildRequires:    R-tweedie

%description
Various statistical modeling functions including growth curve comparisons,
limiting dilution analysis, mixed linear models, heteroscedastic
regression, Tweedie family generalized linear models, the inverse-Gaussian
distribution and Gauss quadrature.


%prep
%setup -q -c -n %{packname}


%build


%install
rm -rf %{buildroot}

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


# Can't perform check because of circular dep with R-tweedie
#%check
#R CMD check %{packname}

# No reasons those files should be executable
for file in "doc/index.html" "doc/changelog.txt"; do
  chmod -x %{buildroot}%{_datadir}/R/library/%{packname}/$file
done

# CRLF -> LF
file=%{buildroot}%{_datadir}/R/library/%{packname}/doc/changelog.txt
sed "s|\r||g" $file > $file.new && \
touch -r $file $file.new && \
mv $file.new $file


%clean
rm -rf %{buildroot}


%files
%defattr(-, root, root, -)

#noarch
%dir %{_datadir}/R/library/%{packname}/
%doc %{_datadir}/R/library/%{packname}/doc/
%doc %{_datadir}/R/library/%{packname}/html/
%doc %{_datadir}/R/library/%{packname}/DESCRIPTION
%{_datadir}/R/library/%{packname}/INDEX
%{_datadir}/R/library/%{packname}/NAMESPACE
%{_datadir}/R/library/%{packname}/Meta/
%{_datadir}/R/library/%{packname}/R/
%{_datadir}/R/library/%{packname}/help/
%{_datadir}/R/library/%{packname}/data/


%changelog
* Tue May 11 2010 Sandro Mathys <red at fedoraproject.org> - 1.4.6-1
- initial package


--- NEW FILE import.log ---
R-statmod-1_4_6-1_fc12:F-13:R-statmod-1.4.6-1.fc12.src.rpm:1273737109


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/R-statmod/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	12 May 2010 17:30:30 -0000	1.1
+++ .cvsignore	13 May 2010 07:54:35 -0000	1.2
@@ -0,0 +1 @@
+statmod_1.4.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/R-statmod/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	12 May 2010 17:30:30 -0000	1.1
+++ sources	13 May 2010 07:54:36 -0000	1.2
@@ -0,0 +1 @@
+84d3719e4a0609ba2e67d2ddddffa3e6  statmod_1.4.6.tar.gz



More information about the scm-commits mailing list