Skip to content

Commit

Permalink
lets connect centos 7
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Aug 10, 2018
1 parent 989852a commit fe84232
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include LICENSE
include README.md
include tests/example.ovpn
include share/icons/hicolor/*/apps/eduvpn-client.png
include share/icons/hicolor/*/apps/*.png
include share/applications/*
include share/eduvpn/*
include share/letsconnect/*
include share/eduvpn/builder/*
include doc/*

39 changes: 39 additions & 0 deletions docker/letsconnect.centos_7_rpm
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
FROM centos:7

RUN yum install -y yum-plugin-copr epel-release

RUN yum copr enable -y gijzelaerr/eduvpn-client

RUN yum install -y \
rpm-build \
rpmdevtools \
gtk3 \
libnotify \
pytest \
dbus-python \
python-gobject \
python-pynacl \
python-repoze-lru \
python-dateutil \
python2-devel \
python2-configparser \
python2-future \
python2-requests-oauthlib \
python2-mock \
python2-pytest-runner \
python2-cryptography \
python-qrcode \
python-pillow \
python2-pynacl

RUN rpmdev-setuptree

ADD . /code
WORKDIR /code

RUN python setup_letsconnect.py sdist
RUN cp dist/*.tar.gz /root/rpmbuild/SOURCES/.

RUN rpmbuild -bs rpm/letsconnect_centos7.spec
#RUN rpmbuild -bb rpm/letsconnect_centos7.spec

2 changes: 1 addition & 1 deletion setup_letsconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
],
entry_points={
'gui_scripts': [
'letsconnect-client = eduvpn.main:main_lets_connect',
'lets-connect-client = eduvpn.main:main_lets_connect',
]
}
)

0 comments on commit fe84232

Please sign in to comment.