patterns-gnome/patterns-gnome.spec
Dominique Leuenberger 20198ef0f4 Accepting request 580939 from home:fcrozat:branches:GNOME:Factory
- Split gnome pattern into gnome_x11 and gnome (wayland) patterns
  to implement SLED system roles (FATE#324198).
- Add gnome-user-share as requires (bsc#1075321).

- Add deja-dup, gnome-characters and gnome-contacts are Recommends
  to gnome pattern (SLE only) (bsc#1069699).
- Add brasero and file-roller as Recommends to gnome_basic pattern
  (SLE only) (bsc#1069699, bsc#1065945).

- Fix requires in gnome_basic pattern, it MUST be gnome_basic, not
  gnome-basic (bsc#1066771), pattern name MUST NOT contain -, only
  _ is allowed.

- Fix requires in gnome pattern on SLE, should be gnome-basic not
  gnome_basic.

- Stop requiring yast2-control-center-gnome in gnome pattern, use
  x11_yast patterns as Recommends instead (bsc#1062733).
- Remove gstreamer as Recommends, it is pulled by package
  dependencies.
- Stop provides/obsoletes openSUSE patterns when building on SLE.
- On SLE, gnome pattern requires gnome_basic and not just
  gnome_basis (bsc#1065166).
- No longer requires cheese for g-c-c user panel, only recommends.
- Switch to pidgin on SLE (bsc#1065191).
- Recommends gnome-documents on SLE gnome pattern.
- No longer recommends tracker-gui, it no longer exists.
- Recommends NetworkManager-openvpn/pptp/openconnect-gnome on SLE
  gnome pattern (bsc#1065148).
- Disable some implicit requires

OBS-URL: https://build.opensuse.org/request/show/580939
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/patterns-gnome?expand=0&rev=25
2018-03-09 10:50:26 +00:00

1003 lines
29 KiB
RPMSpec

#
# spec file for package patterns-gnome
#
# Copyright (c) 2018 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-gnome
Version: 20170319
Release: 0
Summary: Patterns for Installation (Gnome)
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 Gnome patterns.
################################################################################
%if 0%{?is_opensuse}
%package devel_gnome
%pattern_development
Summary: GNOME Development
Group: Metapackages
Provides: pattern() = devel_gnome
Provides: pattern-icon() = pattern-gnome-devel
Provides: pattern-order() = 3160
Provides: pattern-visible()
Requires: pattern() = devel_C_C++
Requires: pattern() = gnome_basis
Provides: patterns-openSUSE-devel_gnome = %{version}
Obsoletes: patterns-openSUSE-devel_gnome < %{version}
Recommends: cairo-devel
Recommends: clutter-devel
Recommends: clutter-gst-devel
Recommends: clutter-gtk-devel
Recommends: evolution-data-server-devel
Recommends: gdk-pixbuf-devel
Recommends: glib2-devel
Recommends: libgnome-desktop-3-devel
Recommends: gnome-menus-devel
Recommends: gnome-online-accounts-devel
Recommends: gtk2-devel
Recommends: gtk3-devel
Recommends: gtksourceview-devel
Recommends: json-glib-devel
Recommends: libcanberra-devel
Recommends: libgdata-devel
Recommends: libgnome-keyring-devel
Recommends: libgsf-devel
Recommends: libgtop-devel
Recommends: libgweather-devel
Recommends: libnotify-devel
Recommends: librsvg-devel
Recommends: libsoup-devel
Recommends: libwebkitgtk-devel
Recommends: libwnck-devel
Recommends: pango-devel
Recommends: tracker-devel
Recommends: vte-devel
# Build tools
Recommends: gnome-common
Recommends: gnome-doc-utils-devel
Recommends: gobject-introspection-devel
Recommends: gtk-doc
Recommends: intltool
Recommends: itstool
Recommends: vala
Recommends: yelp-tools
Suggests: python-gobject-devel
%description devel_gnome
GNOME development packages.
%files devel_gnome
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/devel_gnome.txt
%endif
################################################################################
%package gnome_x11
%pattern_graphicalenvironments
Summary: GNOME Desktop Environment (X11)
Group: Metapackages
Provides: pattern() = gnome_x11
Provides: pattern-icon() = pattern-gnome_x11
Provides: pattern-order() = 1010
Provides: pattern-visible()
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-gnome = %{version}
Obsoletes: patterns-openSUSE-gnome < %{version}
%else
Provides: patterns-sled-Default
Obsoletes: patterns-sled-Default < %{version}
%endif
%if 0%{?is_opensuse}
Requires: pattern() = gnome_basis
%else
# bsc#1065166
Requires: pattern() = gnome_basic
%endif
Recommends: pattern() = x11_yast
Recommends: pattern() = gnome_imaging
Recommends: pattern() = office
Suggests: pattern() = documentation
%if 0%{?is_opensuse}
Recommends: pattern() = games
Recommends: pattern() = imaging
Recommends: pattern() = gnome_admin
Recommends: pattern() = gnome_internet
Recommends: pattern() = multimedia
Recommends: pattern() = gnome_utilities
%endif
# These were not in the tumbleweed pattern
Requires: gnome-packagekit
Requires: remmina
Requires: xdg-user-dirs-gtk
Recommends: amavisd-new
Recommends: dconf-editor
# bsc#1069699
Recommends: deja-dup
Recommends: evince
Recommends: evolution-ews
Recommends: gimp
# bsc#1069699
Recommends: gnome-characters
# bsc#1069699
Recommends: gnome-contacts
Recommends: gnome-control-center-color
Recommends: gnome-control-center-goa
Recommends: gnome-desktop
Recommends: gnome-icon-theme
Recommends: gnome-initial-setup
Recommends: gnome-menus
Recommends: gnote
Recommends: gpgme
Recommends: nautilus-eiciel
Recommends: noto-sans-cjk-fonts
Recommends: python3-speechd
Recommends: speech-dispatcher
Recommends: speech-dispatcher-module-espeak
#
# Official upstream
#
# no longer need to hard require cheese for g-c-c user panel
Recommends: cheese
# #447627
Requires: gnome-user-share
# #545263
Requires: seahorse
Requires: totem
Requires: vino
# bnc#366894
Recommends: caribou
# #594593
%if 0%{?is_opensuse}
Recommends: empathy
%else
# bsc#1065191
Recommends: pidgin
%endif
Recommends: evolution
Recommends: gnome-clocks
# #554954
Recommends: gnome-disk-utility
Recommends: gnome-documents
# #399801
Recommends: mousetweaks
Recommends: nautilus-sendto
Recommends: orca
Recommends: planner
# #608156
Recommends: tracker
Recommends: tracker-miner-files
Recommends: zenity
%if 0%{?is_opensuse}
#
# Official upstream
#
# #544192
Recommends: baobab
Recommends: bijiben
# #302492
Suggests: brasero
Recommends: file-roller
Recommends: gcr-viewer
Recommends: gedit
Recommends: gnome-characters
Recommends: gnome-contacts
Recommends: gnome-dictionary
Recommends: gnome-documents
Recommends: gnome-logs
Recommends: gnome-maps
Recommends: gnome-screenshot
Recommends: gnome-system-monitor
Recommends: sushi
Recommends: totem-browser-plugin
#
# Packages that really make sense
#
# Tool for advanced configuration of printers
Recommends: system-config-printer
Recommends: tracker-miner-evolution
#
# Telepathy connection managers
#
Recommends: telepathy-gabble
Recommends: telepathy-haze
Recommends: telepathy-idle
Recommends: telepathy-rakia
Recommends: telepathy-salut
#
# While running a GNOME3 session, it's nice to have the GNOME3 related pinentry
# for proper gpg2 integration
#
Recommends: pinentry-gnome3
Suggests: dasher
Suggests: gconf-editor
Suggests: gnome-backgrounds
# bnc#698250
Suggests: gnome-color-manager
Recommends: gnome-menus-branding-openSUSE
%else
# This is NetworkManager-applet in tumbleweed
Recommends: NetworkManager-gnome
Recommends: desktop-data-SLE-extra
Recommends: gnome-menus-branding-SLE
# bsc#1065148
Recommends: NetworkManager-openvpn-gnome
Recommends: NetworkManager-pptp-gnome
Recommends: NetworkManager-openconnect-gnome
%endif
%description gnome_x11
The GNOME desktop environment is an intuitive and attractive desktop for users.
This pattern installs components for GNOME to run with X11 technology.
%files gnome_x11
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_x11.txt
################################################################################
%package gnome
%pattern_gnomedesktop
Summary: GNOME Desktop Environment (Wayland)
Group: Metapackages
Provides: pattern() = gnome
Requires: pattern() = gnome_x11
Provides: pattern-order() = 2040
Recommends: gnome-session-wayland
%description gnome
The GNOME desktop environment is an intuitive and attractive desktop for users.
This pattern installs components for GNOME to run with Wayland and X11 technologies.
%files gnome
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome.txt
################################################################################
%if 0%{?is_opensuse}
%package gnome_admin
%pattern_gnomedesktop
Summary: GNOME Administration Tools
Group: Metapackages
Provides: pattern() = gnome_admin
Provides: pattern-extends() = gnome
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 2040
Requires: pattern() = x11
Provides: patterns-openSUSE-gnome_admin = %{version}
Obsoletes: patterns-openSUSE-gnome_admin < %{version}
# from data/GNOME-ADMIN
# bnc#372207
Recommends: vinagre
%description gnome_admin
Administration Tools e.g. for desktop lockdown
%files gnome_admin
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_admin.txt
%endif
################################################################################
%package gnome_basis
%pattern_graphicalenvironments
Summary: GNOME Base System
Group: Metapackages
Provides: pattern() = gnome_basis
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 1000
Requires: pattern() = x11
%if 0%{?is_opensuse}
Recommends: pattern() = gnome_basis_opt
Provides: patterns-openSUSE-gnome_basis = %{version}
Obsoletes: patterns-openSUSE-gnome_basis < %{version}
%endif
Requires: gdm
Requires: gnome-session
# implied by gdm
#Requires: gnome-shell
#Requires: gnome-settings-daemon
# implied by gnome-shell
#Requires: gnome-control-center
#
# Default sessions
# - Put in Recommends for now, to make sure the livecd will always build; but
# ideally, should be in Requires
# - We also we explicitly put the packages required by those sessions, in case
# gnome-session-*-session is not installable, to make sure the livecd is
# somehow a bit usable
#
Recommends: gnome-session-default-session
#
# Low-level parts that we need
#
%if 0%{is_opensuse}
# bnc#430161
Recommends: NetworkManager
Recommends: NetworkManager-applet
%endif
Recommends: desktop-file-utils
Recommends: gpgme
Recommends: polkit-default-privs
Recommends: samba
#
# Now the real packages
#
# #332596
Recommends: gnome-keyring-pam
%if 0%{is_opensuse}
Recommends: canberra-gtk-play
%endif
# bnc#879466
Recommends: gnome-user-docs
# implied by gnome-keyring-pam
#Recommends: gnome-keyring
# FIXME not sure gnome-menus is really needed
Recommends: gnome-menus
Recommends: gnome-power-manager
Recommends: gnome-terminal
Recommends: nautilus
Recommends: yelp
# Pulseaudio is the default sound server
%if 0%{is_opensuse}
Recommends: pulseaudio-module-bluetooth
Recommends: pulseaudio-module-lirc
Recommends: pulseaudio-module-zeroconf
%endif
Recommends: pulseaudio-module-gconf
Recommends: pulseaudio-module-x11
# #509829
Recommends: xdg-user-dirs-gtk
# we need something for xdg-su
Recommends: libgnomesu
# from data/COMMON-DESKTOP
Recommends: google-droid-fonts
Recommends: desktop-data
%if 0%{is_opensuse}
Recommends: MozillaFirefox
Recommends: avahi
# metalink downloader
Suggests: aria2
#
# Branding
#
# #591535
Recommends: gconf2-branding-openSUSE
Recommends: gdm-branding-openSUSE
Recommends: gio-branding-openSUSE
Recommends: gnome-control-center-branding-openSUSE
Recommends: gnome-menus-branding-openSUSE
Recommends: gnome-panel-branding-openSUSE
Recommends: gtk2-branding-openSUSE
Recommends: gtk3-branding-openSUSE
Recommends: hicolor-icon-theme-branding-openSUSE
Recommends: libsocialweb-branding-openSUSE
%endif
%description gnome_basis
Base packages for the GNOME desktop environment.
%files gnome_basis
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_basis.txt
################################################################################
%package gnome_basic
%pattern_graphicalenvironments
Summary: GNOME Desktop Environment
Group: Metapackages
Provides: pattern() = gnome_basic
%if !0%{?is_opensuse}
Obsoletes: patterns-sles-gnome-basic
%endif
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 1010
Provides: pattern-visible()
# TEST
Requires: pattern() = gnome_basis
# ENDTEST
Requires: pattern() = basesystem
Requires: pattern() = x11_enhanced
Requires: gsettings-backend-dconf
# bsc#1065945
Recommends: brasero
Recommends: evince
# bsc#1065146
Recommends: gedit
Recommends: gnome-shell-classic
# implified by gnome-keyring-pam
# Recommends: gnome-keyring
# bsc#1063156
Recommends: gnome-calculator
Recommends: gnome-software
Recommends: gconf-editor
Recommends: gnome-system-monitor
# bnc#859494 bsc#1065790
Recommends: gnome-tweak-tool
Recommends: nautilus-extension-terminal
Recommends: nautilus-share
Recommends: pinentry-gnome3
Recommends: vino
# bsc#1069699
Recommends: file-roller
%description gnome_basic
The GNOME desktop environment is an intuitive and attractive desktop for users.
%files gnome_basic
%dir %{_docdir}/patterns
%{_docdir}/patterns/gnome_basic.txt
################################################################################
%if 0%{?is_opensuse}
%package gnome_basis_opt
%pattern_graphicalenvironments
Summary: GNOME Base System
Group: Metapackages
Provides: pattern() = gnome_basis_opt
Provides: pattern-extends() = gnome_basis
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 1420
Requires: pattern() = x11
Provides: patterns-openSUSE-gnome_basis_opt = %{version}
Obsoletes: patterns-openSUSE-gnome_basis_opt < %{version}
# #394406
Recommends: dynamic-wallpaper-branding-openSUSE
# packages a GTK application
Recommends: gutenprint
# MAYBE later lsb-graphics
# give net shares
Recommends: samba
# needs python-qt4, see#649280#14
Suggests: hplip
%description gnome_basis_opt
Base packages for the GNOME desktop environment.
%files gnome_basis_opt
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_basis_opt.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_games
%pattern_gnomedesktop
Summary: GNOME Games
Group: Metapackages
Provides: patterns-openSUSE-gnome_games = %{version}
Provides: pattern() = gnome_games
Provides: pattern-extends() = games
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 2100
Obsoletes: patterns-openSUSE-gnome_games < %{version}
Supplements: packageand(patterns-gnome-gnome:patterns-games-games)
# from data/GNOME-Games
Recommends: iagno
Recommends: lightsoff
Recommends: quadrapassel
Recommends: gnome-chess
Recommends: gnome-mahjongg
Recommends: gnome-mines
Recommends: gnome-sudoku
Recommends: swell-foop
Recommends: gnuchess
Suggests: gnome-games-extra-data
Suggests: phalanx
%description gnome_games
GNOME Games
%files gnome_games
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_games.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_ide
%pattern_gnomedesktop
Summary: GNOME Integrated Development Environment
Group: Metapackages
Provides: patterns-openSUSE-gnome_ide = %{version}
Provides: pattern() = gnome_ide
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 2060
Obsoletes: patterns-openSUSE-gnome_ide < %{version}
# from data/GNOME-IDE
Recommends: devhelp
Recommends: gitg
Recommends: glade
Recommends: gnome-builder
# from devel_ide
Suggests: accerciser
Suggests: anjuta
Suggests: anjuta-extras
Suggests: gedit
Suggests: gedit-plugins
Suggests: ghex
Suggests: giggle
Suggests: gnome-devel-docs
Suggests: jhbuild
Suggests: meld
Suggests: monodevelop
Suggests: nemiver
%description gnome_ide
Development under GNOME
%files gnome_ide
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_ide.txt
%endif
################################################################################
%package gnome_imaging
%pattern_gnomedesktop
Summary: GNOME Graphics
Group: Metapackages
Provides: pattern() = gnome_imaging
Provides: pattern-extends() = imaging
Provides: pattern-icon() = package_graphics
Provides: pattern-order() = 2140
Supplements: packageand(patterns-gnome-gnome:patterns-desktop-imaging)
Requires: pattern() = gnome_basis
Recommends: pattern() = gnome_imaging_opt
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-gnome_imaging = %{version}
Obsoletes: patterns-openSUSE-gnome_imaging < %{version}
%endif
# from data/GNOME-IMAGE
#
# Official upstream
#
Recommends: eog
#
# Packages that really make sense
#
Recommends: gnome-photos
Recommends: simple-scan
Recommends: inkscape
%if 0%{?is_opensuse}
Suggests: f-spot
%endif
%description gnome_imaging
Handling of digital photos and graphics
%files gnome_imaging
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_imaging.txt
################################################################################
%if 0%{?is_opensuse}
%package gnome_imaging_opt
%pattern_gnomedesktop
Summary: GNOME Graphics
Group: Metapackages
Provides: pattern() = gnome_imaging_opt
Provides: pattern-extends() = imaging
Provides: pattern-icon() = package_graphics
Provides: pattern-order() = 2120
Supplements: packageand(patterns-gnome-gnome:patterns-desktop-imaging)
Requires: pattern() = gnome_basis
Provides: patterns-openSUSE-gnome_imaging_opt = %{version}
Obsoletes: patterns-openSUSE-gnome_imaging_opt < %{version}
# from data/GNOME-IMAGE-OPT
Suggests: dia
Suggests: gthumb
%description gnome_imaging_opt
Handling of digital photos and graphics
%files gnome_imaging_opt
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_imaging_opt.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_internet
%pattern_gnomedesktop
Summary: GNOME Internet
Group: Metapackages
Provides: patterns-openSUSE-gnome_internet = %{version}
Provides: pattern() = gnome_internet
Provides: pattern-extends() = gnome
Provides: pattern-icon() = package_network
Provides: pattern-order() = 2420
Obsoletes: patterns-openSUSE-gnome_internet < %{version}
# from data/GNOME-Internet
#
# Official upstream
#
Recommends: empathy
Recommends: evolution
#
# Packages that really make sense
#
# bnc#533580
Recommends: NetworkManager-openvpn-gnome
Recommends: NetworkManager-pptp-gnome
Recommends: NetworkManager-vpnc-gnome
Recommends: NetworkManager-openconnect-gnome
# bnc#530416
Recommends: transmission-gtk
Recommends: polari
#
# Official upstream
#
# bnc#366894
Suggests: ekiga
Suggests: epiphany
#
# Packages that can make sense
#
Suggests: frogr
Suggests: evolution-plugin-rss
Suggests: pidgin
%description gnome_internet
GNOME Internet Applications
%files gnome_internet
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_internet.txt
%endif
################################################################################
%package gnome_laptop
%pattern_gnomedesktop
Summary: GNOME Laptop
Group: Metapackages
Provides: pattern() = gnome_laptop
Provides: pattern-extends() = laptop
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 2160
Supplements: packageand(patterns-gnome-gnome:patterns-desktop-laptop)
Requires: pattern() = gnome_basis
%if 0%{?is_opensuse}
Provides: patterns-openSUSE-gnome_laptop = %{version}
Obsoletes: patterns-openSUSE-gnome_laptop < %{version}
%endif
# from data/GNOME-LAPTOP
Recommends: gnome-bluetooth
Suggests: xournal
%description gnome_laptop
GNOME Tools designed specifically for use with laptop computers.
%files gnome_laptop
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_laptop.txt
################################################################################
%if 0%{?is_opensuse}
%package gnome_multimedia
%pattern_gnomedesktop
Summary: GNOME Multimedia
Group: Metapackages
Provides: pattern() = gnome_multimedia
Provides: pattern-extends() = multimedia
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 2200
Supplements: packageand(patterns-gnome-gnome:patterns-desktop-multimedia)
Recommends: pattern() = gnome_multimedia_opt
Provides: patterns-openSUSE-gnome_multimedia = %{version}
Obsoletes: patterns-openSUSE-gnome_multimedia < %{version}
#
# GStreamer magic
#
# software.openSUSE.org/codecs
Recommends: gstreamer-plugins-base
Recommends: gstreamer-plugins-bad
Recommends: gstreamer-plugins-good
Recommends: gstreamer-plugins-ugly
# bnc#445314
Recommends: gstreamer-utils
#
# Official upstream
#
Recommends: totem
Recommends: totem-browser-plugin
#
# Packages that really make sense
#
Recommends: gnome-music
#
# Packages that really make sense
#
Suggests: paprefs
Suggests: pavucontrol
Suggests: pitivi
Suggests: sound-juicer
%description gnome_multimedia
GNOME Multimedia
%files gnome_multimedia
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_multimedia.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_multimedia_opt
%pattern_gnomedesktop
Summary: GNOME Multimedia
Group: Metapackages
Provides: pattern() = gnome_multimedia_opt
Provides: pattern-extends() = multimedia
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 2180
Supplements: packageand(patterns-gnome-gnome:patterns-desktop-multimedia)
Provides: patterns-openSUSE-gnome_multimedia_opt = %{version}
Obsoletes: patterns-openSUSE-gnome_multimedia_opt < %{version}
# from data/GNOME-Multimedia-OPT
%description gnome_multimedia_opt
GNOME Multimedia
%files gnome_multimedia_opt
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_multimedia_opt.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_office
%pattern_gnomedesktop
Summary: GNOME Office
Group: Metapackages
Provides: pattern() = gnome_office
Provides: pattern-extends() = office
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 2240
Supplements: packageand(patterns-gnome-gnome:patterns-office-office)
Requires: pattern() = gnome_basis
Recommends: pattern() = gnome_office_opt
Provides: patterns-openSUSE-gnome_office = %{version}
Obsoletes: patterns-openSUSE-gnome_office < %{version}
# from data/GNOME-Office
#
# Official upstream
#
Recommends: evolution
#
# Packages that really make sense
#
Recommends: libreoffice-gnome
Recommends: libreoffice-icon-theme-tango
Suggests: abiword
Suggests: evolution-ews
Suggests: glabels
Suggests: gnumeric
Suggests: pinpoint
Suggests: planner
%description gnome_office
GNOME Office
%files gnome_office
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_office.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_office_opt
%pattern_gnomedesktop
Summary: GNOME Office
Group: Metapackages
Provides: pattern() = gnome_office_opt
Provides: pattern-extends() = office
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 2220
Supplements: packageand(patterns-gnome-gnome:patterns-office-office)
Requires: pattern() = gnome_basis
Provides: patterns-openSUSE-gnome_office_opt = %{version}
Obsoletes: patterns-openSUSE-gnome_office_opt < %{version}
Suggests: grisbi
%description gnome_office_opt
GNOME Office
%files gnome_office_opt
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_office_opt.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_utilities
%pattern_gnomedesktop
Summary: GNOME Utilities
Group: Metapackages
Provides: pattern() = gnome_utilities
Provides: pattern-extends() = gnome
Provides: pattern-icon() = pattern-gnome
Provides: pattern-order() = 2280
Requires: pattern() = gnome_basis
Provides: patterns-openSUSE-gnome_utilities = %{version}
Obsoletes: patterns-openSUSE-gnome_utilities < %{version}
#
# Official upstream
#
Recommends: baobab
Recommends: cheese
Recommends: file-roller
Recommends: gedit
Recommends: gnome-calculator
Recommends: gnome-characters
Recommends: gnome-dictionary
Recommends: gnome-screenshot
Recommends: nautilus-extension-seahorse
Recommends: nautilus-sendto
Recommends: seahorse
Recommends: bijiben
#
# Packages that really make sense
#
Recommends: gnome-tweak-tool
Recommends: gsf-office-thumbnailer
Recommends: gdk-pixbuf-thumbnailer
Recommends: rsvg-thumbnailer
Recommends: gnome-weather
#
# Official upstream
#
Suggests: dasher
Suggests: eog-plugins
Suggests: gedit-plugins
#
# Packages that can make sense
#
Suggests: gtg
# #388570
Suggests: nautilus-share
%description gnome_utilities
GNOME Utilities
%files gnome_utilities
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_utilities.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package gnome_yast
%pattern_basetechnologies
Summary: YaST GNOME User Interfaces
Group: Metapackages
Provides: pattern() = gnome_yast
Provides: pattern-extends() = yast2_basis
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 1260
Supplements: packageand(patterns-gnome-gnome:patterns-yast-yast2_basis)
Provides: patterns-openSUSE-gnome_yast = %{version}
Obsoletes: patterns-openSUSE-gnome_yast < %{version}
# Use libyui-qt-pkg since libyui-gtk-pkg seems to be unmaintained
Requires: libyui-qt-pkg
Requires: yast2-control-center-qt
# yast modules for the desktop
Recommends: yast2-scanner
Recommends: yast2-tv
%description gnome_yast
Graphical YaST user interfaces for the GNOME desktop.
%files gnome_yast
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/gnome_yast.txt
%endif
################################################################################
%if 0%{?is_opensuse}
%package sw_management_gnome
%pattern_basetechnologies
Summary: Package Management - Graphical Tools for GNOME
Group: Metapackages
Provides: pattern() = sw_management_gnome
Provides: pattern-extends() = sw_management
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 1780
Supplements: packageand(patterns-gnome-gnome_basis:patterns-base-sw_management)
Requires: pattern() = sw_management
Requires: pattern() = x11
Provides: patterns-openSUSE-sw_management_gnome = %{version}
Obsoletes: patterns-openSUSE-sw_management_gnome < %{version}
# from data/SW-MANGEMENT-GNOME
Recommends: gnome-packagekit
Recommends: gnome-software
Suggests: libyui-gtk-pkg
%description sw_management_gnome
Package Management - Graphical Tools
%files sw_management_gnome
%dir /usr/share/doc/packages/patterns
/usr/share/doc/packages/patterns/sw_management_gnome.txt
%endif
%prep
%build
%install
mkdir -p "%{buildroot}/usr/share/doc/packages/patterns"
for i in gnome gnome_basis gnome_basic gnome_imaging gnome_laptop gnome_x11; do
echo "This file marks the pattern $i to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i.txt"
done
%if 0%{?is_opensuse}
for i in devel_gnome gnome_admin gnome_basis_opt \
gnome_games gnome_ide gnome_imaging_opt gnome_internet \
gnome_multimedia gnome_multimedia_opt gnome_office \
gnome_office_opt gnome_utilities gnome_yast sw_management_gnome; do
echo "This file marks the pattern $i to be installed." \
>"%{buildroot}/usr/share/doc/packages/patterns/$i.txt"
done
%endif
%changelog