SPECS: python.spec - added python info pages as separate subpackage
twittner
twittner at pld-linux.org
Sun Mar 26 15:01:42 CEST 2006
Author: twittner Date: Sun Mar 26 13:01:42 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added python info pages as separate subpackage
---- Files affected:
SPECS:
python.spec (1.259 -> 1.260)
---- Diffs:
================================================================
Index: SPECS/python.spec
diff -u SPECS/python.spec:1.259 SPECS/python.spec:1.260
--- SPECS/python.spec:1.259 Fri Mar 3 19:42:34 2006
+++ SPECS/python.spec Sun Mar 26 15:01:37 2006
@@ -52,15 +52,18 @@
Patch6: %{name}-doc_path.patch
Patch7: %{name}-db44.patch
Patch8: %{name}-ssl-nonblocking.patch
+Patch9: %{name}-info.patch
URL: http://www.python.org/
BuildRequires: autoconf
BuildRequires: bzip2-devel
BuildRequires: db-devel >= 4
+BuildRequires: emacs >= 21
BuildRequires: expat-devel >= 1:1.95.7
BuildRequires: file
BuildRequires: gdbm-devel >= 1.8.3
BuildRequires: gmp-devel >= 4.0
BuildRequires: libstdc++-devel
+BuildRequires: tetex-makeindex
BuildRequires: ncurses-ext-devel >= 5.2
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: readline-devel >= 5.0
@@ -400,6 +403,17 @@
§§ ŚÎÔĹŇĐŇĹÔÁÔĎŇŐ Ő ×ÉÇĚŃÄŚ ÎÁÂĎŇÁ ÔĹËÓÔĎ×ÉČ ĆÁĘĚŚ× ÔÁ ×ÉČŚÄÎÉČ
ÔĹËÓÔŚ× Ő ĆĎŇÍÁÔŚ LaTeX.
+%package doc-info
+Summary: Documentation on Python in texinfo format
+Summary(pl): Dokumentacja do Pythona w formacie texinfo
+Group: Documentation
+
+%description doc-info
+Documentation on Python in texinfo format.
+
+%description doc-info -l pl
+Dokumentacja do Pythona w formacie texinfo.
+
%package tkinter
Summary: Standard Python interface to the Tk GUI toolkit
Summary(de): Grafische Tk-Schnittstelle für Python
@@ -491,6 +505,7 @@
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
tar -xf %{SOURCE1} --use=bzip2
@@ -521,11 +536,15 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \
$RPM_BUILD_ROOT{%{py_sitedir},%{_mandir}/man1} \
- $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+ $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
+ $RPM_BUILD_ROOT%{_infodir}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__make} -C Doc/info
+install Doc/info/python*info* $RPM_BUILD_ROOT%{_infodir}
+
install Makefile.pre.in $RPM_BUILD_ROOT%{py_libdir}/config
mv $RPM_BUILD_ROOT{%{py_libdir}/config,%{_libdir}}/libpython%{py_ver}.a
@@ -562,6 +581,12 @@
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%post doc-info
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun doc-info
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/python
@@ -807,6 +832,10 @@
%defattr(644,root,root,755)
%doc Python-Docs-%{version}/*
+%files doc-info
+%defattr(644,root,root,755)
+%{_infodir}/*
+
%if %{with tkinter}
%files tkinter
%defattr(644,root,root,755)
@@ -825,6 +854,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.260 2006/03/26 13:01:37 twittner
+- added python info pages as separate subpackage
+
Revision 1.259 2006/03/03 18:42:34 wrobell
- rel. 6 due to fixes in lib64 patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python.spec?r1=1.259&r2=1.260&f=u
More information about the pld-cvs-commit
mailing list