close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
|
Last change
on this file since 8c7b374 was
82dbaff,
checked in by Ramón M. Gómez <ramongomez@…>, 7 years ago
|
|
#840: Creación de nuevos OGAgent para versión 1.1.1 en desarrollo.
|
-
Property mode set to
100755
|
|
File size:
960 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | cd $(dirname "$0") |
|---|
| 4 | top=`pwd` |
|---|
| 5 | |
|---|
| 6 | [ -r ../src/VERSION ] && VERSION="$(cat ../src/VERSION)" || VERSION="1.1.0" |
|---|
| 7 | RELEASE="1" |
|---|
| 8 | |
|---|
| 9 | # Debian based |
|---|
| 10 | dpkg-buildpackage -b -d |
|---|
| 11 | |
|---|
| 12 | cat ogagent-template.spec | |
|---|
| 13 | sed -e s/"version 0.0.0"/"version ${VERSION}"/g | |
|---|
| 14 | sed -e s/"release 1"/"release ${RELEASE}"/g > ogagent-$VERSION.spec |
|---|
| 15 | |
|---|
| 16 | # Now fix dependencies for opensuse |
|---|
| 17 | cat ogagent-template.spec | |
|---|
| 18 | sed -e s/"version 0.0.0"/"version ${VERSION}"/g | |
|---|
| 19 | sed -e s/"name ogagent"/"name ogagent-opensuse"/g | |
|---|
| 20 | sed -e s/"PyQt4"/"python-qt4"/g | |
|---|
| 21 | sed -e s/"libXScrnSaver"/"libXss1"/g > ogagent-opensuse-$VERSION.spec |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | # Right now, ogagent-xrdp-1.7.0.spec is not needed |
|---|
| 25 | for pkg in ogagent-$VERSION.spec ogagent-opensuse-$VERSION.spec; do |
|---|
| 26 | |
|---|
| 27 | rm -rf rpm |
|---|
| 28 | for folder in SOURCES BUILD RPMS SPECS SRPMS; do |
|---|
| 29 | mkdir -p rpm/$folder |
|---|
| 30 | done |
|---|
| 31 | |
|---|
| 32 | rpmbuild -v -bb --clean --buildroot=$top/rpm/BUILD/$pkg-root --target noarch $pkg 2>&1 |
|---|
| 33 | done |
|---|
| 34 | |
|---|
| 35 | #rm ogagent-$VERSION |
|---|
Note: See
TracBrowser
for help on using the repository browser.