Skip to content

Commit

Permalink
Adding readme and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazarov committed Feb 8, 2016
1 parent cc8637a commit 48c20a8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Syncthing for CentosOS

## RPM Install

```
yum install https://github.com/mlazarov/syncthing-centos/releases/download/v0.12.18/syncthing-0.12.17-0.el7.centos.x86_64.rpm
```


## RPM Build


#### Install rpmbuild requirements

```
yum install -y yum-utils vim rpm-build rpmdevtools redhat-rpm-config make gcc gcc-c++ git
```


### Clone the repo and build rpm package

```
cd ~
git clone https://github.com/mlazarov/syncthing-centos.git rpmbuild/
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
cd rpmbuild/SPECS/
rpmbuild -bb syncthing.spec
```

0 comments on commit 48c20a8

Please sign in to comment.