update to 0.98.1103 [release 0.98.1103-1mamba;Sun Mar 08 2015]
This commit is contained in:
parent
7460b7692e
commit
a5fd413c1c
@ -1,2 +1,4 @@
|
|||||||
# rstudio
|
# rstudio
|
||||||
|
|
||||||
|
RStudio is an integrated development environment (IDE) for the R programming language.
|
||||||
|
|
||||||
|
14684
rstudio-0.98.1103-fix_build_with_boost_1_57.patch
Normal file
14684
rstudio-0.98.1103-fix_build_with_boost_1_57.patch
Normal file
File diff suppressed because it is too large
Load Diff
144
rstudio.spec
Normal file
144
rstudio.spec
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
%global ver_major 0
|
||||||
|
%global ver_minor 98
|
||||||
|
%global ver_patch 1103
|
||||||
|
|
||||||
|
Name: rstudio
|
||||||
|
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: RStudio is an integrated development environment (IDE) for R
|
||||||
|
Group: Graphical Desktop/Applications/Scientific
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
URL: http://www.rstudio.org
|
||||||
|
Source0: https://github.com/rstudio/rstudio/tarball/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
# see: dependencies/common/install-common
|
||||||
|
# ./install-gwt
|
||||||
|
Source1: https://s3.amazonaws.com/rstudio-buildtools/gwt-2.6.0.zip
|
||||||
|
Source2: https://s3.amazonaws.com/rstudio-buildtools/gin-1.5.zip
|
||||||
|
# ./install-dictionaries
|
||||||
|
Source3: https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip
|
||||||
|
# ./install-mathjax
|
||||||
|
Source4: https://s3.amazonaws.com/rstudio-buildtools/mathjax-23.zip
|
||||||
|
# ./install-pandoc
|
||||||
|
Source5: https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.4.2.zip
|
||||||
|
# patch created by executing the command:
|
||||||
|
# find . \( -name *.cpp -or -name *.hpp \) -exec sed \
|
||||||
|
# -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' -i {} \;
|
||||||
|
Patch0: rstudio-0.98.1103-fix_build_with_boost_1_57.patch
|
||||||
|
License: Affero GNU Public License
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: R
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libboost-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
# see: dependencies/linux/install-dependencies-yum
|
||||||
|
# - build/development tools
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: cmake
|
||||||
|
# - core system libraries
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libbzip2-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: libpam-devel
|
||||||
|
# - pandoc depenencies
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
# - boost
|
||||||
|
BuildRequires: libboost-devel
|
||||||
|
# - pango cairo
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
# - gwt prereqs
|
||||||
|
BuildRequires: java-openjdk
|
||||||
|
BuildRequires: apache-ant
|
||||||
|
BuildRequires: xml-commons-apis
|
||||||
|
# see: dependencies/linux/install-qt-sdk
|
||||||
|
# - libqt4-devel
|
||||||
|
BuildRequires: R >= 2.11.1
|
||||||
|
#BuildRequires: java-junit3, java-junit48
|
||||||
|
#BuildRequires: jdk
|
||||||
|
Requires: R >= 2.11.1
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
RStudio is an integrated development environment (IDE) for the R programming language.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
install -d src/gwt/lib/gwt
|
||||||
|
install -d src/gwt/lib/gin/1.5
|
||||||
|
unzip -qq %{S:1} -d src/gwt/lib/gwt
|
||||||
|
unzip -qq %{S:2} -d src/gwt/lib/gin/1.5
|
||||||
|
mv src/gwt/lib/gwt/gwt-2.6.0 src/gwt/lib/gwt/2.6.0
|
||||||
|
|
||||||
|
install -d dependencies/common/dictionaries
|
||||||
|
unzip -qq %{S:3} -d dependencies/common/dictionaries
|
||||||
|
unzip -qq %{S:4} -d dependencies/common
|
||||||
|
|
||||||
|
# see: src/cpp/session/CMakeLists.txt
|
||||||
|
install -d dependencies/common/{pandoc,rmarkdown,packrat,shinyapps}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH="$PATH:%{_datadir}/ant/bin"
|
||||||
|
export RSTUDIO_VERSION_MAJOR=%{ver_major}
|
||||||
|
export RSTUDIO_VERSION_MINOR=%{ver_minor}
|
||||||
|
export RSTUDIO_VERSION_PATCH=%{ver_patch}
|
||||||
|
%cmake -d build \
|
||||||
|
-DRSTUDIO_TARGET=Desktop \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=%{_libdir}/%{name}
|
||||||
|
|
||||||
|
BOOST_SIGNALS_NO_DEPRECATION_WARNING=1; \
|
||||||
|
export BOOST_SIGNALS_NO_DEPRECATION_WARNING \
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
make -C build install/fast DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
install -d %{buildroot}%{_bindir}
|
||||||
|
ln -s %{_libdir}/%{name}/bin/rstudio %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
# remove unpackaged files
|
||||||
|
rm -f %{buildroot}%{_libdir}/rstudio/{COPYING,INSTALL,NOTICE,README.md,SOURCE,VERSION}
|
||||||
|
rm -f %{buildroot}%{_libdir}/rstudio/www/.gitignore
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%dir %{_libdir}/rstudio
|
||||||
|
%{_libdir}/rstudio/rstudio.png
|
||||||
|
%{_libdir}/rstudio/R/
|
||||||
|
%{_libdir}/rstudio/bin/
|
||||||
|
%{_libdir}/rstudio/resources/
|
||||||
|
# %{_libdir}/rstudio/resources/dictionaries
|
||||||
|
# %{_libdir}/rstudio/resources/mathjax-23
|
||||||
|
# %{_libdir}/rstudio/resources/pdfjs
|
||||||
|
# %{_libdir}/rstudio/resources/presentation
|
||||||
|
# %{_libdir}/rstudio/resources/templates
|
||||||
|
%{_libdir}/rstudio/www/
|
||||||
|
%{_libdir}/rstudio/www-symbolmaps/
|
||||||
|
%{_datadir}/applications/rstudio.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/rstudio.png
|
||||||
|
%{_datadir}/icons/hicolor/*/mimetypes/application-x-r-*.png
|
||||||
|
%{_datadir}/mime/packages/rstudio.xml
|
||||||
|
%{_datadir}/pixmaps/rstudio.png
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 08 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.98.1103-1mamba
|
||||||
|
- update to 0.98.1103
|
||||||
|
|
||||||
|
* Sun Nov 09 2014 Davide Madrisan <davide.madrisan@gmail.com> 0.98.1091-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user