Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
wxGTK-doc
wxGTK-doc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxGTK-doc.spec of Package wxGTK-doc
# # spec file for package wxGTK-doc (Version 2.8.8.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: wxGTK-doc Group: System/Libraries Url: http://www.wxwidgets.org/ Summary: wxGTK Documentation License: GPL v2 or later Version: 2.8.8.1 Release: 1 %define wxGTKver %(sh -c 'echo %version | sed s/\\\\.[0-9]\\$//') # Source from http://www.wxpython.org/ Source0: http://downloads.sourceforge.net/wxpython/wxPython-newdocs-%{version}.tar.bz2 # %( exec >&2 ; cd %{_sourcedir} ; if ! test -f wxWidgets-%{wxGTKver}-HTML.tar.bz2 ; then wget -N http://downloads.sourceforge.net/wxwindows/wxWidgets-%{wxGTKver}-HTML.zip ; mkdir wxWidgets-HTML ; cd wxWidgets-HTML ; unzip ../wxWidgets-%{wxGTKver}-HTML.zip ; tar -jcf ../wxWidgets-%{wxGTKver}-HTML.tar.bz2 * ; cd .. ; rm -r wxWidgets-HTML ; fi ) Source1: wxWidgets-%{wxGTKver}-HTML.tar.bz2 # %( exec >&2 ; cd %{_sourcedir} ; if ! test -f wxWidgets-%{wxGTKver}-PDF.tar.bz2 ; then wget -N http://downloads.sourceforge.net/wxwindows/wxWidgets-%{wxGTKver}-PDF.zip ; mkdir wxWidgets-PDF ; cd wxWidgets-PDF ; unzip ../wxWidgets-%{wxGTKver}-PDF.zip ; tar -jcf ../wxWidgets-%{wxGTKver}-PDF.tar.bz2 * ; cd .. ; rm -r wxWidgets-PDF ; fi ) Source2: wxWidgets-%{wxGTKver}-PDF.tar.bz2 # Sources from http://www.wxpython.org/ Source3: http://downloads.sourceforge.net/wxpython/wxPython-docs-%{version}.tar.bz2 Source4: http://downloads.sourceforge.net/wxpython/wxPython-demo-%{version}.tar.bz2 Source5: wxGTK-doc-rpmlintrc # Uncomment to save space: #NoSource: 0 #NoSource: 1 #NoSource: 2 #NoSource: 3 #NoSource: 4 Requires: wxGTK = %{version} BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build # One of examples contain binary, the package cannot be noarch and rpm # does not have a feature to make other patzs noarch. #BuildArch: noarch %description This package contains wxGTK documentation in HTML and PDF formats. Authors: -------- Robert Roebling <robert@roebling.de> %package -n python-wxGTK-doc License: GPL v2 or later Group: Development/Libraries/Python Summary: wxPython Documentation Url: http://www.wxpython.org/ Requires: python-wxGTK = %{version} %description -n python-wxGTK-doc This package contains wxPython (package python-wxGTK) documentation. Authors: -------- Robin Dunn <robin@alldunn.com> %package -n python-wxGTK-examples License: GPL v2 or later Group: Development/Libraries/Python Summary: wxPython Demos and Examples Url: http://www.wxpython.org/ Requires: python-wxGTK = %{version} python-numeric python-opengl %description -n python-wxGTK-examples This package contains wxPython (package python-wxGTK) demos and examples. Authors: -------- Robin Dunn <robin@alldunn.com> %prep %setup -q -n wxPython-%{version} -a 1 -a 2 -b 3 -b 4 chmod -x demo/bmp_source/customcontrol.png samples/wxPIA_book/Chapter-17/sample-text.txt %build %install rm -rf $RPM_BUILD_ROOT find . -name '*.orig' -exec rm {} \; install -m 755 -d $RPM_BUILD_ROOT/$RPM_DOC_DIR/wxGTK/examples cp -r docs/{api,mshtml,pdf} $RPM_BUILD_ROOT/$RPM_DOC_DIR/wxGTK install -m 755 -d $RPM_BUILD_ROOT/$RPM_DOC_DIR/python-wxGTK cp -r {samples,demo} $RPM_BUILD_ROOT/$RPM_DOC_DIR/python-wxGTK cp -r docs $RPM_BUILD_ROOT/$RPM_DOC_DIR/python-wxGTK %fdupes $RPM_BUILD_ROOT%{_datadir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %dir %{_docdir}/wxGTK %doc %{_docdir}/wxGTK/api %doc %{_docdir}/wxGTK/mshtml %doc %{_docdir}/wxGTK/pdf %files -n python-wxGTK-doc %defattr(-, root, root) %dir %{_docdir}/python-wxGTK %doc %{_docdir}/python-wxGTK/docs %files -n python-wxGTK-examples %defattr(-, root, root) %dir %{_docdir}/python-wxGTK %doc %{_docdir}/python-wxGTK/samples %doc %{_docdir}/python-wxGTK/demo %changelog * Wed Sep 03 2008 sbrabec@suse.cz - Updated to version 2.8.8.1: * documents wxGTK version 2.8.8 * Fri Mar 28 2008 sbrabec@suse.cz - Updated to version 2.8.7.1: * documents wxGTK version 2.8.7 * Tue Oct 02 2007 sbrabec@suse.cz - Updated to version 2.8.6.0: * documents wxGTK version 2.8.6 - Commented out NoSource to provide comfortable rebuild. - Require exact wxGTK* version to prevent installation of outdated documentation. * Mon Aug 07 2006 sbrabec@suse.cz - Updated to version 2.6.3.3. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 16 2006 sbrabec@suse.cz - Updated to version 2.6.2.1. * Tue Aug 02 2005 sbrabec@suse.cz - Updated to version 2.6.1.0. * Wed Apr 27 2005 mcihar@suse.cz - update to 2.6.0.0 * Thu Nov 18 2004 mcihar@suse.cz - update to 2.5.3.1 * Thu Nov 04 2004 ro@suse.de - remove binary from noarch package * Tue Aug 31 2004 mcihar@suse.cz - update to 2.5.2.8 * Mon Aug 16 2004 mcihar@suse.cz - update to 2.5.2.7 - dropped wxGTK examples * Tue Apr 13 2004 mcihar@suse.cz - update to 2.5.1.5 * Thu Mar 18 2004 mcihar@suse.cz - remove backup files (bug #36350) * Thu Oct 16 2003 mcihar@suse.cz - updated to 2.4.2.4 - do not use root for build * Tue Sep 02 2003 mcihar@suse.cz - python-wxGTK-examples now requires also python modules that demo requires * Wed Aug 20 2003 mcihar@suse.cz - created new package that contains docs, demos and examples for wxGTK and python-wxGTK packages
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor