Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:R-DBI
R-DBI
R-DBI.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File R-DBI.spec of Package R-DBI
# # spec file for package R-DBI # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %bcond_with test %global packname DBI %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: 1.1.3 Release: 0 Summary: R Database Interface License: LGPL-2.0-or-later Group: Development/Libraries/Other URL: http://cran.r-project.org/web/packages/%{packname} Source: http://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz %if %{with test} # Package suggestions, not required to build, but for packaging checks BuildRequires: R-RSQLite >= 1.1-2 BuildRequires: R-bit64 BuildRequires: R-blob BuildRequires: R-covr BuildRequires: R-hms BuildRequires: R-knitr BuildRequires: R-magrittr BuildRequires: R-memoise BuildRequires: R-rmarkdown BuildRequires: R-rprojroot BuildRequires: R-testthat BuildRequires: R-xml2 %endif BuildRequires: R-methods BuildRequires: fdupes # Package suggestions #Recommends: R-blob, R-covr, R-hms, R-knitr, R-magrittr, R-rprojroot, R-rmarkdown, R-RSQLite >= 1.1-2, R-testthat, R-xml2 BuildRequires: texinfo Requires: R-methods %if 0%{?sle_version} > 120400 || 0%{?is_opensuse} # No tex(inconsolata.sty) and others provided in SLE-12, same for 42.1 BuildRequires: tex(ae.sty) BuildRequires: tex(fancyvrb.sty) BuildRequires: tex(inconsolata.sty) BuildRequires: tex(natbib.sty) %else BuildRequires: texlive %endif %description A database interface (DBI) definition for communication between R and relational database management systems. All classes in this package are virtual and need to be extended by the various R/DBMS implementations. %prep %setup -q -c -n %{packname} %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %fdupes %{buildroot}%{rlibdir}/%{packname} %if %{with test} %check export LANG=en_US.UTF-8 export _R_CHECK_FORCE_SUGGESTS_=false %{_bindir}/R CMD check %{packname} %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %doc %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor