375910
%global packname RSQLite
672d37
%global packver 0.11.4
143f0a
#global packrel 
nigelj 127203
nigelj 127203
Name:             R-%{packname}
143f0a
Version:          %{packver}
7ac01a
Release:          6%{?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
017733
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)
017733
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
7ac01a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4-6
7ac01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7ac01a
67b2eb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4-5
67b2eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
67b2eb
f13549
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.4-4
f13549
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f13549
91f829
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.4-3
91f829
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
91f829
b2c3ab
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.4-2
b2c3ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b2c3ab
672d37
* Fri Jan 24 2014 Tom Callaway <spot@fedoraproject.org> - 0.11.4-1
672d37
- update to 0.11.4
672d37
3a15f7
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
3a15f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3a15f7
017733
* Thu Apr 11 2013 Tom Callaway <spot@fedoraproject.org> - 0.11.2-1
017733
- update to 0.11.2, rebuild for R3
017733
d8948f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
d8948f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d8948f
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