Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:R:released
R2spec
R2spec.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File R2spec.spec of Package R2spec
# # spec file for package R2spec # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # # sitelib for noarch packages, sitearch for others (remove the unneeded one) ##%{!?python_sitelib: %define python_sitelib %(/usr/bin/python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define python_sitelib /usr/lib/python2.7/site-packages/ Name: R2spec Version: 4.2.1 Release: 9 Summary: Python script to generate R spec file Group: Development/Languages/Other License: GPL-3.0+ URL: https://pagure.io/r2spec Source0: R2spec-%{version}.tar.gz Source1: opensuse-specfile.tpl Patch1: spec.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildArch: noarch Requires: R-base Requires: python-base Requires: python-argparse Requires: python-jinja2 Requires: rpm-build Requires: wget Provides: R2rpm >= 1.0.0 %description R2spec is a small python tool that generates spec file for R libraries. It can work from a URL or a tarball. R2spec provides R2rpm which generates rpm for R libraries using the R2spec API. %prep %setup -q %patch1 -p0 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -m 0755 %{S:1} %{buildroot}%{python_sitelib}/r2spec/specfile.tpl %files %defattr(-,root,root,-) %doc README LICENSE CHANGELOG %{python_sitelib}/* %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/repos.cfg %{_bindir}/%{name} %{_bindir}/R2rpm %{_mandir}/man1/%{name}.1.gz %{_mandir}/man1/R2rpm.1.gz %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