]> git.pld-linux.org Git - packages/R-cran-RSQLite.git/blame - R-cran-RSQLite.spec
- up to 0.11.4
[packages/R-cran-RSQLite.git] / R-cran-RSQLite.spec
CommitLineData
79e7c0ef
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename RSQLite
3Summary: SQLite interface for R
4Name: R-cran-%{modulename}
fdcce5d8 5Version: 0.11.4
79e7c0ef
JR
6Release: 1
7License: GPL
8Group: Applications/Databases
9Source0: http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
fdcce5d8 10# Source0-md5: c2a1a8fca2146a910e9e13879a88cbc9
79e7c0ef
JR
11BuildRequires: R >= 2.8.1
12BuildRequires: R-cran-DBI
13BuildRequires: sqlite3-devel
14BuildRequires: texlive-fonts-cmsuper
15BuildRequires: texlive-latex-ae
16BuildRequires: texlive-latex-bibtex
17BuildRequires: texlive-xetex
18%requires_ge sqlite3
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Database Interface R driver for SQLite.
23This package embeds the SQLite database engine in R and provides an
24interface compliant with the DBI package. The source for the
25SQLite engine (version 3.7.14) is included.
26
27%prep
28%setup -q -c
29
30%build
31R CMD build %{modulename}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
36R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%doc %{modulename}/DESCRIPTION
44%{_libdir}/R/library/%{modulename}
This page took 0.05723 seconds and 4 git commands to generate.