packages: iguanaIR/iguanaIR.spec - BR: python-devel, python-modules, rpm-py...
sparky
sparky at pld-linux.org
Sun Jan 30 16:53:19 CET 2011
Author: sparky Date: Sun Jan 30 15:53:19 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- BR: python-devel, python-modules, rpm-pythonprov
- adapter: updated python macros
---- Files affected:
packages/iguanaIR:
iguanaIR.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/iguanaIR/iguanaIR.spec
diff -u packages/iguanaIR/iguanaIR.spec:1.3 packages/iguanaIR/iguanaIR.spec:1.4
--- packages/iguanaIR/iguanaIR.spec:1.3 Sat Oct 9 13:19:59 2010
+++ packages/iguanaIR/iguanaIR.spec Sun Jan 30 16:53:14 2011
@@ -2,9 +2,9 @@
# TODO: PLDize init script, use /etc/sysconfig instead of /etc/default
Summary: Driver for Iguanaworks USB IR transceiver
Summary(pl.UTF-8): Sterownik do nadajnika-odbiornika podczerwieni na USB firmy Iguanaworks
+%define subver pre2
Name: iguanaIR
Version: 1.0
-%define subver pre2
Release: 0.%{subver}.0.2
License: GPL v2
Group: Applications/Communications
@@ -17,6 +17,9 @@
BuildRequires: automake
BuildRequires: libusb-compat-devel >= 0.1.0
BuildRequires: popt-devel
+BuildRequires: python-devel
+BuildRequires: python-modules
+BuildRequires: rpm-pythonprov
BuildRequires: swig-python >= 1.3.31
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -95,7 +98,7 @@
%{__autoheader}
cd ..
%configure \
- PYTHON_SITE_PKG=%{python_sitearch}
+ PYTHON_SITE_PKG=%{py_sitedir}
%{__make}
%install
@@ -107,8 +110,8 @@
install -d $RPM_BUILD_ROOT/etc/rc.d
mv -f $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
-%py_comp $RPM_BUILD_ROOT%{python_sitearch}
-%py_ocomp $RPM_BUILD_ROOT%{python_sitearch}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_postclean
%{__rm} docs/Makefile
@@ -149,8 +152,8 @@
%files -n python-%{name}
%defattr(644,root,root,755)
-%attr(755,root,root) %{python_sitearch}/_iguanaIR.so
-%{python_sitearch}/iguanaIR.py[co]
+%attr(755,root,root) %{py_sitedir}/_iguanaIR.so
+%{py_sitedir}/iguanaIR.py[co]
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -158,6 +161,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2011/01/30 15:53:14 sparky
+- BR: python-devel, python-modules, rpm-pythonprov
+- adapter: updated python macros
+
Revision 1.3 2010/10/09 11:19:59 hawk
- apply opt patch, added x86_64 build fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iguanaIR/iguanaIR.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list