1 DESCRIPTION = "A Python module for working with OpenPGP messages"
2 HOMEPAGE = "http://pypi.python.org/pypi/pygpgme"
3 SECTION = "Platform Development/Python"
12 #PROVIDES by python-gpgme
13 PROVIDES += "python-gpgme"
14 RPROVIDES_python-gpgme += "python-gpgme"
19 #DEPENDS of python-gpgme
24 chmod -Rf a+rX,u+w,g-w,o-w ${S}
25 #setup -q -n pygpgme-0.1
26 cp ${S}/packaging/python-gpgme.manifest .
38 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
39 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
40 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
41 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
49 echo export RPM_BUILD_ROOT=${D}
56 /usr/bin/python setup.py install --root $RPM_BUILD_ROOT --prefix=/usr
57 # No need to ship the tests
58 rm -rf $RPM_BUILD_ROOT/usr/lib/python2.7/site-packages/gpgme/tests/
65 PACKAGES += "python-gpgme"
67 python-gpgme_files = ""
68 python-gpgme_files += "python-gpgme.manifest"
69 python-gpgme_files += "README PKG-INFO"
70 python-gpgme_files += "/usr/lib/python2.7/site-packages/*"
72 FILES_${PN} = "${python-gpgme_files}"
74 PKG_python-gpgme= "python-gpgme"
76 require python-gpgme-extraconf.inc