[packages/libsigrokdecode] autodeps

glen glen at pld-linux.org
Sun Mar 10 16:59:50 CET 2013


commit 1791678421f973451bf375435a187ed13525ed1a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 10 17:57:52 2013 +0200

    autodeps
    
    AUTO: -- maybe try: %undefine	__cxx
    AUTO: -- checking for pkg-config... no
    AUTO: -- sigrokdecode.h:25:72: fatal error: Python.h: No such file or directory
    AUTO: -- ImportError: No module named 'getopt'

 libsigrokdecode.spec | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/libsigrokdecode.spec b/libsigrokdecode.spec
index 81eff56..586ef76 100644
--- a/libsigrokdecode.spec
+++ b/libsigrokdecode.spec
@@ -1,3 +1,5 @@
+# TODO
+# - py2/py3 bindings?
 Summary:	Basic API for running protocol decoders
 Name:		libsigrokdecode
 Version:	0.1.0
@@ -9,7 +11,12 @@ Source0:	http://downloads.sourceforge.net/sigrok/%{name}-%{version}.tar.gz
 # Source0-md5:	9bc237972f6176ba9dcff057b4e85fd6
 BuildRequires:	doxygen
 BuildRequires:	glib2-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+BuildRequires:	python-devel
+BuildRequires:	python-modules
 BuildRequires:	python3-devel
+BuildRequires:	python3-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,8 +54,8 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libsigrokdecode.git/commitdiff/1791678421f973451bf375435a187ed13525ed1a



More information about the pld-cvs-commit mailing list