Files
patterns-devel-python/patterns-devel-python.spec

129 lines
4.0 KiB
RPMSpec

#
# spec file for package patterns-devel-python
#
# Copyright (c) 2017 SUSE LINUX 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/
#
%bcond_with betatest
Name: patterns-devel-python
Version: 20170319
Release: 0
Summary: Patterns for Installation (Python devel)
License: MIT
Group: Metapackages
Url: https://github.com/openSUSE/patterns
Source0: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: patterns-rpm-macros
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
This particular package contains all the python patterns.
################################################################################
%package devel_python
%pattern_development
Summary: Python Development
Group: Metapackages
Provides: pattern() = devel_python
Provides: pattern-icon() = pattern-basis-devel
Provides: pattern-order() = 3360
Provides: pattern-visible()
Recommends: pychecker
Recommends: python
Recommends: python-devel
Suggests: eric
Suggests: libxml2-python
Suggests: libxslt-python
Suggests: python-cairo-devel
Suggests: python-gnome-devel
Suggests: python-gobject2-devel
Suggests: python-gtk-devel
Suggests: python-ldap
Suggests: python-qt4
Suggests: python-wxWidgets
Suggests: python-xml
Suggests: treeline
Suggests: python-python-dateutil
Suggests: python-fcgi
Suggests: python-gdbm
Suggests: python-httplib2
Suggests: python-pyOpenSSL
Suggests: python-opensync
Suggests: python-pam
Suggests: python-pygame
Suggests: python-pyserial
Suggests: python-Twisted
Suggests: python-zope.interface
%description devel_python
Tools and libraries for software development using the Python programming language.
%files devel_python
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/devel_python.txt
################################################################################
%package devel_python3
%pattern_development
Summary: Python 3 Developement
Group: Metapackages
Provides: pattern() = devel_python3
Provides: pattern-icon() = pattern-basis-devel
Provides: pattern-order() = 3359
Provides: pattern-visible()
Recommends: python3
Recommends: python3-devel
Suggests: python3-lxml
Suggests: python3-pip
Suggests: python3-Cython
Suggests: python3-setuptools
Suggests: python3-requests
Suggests: python3-pyOpenSSL
Suggests: python3-pycrypto
Suggests: python3-simplejson
Suggests: python3-Sphinx
Suggests: python3-docutils
Suggests: python3-Jinja2
Suggests: python3-coverage
Suggests: python3-nose
%description devel_python3
%files devel_python3
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/devel_python3.txt
################################################################################
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/
echo 'This file marks the pattern devel_python to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_python.txt
echo 'This file marks the pattern devel_python3 to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_python3.txt
%changelog