generate.sh 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. # Generates packaging
  3. rm -f Makefile rpmpackage/*.spec
  4. packagemonkey -n "PyBitmessage" --version "0.3.5" --dir "." -l "mit" \
  5. -e "Bob Mottram (4096 bits) <bob@robotics.uk.to>" \
  6. --brief "Send encrypted messages" \
  7. --desc "Bitmessage is a P2P communications protocol used to send " \
  8. "encrypted messages to another person or to many subscribers. It is " \
  9. "decentralized and trustless, meaning that you need-not inherently" \
  10. "trust any entities like root certificate authorities. It uses strong " \
  11. "authentication which means that the sender of a message cannot be" \
  12. "spoofed, and it aims to hide \"non-content\" data, like the sender and " \
  13. "receiver of messages, from passive eavesdroppers like those running " \
  14. "warrantless wiretapping programs." \
  15. --homepage "https://github.com/Bitmessage/PyBitmessage" --section "mail" \
  16. --categories "Office/Email" \
  17. --dependsdeb "python (>= 2.7.0), openssl, python-qt4, libqt4-dev " \
  18. "(>= 4.8.0), python-qt4-dev, sqlite3, libsqlite3-dev, gst123" \
  19. --dependsrpm "python, PyQt4, openssl-compat-bitcoin-libs, gst123" \
  20. --mainscript "bitmessagemain.py" \
  21. --librarypath "/opt/openssl-compat-bitcoin/lib/" \
  22. --suggestsdeb "libmessaging-menu-dev" \
  23. --dependspuppy "openssl, python-qt4, sqlite3, sqlite3-dev, " \
  24. "python-openssl, python-sip, gst123" \
  25. --dependsarch "python2, qt4, python2-pyqt4, sqlite, openssl, gst123" \
  26. --suggestsarch "python2-gevent" --pythonversion 2 \
  27. --dependsebuild "dev-libs/openssl, dev-python/PyQt4[${PYTHON_USEDEP}]" \
  28. --buildebuild "\${PYTHON_DEPS}" --pythonreq "sqlite" \
  29. --repository "https://github.com/Bitmessage/PyBitmessage.git"