Skip to content
Snippets Groups Projects
Commit 742ad75f authored by akiraohgaki's avatar akiraohgaki
Browse files

Code cleanup

parent a5d49f69
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ URL: https://github.com/ocs-url/ocs-url
Source0: %{name}.tar.gz
Requires: qt5-qtbase >= 5.2.0, qt5-qtbase-gui >= 5.2.0, qt5-qtsvg >= 5.2.0, qt5-qtdeclarative >= 5.2.0, qt5-qtquickcontrols >= 5.2.0
BuildRequires: git, make, automake, gcc, gcc-c++, libtool, qt5-qtbase-devel >= 5.2.0, qt5-qtsvg-devel >= 5.2.0, qt5-qtdeclarative-devel >= 5.2.0, rpm-build
BuildRequires: make, automake, gcc, gcc-c++, libtool, qt5-qtbase-devel >= 5.2.0, qt5-qtsvg-devel >= 5.2.0, qt5-qtdeclarative-devel >= 5.2.0, git, rpm-build
%description
An install helper program for items served on OpenCollaborationServices (OCS).
......
......@@ -19,11 +19,11 @@ parts:
options:
- PREFIX="/usr"
build-packages:
- git
- build-essential
- qt5-default
- libqt5svg5-dev
- qtdeclarative5-dev
- git
- snapcraft
stage-packages:
- libqt5svg5
......
......@@ -2,7 +2,7 @@ Source: ocs-url
Section: web
Priority: optional
Maintainer: Akira Ohgaki <akiraohgaki@gmail.com>
Build-Depends: git, build-essential, qt5-default (>= 5.2.0), libqt5svg5-dev (>= 5.2.0), qtdeclarative5-dev (>= 5.2.0), devscripts, debhelper, fakeroot
Build-Depends: build-essential, qt5-default (>= 5.2.0), libqt5svg5-dev (>= 5.2.0), qtdeclarative5-dev (>= 5.2.0), git, devscripts, debhelper, fakeroot
Standards-Version: 3.9.4
Package: ocs-url
......
......@@ -18,9 +18,9 @@ BUILDSCRIPT="${PROJDIR}/scripts/build.sh"
build_ubuntu() {
# docker-image: ubuntu:14.04
apt update -qq
apt -y install git curl
apt -y install build-essential qt5-default libqt5svg5-dev qtdeclarative5-dev
apt -y install devscripts debhelper fakeroot
apt -y install git devscripts debhelper fakeroot
apt -y install curl
useradd -m ${PKGUSER}
export HOME="/home/${PKGUSER}"
......@@ -31,13 +31,13 @@ build_ubuntu() {
build_fedora() {
# docker-image: fedora:20
yum -y install git curl
yum -y install make automake gcc gcc-c++ libtool qt5-qtbase-devel qt5-qtsvg-devel qt5-qtdeclarative-devel
yum -y install rpm-build
yum -y install git rpm-build
yum -y install curl
# docker-image: fedora:22
#dnf -y install git curl
#dnf -y install make automake gcc gcc-c++ libtool qt5-qtbase-devel qt5-qtsvg-devel qt5-qtdeclarative-devel
#dnf -y install rpm-build
#dnf -y install git rpm-build
#dnf -y install curl
useradd -m ${PKGUSER}
export HOME="/home/${PKGUSER}"
......@@ -49,8 +49,9 @@ build_fedora() {
build_archlinux() {
# docker-image: base/archlinux:latest
pacman -Syu --noconfirm
pacman -S --noconfirm git curl
pacman -S --noconfirm base-devel qt5-base qt5-svg qt5-declarative qt5-quickcontrols
pacman -S --noconfirm git
pacman -S --noconfirm curl
useradd -m ${PKGUSER}
export HOME="/home/${PKGUSER}"
......@@ -62,9 +63,9 @@ build_archlinux() {
build_snap() {
# docker-image: ubuntu:16.04
apt update -qq
apt -y install git curl
apt -y install build-essential qt5-default libqt5svg5-dev qtdeclarative5-dev
apt -y install snapcraft
apt -y install git snapcraft
apt -y install curl
useradd -m ${PKGUSER}
export HOME="/home/${PKGUSER}"
......@@ -76,9 +77,9 @@ build_snap() {
build_appimage() {
# docker-image: ubuntu:14.04
apt update -qq
apt -y install git curl
apt -y install build-essential qt5-default libqt5svg5-dev qtdeclarative5-dev
apt -y install fuse zsync desktop-file-utils
apt -y install git fuse zsync desktop-file-utils
apt -y install curl
modprobe fuse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment