packages: stfl/stfl.spec - rel 9; fix python module dir
arekm
arekm at pld-linux.org
Sun Mar 13 11:22:40 CET 2011
Author: arekm Date: Sun Mar 13 10:22:40 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 9; fix python module dir
---- Files affected:
packages/stfl:
stfl.spec (1.28 -> 1.29)
---- Diffs:
================================================================
Index: packages/stfl/stfl.spec
diff -u packages/stfl/stfl.spec:1.28 packages/stfl/stfl.spec:1.29
--- packages/stfl/stfl.spec:1.28 Sun Sep 5 01:07:13 2010
+++ packages/stfl/stfl.spec Sun Mar 13 11:22:35 2011
@@ -5,7 +5,7 @@
Summary(pl.UTF-8): Implementacja opartego na ncurses zestawu widgetów dla terminali tekstowych
Name: stfl
Version: 0.21
-Release: 8
+Release: 9
License: LGPL v3
Group: Libraries
Source0: http://www.clifford.at/stfl/%{name}-%{version}.tar.gz
@@ -130,18 +130,23 @@
%{__make} -j1 \
prefix="" \
libdir=%{_libdir} \
- CFLAGS="-Wall %{rpmcflags} -I. -D_GNU_SOURCE -fPIC" \
+ CFLAGS="-Wall %{rpmcppflags} %{rpmcflags} -I. -D_GNU_SOURCE -fPIC" \
LDFLAGS="%{rpmldflags}" \
CC="%{__cc} -pthread"
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_libdir}/lib-dynload
+
%{__make} -j1 install \
prefix=%{_prefix} \
libdir=%{_lib} \
DESTDIR=$RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{py_libdir}/site-packages/lib-dynload/_stfl.so \
+ $RPM_BUILD_ROOT%{py_libdir}/lib-dynload
+
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
install example{,.c,.stfl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -179,7 +184,7 @@
%files -n python-%{name}
%defattr(644,root,root,755)
-%attr(755,root,root) %{py_libdir}/site-packages/lib-dynload/_stfl.so
+%attr(755,root,root) %{py_libdir}/lib-dynload/_stfl.so
%{py_libdir}/site-packages/stfl.pyc
%files -n ruby-%{name}
@@ -193,6 +198,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2011/03/13 10:22:35 arekm
+- rel 9; fix python module dir
+
Revision 1.28 2010/09/04 23:07:13 gotar
- rel. 8 (packages missing from FTP)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/stfl/stfl.spec?r1=1.28&r2=1.29&f=u
More information about the pld-cvs-commit
mailing list