2013-07-12 11:36:28 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Generates packaging
|
|
|
|
|
|
|
|
rm -f Makefile rpmpackage/*.spec
|
|
|
|
|
2013-09-30 05:05:06 +02:00
|
|
|
packagemonkey -n "PyBitmessage" --version "0.4.1" --dir "." -l "mit" \
|
2013-08-01 07:26:46 +02:00
|
|
|
-e "Bob Mottram (4096 bits) <bob@robotics.uk.to>" \
|
|
|
|
--brief "Send encrypted messages" \
|
|
|
|
--desc "Bitmessage is a P2P communications protocol used to send " \
|
|
|
|
"encrypted messages to another person or to many subscribers. It is " \
|
|
|
|
"decentralized and trustless, meaning that you need-not inherently" \
|
|
|
|
"trust any entities like root certificate authorities. It uses strong " \
|
|
|
|
"authentication which means that the sender of a message cannot be" \
|
|
|
|
"spoofed, and it aims to hide \"non-content\" data, like the sender and " \
|
|
|
|
"receiver of messages, from passive eavesdroppers like those running " \
|
|
|
|
"warrantless wiretapping programs." \
|
|
|
|
--homepage "https://github.com/Bitmessage/PyBitmessage" --section "mail" \
|
|
|
|
--categories "Office/Email" \
|
|
|
|
--dependsdeb "python (>= 2.7.0), openssl, python-qt4, libqt4-dev " \
|
|
|
|
"(>= 4.8.0), python-qt4-dev, sqlite3, libsqlite3-dev, gst123" \
|
|
|
|
--dependsrpm "python, PyQt4, openssl-compat-bitcoin-libs, gst123" \
|
|
|
|
--mainscript "bitmessagemain.py" \
|
|
|
|
--librarypath "/opt/openssl-compat-bitcoin/lib/" \
|
|
|
|
--suggestsdeb "libmessaging-menu-dev" \
|
|
|
|
--dependspuppy "openssl, python-qt4, sqlite3, sqlite3-dev, " \
|
|
|
|
"python-openssl, python-sip, gst123" \
|
|
|
|
--dependsarch "python2, qt4, python2-pyqt4, sqlite, openssl, gst123" \
|
2013-08-25 02:18:46 +02:00
|
|
|
--suggestsarch "python2-gevent: Python network library that uses greenlet and libevent for easy and scalable concurrency" --pythonversion 2 \
|
2013-08-01 07:26:46 +02:00
|
|
|
--dependsebuild "dev-libs/openssl, dev-python/PyQt4[${PYTHON_USEDEP}]" \
|
|
|
|
--buildebuild "\${PYTHON_DEPS}" --pythonreq "sqlite" \
|
|
|
|
--repository "https://github.com/Bitmessage/PyBitmessage.git"
|