375910
%global packname RSQLite
5b382d
%global packver 0.11.2
143f0a
#global packrel 
nigelj 127203
nigelj 127203
Name:             R-%{packname}
143f0a
Version:          %{packver}
5b382d
Release:          1%{?dist}
143f0a
Source0:          ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz
nigelj 127203
License:          LGPLv2+
nigelj 127203
URL:              http://cran.r-project.org/web/packages/RSQLite/index.html
nigelj 127203
Group:            Applications/Engineering
nigelj 127203
Summary:          SQLite database interface for R
5b382d
BuildRequires:    R-devel >= 3.0.0, tetex-latex, sqlite-devel, R-DBI, R-methods, R-RUnit
nigelj 127203
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5b382d
Requires:         R-DBI, R-core >= 3.0.0, R-methods
nigelj 127203
nigelj 127203
%description
nigelj 127203
A SQLite database interface definition for communication between R and SQLite
nigelj 127203
 databases.
nigelj 127203
nigelj 127203
%prep
nigelj 127203
%setup -q -c -n %{packname}
nigelj 127203
nigelj 127203
%build
nigelj 127203
nigelj 127203
%install
nigelj 127203
rm -rf $RPM_BUILD_ROOT
nigelj 127203
mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library
bf4055
%{_bindir}/R CMD INSTALL --configure-args="--with-sqlite-lib=%{_libdir} --with-sqlite-inc=%{_includedir}" \
bf4055
-l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
nigelj 127203
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
nigelj 127203
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css
nigelj 127203
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/%{packname}/INSTALL
nigelj 127203
bf4055
# we really don't need these files. thanks though.
bf4055
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/%{packname}/include/
bf4055
nigelj 127203
%check
nigelj 127203
%{_bindir}/R CMD check %{packname}
nigelj 127203
nigelj 127203
%clean
nigelj 127203
rm -rf $RPM_BUILD_ROOT
nigelj 127203
nigelj 127203
%files
nigelj 127203
%defattr(-, root, root, -)
nigelj 127203
%dir %{_libdir}/R/library/%{packname}
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/html
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
nigelj d75553
%doc %{_libdir}/R/library/%{packname}/HACKING
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/NEWS
nigelj d75553
%doc %{_libdir}/R/library/%{packname}/ONEWS
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/README
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/THANKS
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/TODO
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/announce
nigelj 127203
%{_libdir}/R/library/%{packname}/INDEX
nigelj 127203
%{_libdir}/R/library/%{packname}/NAMESPACE
nigelj 127203
%{_libdir}/R/library/%{packname}/Meta
nigelj 127203
%{_libdir}/R/library/%{packname}/R
nigelj 127203
%{_libdir}/R/library/%{packname}/libs
nigelj 127203
%{_libdir}/R/library/%{packname}/UnitTests
nigelj 127203
%{_libdir}/R/library/%{packname}/rsqlitePerf.txt
nigelj 127203
%{_libdir}/R/library/%{packname}/help
nigelj 127203
nigelj 127203
%changelog
5b382d
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 0.11.2-1
5b382d
- update to 0.11.2, rebuild for R3
5b382d
5b382d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
5b382d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5b382d
d3f1ac
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
d3f1ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d3f1ac
715e73
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
715e73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
715e73
143f0a
* Wed Nov 09 2011 Tom Callaway <spot@fedoraproject.org> - 0.10.0-1
143f0a
- update to 0.10.0
143f0a
0356ca
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
0356ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0356ca
bf4055
* Tue Jun 29 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.9.1-1
bf4055
- update to 0.9-1
bf4055
375910
* Thu Jan 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8.1-1
375910
- update to 0.8-1
375910
- cleanup package, fix FTBFS
375910
28fbfa
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
28fbfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
28fbfa
nigelj d75553
* Mon Feb 23 2009 Nigel Jones <nigjones@redhat.com> - 0.7-3
nigelj d75553
- Update to 0.7-1
nigelj d75553
8e795c
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
8e795c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8e795c
nigelj 3afaaf
* Fri Oct 24 2008 Nigel Jones <dev@nigelj.com> - 0.7-1
nigelj 3afaaf
- Update to 0.7-0
nigelj 3afaaf
nigelj 127203
* Thu Jun 26 2008 Nigel Jones <dev@nigelj.com> - 0.6-3
nigelj 127203
- Fix buildreqs
nigelj 127203
nigelj 127203
* Mon Jun 22 2008 Nigel Jones <dev@nigelj.com> - 0.6-2
nigelj 127203
- Update package summary/description
nigelj 127203
- Package Release '9'
nigelj 127203
nigelj 127203
* Tue Jun 10 2008 Nigel Jones <dev@nigelj.com> - 0.6-1
nigelj 127203
- Initial package