Accepting request 485929 from home:simotek:patterns

Please forward to Factory and Update the maintainer list as you see appropriate.

This partly replaces the old patterns package

OBS-URL: https://build.opensuse.org/request/show/485929
OBS-URL: https://build.opensuse.org/package/show/Java:packages/patterns-devel-java?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2017-04-06 11:23:23 +00:00
committed by Git OBS Bridge
commit 2632dc65b5
5 changed files with 154 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
addFilter("W: no-binary");

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Mar 16 06:15:40 UTC 2017 - sflees@suse.de
- Create new package from old unified patterns package

123
patterns-devel-java.spec Normal file
View File

@@ -0,0 +1,123 @@
#
# spec file for package patterns-openSUSE
#
# 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-java
Version: 20170319
Release: 0
Summary: Patterns for Installation (java 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 the Java Development patterns.
################################################################################
%package devel_java
%pattern_development
Summary: Java Development
Group: Metapackages
Provides: pattern() = devel_java
Provides: pattern-icon() = pattern-basis-devel
Provides: pattern-order() = 3300
Provides: pattern-visible()
# from data/DEVEL-Java
Recommends: ant
Recommends: ant-antlr
Recommends: ant-apache-bcel
Recommends: ant-apache-bsf
Recommends: ant-apache-log4j
Recommends: ant-apache-oro
Recommends: ant-apache-regexp
Recommends: ant-apache-resolver
Recommends: ant-commons-logging
Recommends: ant-javadoc
Recommends: ant-javamail
Recommends: ant-jdepend
Recommends: ant-jmf
Recommends: ant-junit
Recommends: ant-manual
Recommends: ant
Recommends: ant-scripts
Recommends: ant-swing
Recommends: ant
Recommends: log4j
Recommends: xalan-j2
Recommends: xerces-j2
Recommends: xml-commons-apis
Recommends: xml-commons-resolver
Recommends: xml-commons-which10
Recommends: java-1_8_0-openjdk
%ifarch %ix86
Recommends: icedtea-web
%endif
Recommends: java-1_5_0-gcj-compat-devel
Suggests: gnu-jaf
Suggests: apache-commons-beanutils
Suggests: apache-commons-codec
Suggests: apache-commons-collections
Suggests: apache-commons-daemon
Suggests: apache-commons-dbcp
Suggests: apache-commons-httpclient
Suggests: apache-commons-lang
Suggests: apache-commons-logging
Suggests: apache-commons-pool
Suggests: apache-commons-validator
Suggests: jakarta-commons-digester
Suggests: jakarta-commons-discovery
Suggests: jakarta-commons-el
Suggests: jakarta-commons-fileupload
Suggests: jakarta-commons-launcher
Suggests: jakarta-commons-modeler
Suggests: javacc
Suggests: jdepend
Suggests: mysql-connector-java
# just an editor
Suggests: jedit
Suggests: java-1_8_0-openjdk-devel
Suggests: mx4j
Suggests: ant-javamail
Suggests: geronimo-j2ee-1_4-apis
%description devel_java
Tools and libraries for software development using the Java programming language.
%files devel_java
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/devel_java.txt
################################################################################
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/
echo 'This file marks the pattern devel_java to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_java.txt