]> git.pld-linux.org Git - packages/R-cran-DBI.git/blob - R-cran-DBI.spec
- up to 0.2r7
[packages/R-cran-DBI.git] / R-cran-DBI.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      DBI
3 Summary:        R Database Interface
4 Name:           R-cran-%{modulename}
5 Version:        0.2r7
6 Release:        1
7 License:        GPL
8 Group:          Applications/Databases
9 Source0:        http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  2ccd3a95e7acf29dd09ff7e23878cb9b
11 BuildRequires:  R >= 2.8.1
12 BuildRequires:  texlive-fonts-cmsuper
13 BuildRequires:  texlive-latex-ae
14 BuildRequires:  texlive-latex-bibtex
15 BuildRequires:  texlive-xetex
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A database interface (DBI) definition for communication between R and
20 relational database management systems. All classes in this package are
21 virtual and need to be extended by the various R/DBMS implementations.
22
23 %prep
24 %setup -q -c
25
26 %build
27 R CMD build %{modulename}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
32 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc %{modulename}/DESCRIPTION
40 %{_libdir}/R/library/%{modulename}
This page took 0.077208 seconds and 3 git commands to generate.