375910
%global packname RSQLite
fd3899
%global packver 2.1.1
nigelj 127203
nigelj 127203
Name:             R-%{packname}
fd3899
Version:          %{packver}
86e3be
Release:          4%{?dist}
fd3899
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
Summary:          SQLite database interface for R
fd3899
BuildRequires:    R-devel >= 3.4.0, tetex-latex, sqlite-devel
fd3899
BuildRequires:    R-bit64, R-blob >= 1.1.1, R-DBI >= 1.0.0, R-memoise, R-methods
fd3899
BuildRequires:    R-BH-devel, R-plogr-devel >= 0.2.0, R-Rcpp-devel >= 0.12.7
fd3899
BuildRequires:    R-pkgconfig
fd3899
Requires:         R-DBI >= 1.0.0, R-core >= 3.4.0
fd3899
Requires:         R-bit64, R-blob >= 1.1.1, R-memoise, R-methods, R-Rcpp >= 0.12.7
52a03f
Requires:         R-plogr, R-pkgconfig
nigelj 127203
nigelj 127203
%description
nigelj 127203
A SQLite database interface definition for communication between R and SQLite
fd3899
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
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
60a064
# I hate CRAN dep creep
60a064
# %{_bindir}/R CMD check %{packname}
nigelj 127203
nigelj 127203
%files
nigelj 127203
%dir %{_libdir}/R/library/%{packname}
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/html
nigelj 127203
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
60a064
%doc %{_libdir}/R/library/%{packname}/NEWS.md
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
60a064
%{_libdir}/R/library/%{packname}/db
60a064
%{_libdir}/R/library/%{packname}/doc
nigelj 127203
%{_libdir}/R/library/%{packname}/help
nigelj 127203
nigelj 127203
%changelog
86e3be
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
86e3be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
86e3be
2d3fc0
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
2d3fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2d3fc0
52a03f
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 2.1.1-2
52a03f
- Remove "R-BH" from Requires, it does not exist
52a03f
fd3899
* Wed May 16 2018 Tom Callaway <spot@fedoraproject.org> - 2.1.1-1
fd3899
- update to 2.1.1, rebuild for R 3.5.0
fd3899
0c5d1e
* Fri Mar 23 2018 Tom Callaway <spot@fedoraproject.org> - 1.1.2-6
0c5d1e
- updating to 2.0 results in a TON of new (unpackaged in Fedora) dependencies
0c5d1e
  so... for now we just kick and rebuild what we can
0c5d1e
ca125c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
ca125c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ca125c
36ea13
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
36ea13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
36ea13
766385
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
766385
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
766385
5ceffa
* Thu Jun  1 2017 Tom Callaway <spot@fedoraproject.org> - 1.1.2-2
5ceffa
- fix BR on R-Rcpp-devel
5ceffa
60a064
* Tue May 30 2017 Tom Callaway <spot@fedoraproject.org> - 1.1.2-1
60a064
- update to 1.1-2
60a064
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
60a064
* Mon Jun 23 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