SPECS: python-BitVector.spec - up to 1.5.1 - examples subpackage added - cl...
duddits
duddits at pld-linux.org
Sun Mar 15 17:48:42 CET 2009
Author: duddits Date: Sun Mar 15 16:48:42 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 1.5.1
- examples subpackage added
- cleaning
---- Files affected:
SPECS:
python-BitVector.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/python-BitVector.spec
diff -u SPECS/python-BitVector.spec:1.2 SPECS/python-BitVector.spec:1.3
--- SPECS/python-BitVector.spec:1.2 Sun Jun 24 16:01:29 2007
+++ SPECS/python-BitVector.spec Sun Mar 15 17:48:37 2009
@@ -3,12 +3,12 @@
Summary: A pure-Python memory-efficient packed representation for bit arrays
Summary(pl.UTF-8): Czysto pythonowa, efektywna pamięciowo reprezentacja tablic bitów
Name: python-BitVector
-Version: 1.3
-Release: 0.9
+Version: 1.5.1
+Release: 0.1
License: Python Software Foundation
Group: Libraries
Source0: http://rvl4.ecn.purdue.edu/~kak/dist/%{module}-%{version}.tar.bz2
-# Source0-md5: c74c9b4b34296249c766f0f4e7960be2
+# Source0-md5: 460a0c164bee3b4582db4ad453e33d3b
URL: http://cobweb.ecn.purdue.edu/~kak/dist/junk.html
BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
@@ -24,6 +24,18 @@
Ta klasa prezentuje czysto pythonową, efektywną pamięciowo
reprezentację dla tablic bitów.
+%package examples
+Summary: Examples for BitVector module
+Summary(pl.UTF-8): Przykłady użycia modułu BitVector
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+
+%description examples
+This package contains examples for BitVector module.
+
+%description examples -l pl.UTF-8
+Pakiet zawierający przykłady użycia modułu BitVector.
+
%prep
%setup -q -n %{module}-%{version}
@@ -32,8 +44,15 @@
%install
rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+cp -a Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -43,12 +62,21 @@
%{py_sitescriptdir}/BitVector.py[co]
%{py_sitescriptdir}/*.egg-info
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/03/15 16:48:37 duddits
+- up to 1.5.1
+- examples subpackage added
+- cleaning
+
Revision 1.2 2007/06/24 14:01:29 qboosh
- noarch, proper deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-BitVector.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list