SPECS: python-pyorbit.spec - updated to 2.14.2 - added examples su...

megabajt megabajt at pld-linux.org
Sun Feb 25 16:57:38 CET 2007


Author: megabajt                     Date: Sun Feb 25 15:57:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.14.2
- added examples subpackage

---- Files affected:
SPECS:
   python-pyorbit.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/python-pyorbit.spec
diff -u SPECS/python-pyorbit.spec:1.36 SPECS/python-pyorbit.spec:1.37
--- SPECS/python-pyorbit.spec:1.36	Tue Feb 13 09:06:43 2007
+++ SPECS/python-pyorbit.spec	Sun Feb 25 16:57:32 2007
@@ -4,20 +4,20 @@
 Summary:	Python binding for ORBit
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki ORBit
 Name:		python-pyorbit
-Version:	2.14.1
-Release:	3
+Version:	2.14.2
+Release:	1
 License:	LGPL
 Group:		Libraries/Python
 Source0:	http://ftp.gnome.org/pub/gnome/sources/pyorbit/2.14/%{module}-%{version}.tar.bz2
-# Source0-md5:	a3728affed2aa878966f792ae171e0f0
-BuildRequires:	ORBit2-devel >= 1:2.14.0
+# Source0-md5:	1c66f86f22cbded93eba85791dbb48ef
+BuildRequires:	ORBit2-devel >= 1:2.14.6
 BuildRequires:	automake
 BuildRequires:	autoconf
 BuildRequires:	libtool
 BuildRequires:	python-devel >= 1:2.3.2
 BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python-libs
-Requires:	ORBit2 >= 1:2.14.0
+Requires:	ORBit2 >= 1:2.14.6
 Obsoletes:	%{module}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,7 +43,7 @@
 Summary(pl.UTF-8):	Pliki programistyczne dla modułu Pythona ORBit
 Group:		Development/Languages/Python
 Requires:	%{name} = %{version}-%{release}
-Requires:	ORBit2-devel >= 1:2.14.0
+Requires:	ORBit2-devel >= 1:2.14.6
 Requires:	python-devel >= 2.3.2
 
 %description devel
@@ -58,6 +58,18 @@
 Este pacote contém arquivos de desenvolvimento necessários à criação
 de extensões baseadas no ORBit Python.
 
+%package examples
+Summary:	Example programs using Python ORBit2 bindings
+Summary(pl.UTF-8):	Przykładowe programy w Pythonie używające ORBit2
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+
+%description examples
+Example programs using ORBit2 bindings.
+
+%description examples -l pl.UTF-8
+Przykładowe programy w Pythonie używające ORBit2.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -74,10 +86,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/{*.la,*.py}
 
 %clean
@@ -94,12 +109,20 @@
 %{_includedir}/%{module}*
 %{_pkgconfigdir}/*
 
+%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.37  2007/02/25 15:57:32  megabajt
+- updated to 2.14.2
+- added examples subpackage
+
 Revision 1.36  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-pyorbit.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list