Sync from SUSE:SLFO:Main patterns-devel-C-C++ revision d4fbf84e4bcbaf3a6acbaea10d16d0a7

This commit is contained in:
Adrian Schröter 2025-03-10 12:44:55 +01:00
commit d9e7630f25
4 changed files with 153 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

View File

@ -0,0 +1,7 @@
#
# Safe to ignore Warnings/Errors
#
addFilter("E: explicit-lib-dependency");
addFilter("E: devel-dependency");

View File

@ -0,0 +1,33 @@
-------------------------------------------------------------------
Mon Aug 22 02:40:15 UTC 2022 - Luciano Santos <luc14n0@opensuse.org>
- Add gcc-c++ as a hard requirement to not rely only on the
devel_basis Pattern where it only recommends gcc-c++. This is to
ensure that users that disable recommended package installation
in Zypper's configuration file or pass the --no-recommended
option flag to the Zypper command won't ironically end up without
a C++ compiler.
- Add libstdc++-devel as a hard requirement for the same reason as
gcc-c++ above, to ensure it gets installed.
- Drop no longer needed BuildRoot tag due to its deprecation.
- Replace $RPM_BUILD_ROOT/usr/share/doc/packages with %{buildroot}\
%{_defaultdocdir}, in the files section, following our best
practices.
- Build package as a "noarch" since it doesn't contain anything
architecture-specific.
-------------------------------------------------------------------
Sun Sep 30 00:34:06 UTC 2018 - Stasiek Michalski <hellcp@mailbox.org>
- Change icon for C devel package. (boo#1039994)
-------------------------------------------------------------------
Mon Jul 3 12:15:39 UTC 2017 - tchvatal@suse.com
- Remove ddd as it didn't have release in last 10 years and thus
we should not really promote it
-------------------------------------------------------------------
Thu Mar 16 06:15:40 UTC 2017 - sflees@suse.de
- Create new package from old unified patterns package

90
patterns-devel-C-C++.spec Normal file
View File

@ -0,0 +1,90 @@
#
# spec file for package patterns-devel-C-C++
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%bcond_with betatest
Name: patterns-devel-C-C++
Version: 20170319
Release: 0
Summary: Patterns for Installation (C/C++ devel pattern)
License: MIT
Group: Metapackages
URL: https://github.com/openSUSE/patterns
Source0: patterns-devel-C-C++-rpmlintrc
BuildRequires: patterns-rpm-macros
BuildArch: noarch
%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 C and C++ development patterns.
################################################################################
%package devel_C_C++
%pattern_development
Summary: C/C++ Development
Group: Metapackages
Provides: pattern() = devel_C_C++
Provides: pattern-icon() = pattern-c-devel
Provides: pattern-order() = 3240
Provides: pattern-visible()
Requires: pattern() = devel_basis
#
# Ensure openSUSE users will have a functional development environment.
# Hard require gcc-c++ and libstdc++-devel as they are only soft required by
# devel_basis Pattern.
#
Requires: gcc-c++
Requires: libstdc++-devel
Recommends: boost-devel
Recommends: boost-jam
Recommends: glibc-info
Recommends: ltrace
Recommends: posix_cc
Recommends: swig
Recommends: valgrind
# 403368
Suggests: dejagnu
Suggests: expect
%description devel_C_C++
Tools and libraries for software development using C/C++ and other derivative
of the C programming language.
%files devel_C_C++
%dir %{_defaultdocdir}/patterns/
%{_defaultdocdir}/patterns/devel_C_C++.txt
################################################################################
%prep
%build
%install
mkdir -p %{buildroot}%{_defaultdocdir}/patterns
echo 'This file marks the pattern devel_C_C++ to be installed.' \
> %{buildroot}%{_defaultdocdir}/patterns/devel_C_C++.txt
%changelog