LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File R-svKomodo.spec of Package R-svKomodo (Project devel:languages:R:CRAN-packages)

%global packname  svKomodo
%global rlibdir   %{_libdir}/R/library

Name:           R-%{packname}
Version:        0.9_62
Release:        1
Summary:        SciViews GUI API - Functions to interface with Komodo Edit/IDE

Group:          Development/Libraries/Other
License:        GPL-2
URL:            None
Source0:        svKomodo_0.9-62.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       R-base
Requires:         R-svMisc 
# Package suggestions
#Requires:         R-svHttp R-svSocket 
BuildRequires:  texlive
BuildRequires:  texinfo
BuildRequires:  fdupes
#
%if 0%{?suse_version} <= 1220 && 0%{?suse_version} != 1110
BuildRequires:  texlive-fonts-extra
%endif

BuildRequires:    R-base-devel R-svMisc
# Package suggestions, not required to build
#BuildRequires: R-svHttp R-svSocket

%description
Functions to manage the GUI client, like Komodo with the SciViews-K

%prep
%setup -q -c -n %{packname}

%build

%install
rm -rf %{buildroot}
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

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help


%changelog