plymouth/plymouth.spec
Cliff Zhao ad792d968a Accepting request 889522 from home:qzhao:branches:Base:System
Disable plymouth-systemd-KillMode-mixed.patch: Temporary disable it, because aarch64 and ppc64le system could not booting in release period, and this is only a enhancement with no harm to rollback (bnc#1177082, bnc#1182145, bnc#1184087).
- Fix broken use of %service_add_post and %service_del_postun. Without
  any services specified, the first is a no-op, the latter will only
  execute systemctl daemon-reload (boo#1179849).
- Use %ldconfig_scriptlets macro in Tumbleweed
- Disable plymouth-ignore-serial-console.patch:
  We could not totally disable serial, because S390 and some customer
  are still rely on it (bnc#1180973, bnc#1181216).
- Update to version: 0.9.5+git20201026: 
  Don't wait forever for a ping reply.
- Add plymouth-disable-fedora-logo.patch:
  Disable the image link which point to the fedora logo. this
  modification will also avoid the failure report from build
  checker.
- Add plymouth-ignore-serial-console.patch:
  Don't output in serial console for openQA need to take serial in
  the test, and yast-installation prgram has a feature to install 
  system through it (bnc#1051692 bnc#1164123 bnc#1170906). 
- Update plymouth.spec: prepare usrmerge (boo#1029961)
- Update to version: 0.9.5+git20200921+20778f2:
  * boot-server: Handle client disconnecting while trigger pending.
  * boot-server: Ref count the connections.
  * drm: Honor modes selected by the user through video= kernel
    cmdline argument.
  * use resolution of higher res monitor for window size.
  * autogoo: use /proc/self/fd/0 instead of /dev/stdin.
  * main: Don't bail out of load_settings if "Theme" is missing.
  * main: switch log file when switching mode.
  * main: fix mode changing before splash is shown.
  * two-step: Center message text within labels if labels are
    centered.
  * drm/kms probe speedups.
  * drm: Do not unnecessarily get output info twice.
  * ply-device-manager: Only consume one udev event at a time.
  * two-step: Do not jump to end-animation on halt/reboot if it is 
    disabled.
  * two-step: Add UseEndAnimation setting.
  * script: add Image.Crop(x, y, width, height).
  * ply-throbber: Do not redraw when we need to stop throbbing on
    free.
  * ply-keymap-icon: Do not draw on free.
  * ply-capslock-icon: Do not draw on free.
  * script: add missing unref() for system update func.
  * themes: Drop UseFirmwareBackground=true from spinner/bgrt
    firmware-upgrade settings.
  * Fix SetSystemUpdateFunction.
  * event-loop: Remove ply_trace calls around the disconnect handler.
  * ply-terminal-session: Not use grantpt when the system shut down. 
    to avoid sytem hung up.
  * build-goo: Remove vestigial remnants of old GDM integration code.
- Drop plymouth-avoid-umount-hanging-shutdown.patch: because has
  been merged to upstream.
- Remove gnu-unifont-bitmap-fonts runtime dependency, it is not
  used anywhere.
- Remove unused kernel-headers and module-init-tools build deps.
- Make plymouth-scripts noarch, correct its runtime dependencies.
- Clean up spec file.
- Add plymouth-no-longer-modify-conf-to-drop-isopensuse-macro.patch:
  plymouth will use plymouthd.defaults instead of plymouth.conf and 
  packge plymouthd.defaults in a seperet RPM. this can avoid change 
  SUSE or openSUSE branding section with is_opensuse macro in the 
  config file. means this modification can close the leaps gap
  (jsc#SLE-11637).
- Update plymouth.spec: Dropping gdm transition because it has 
  alreay deprecated by upstream. Removing git build dependency.
- Drop plymouth-only_use_fb_for_cirrus_bochs.patch: openSUSE user 
  are using emu-5.0.0 on MacOS-X with HVF acceleration, the 
  Plymouth theme with script module fails to go to graphic mode 
  with this patch(boo#1172028).
- Avoid inconsistencies in library package names causing unresolvable
  dependencies, replace all soversion occurences with a macro.
- Add patch plymouth-avoid-umount-hanging-shutdown.patch:
  To avoid grantpt() call nsslookup, it will hanging system unmount
  /var during shutdown period(bnc#1105688, bnc#1129386, 
  bnc#1134660, bnc#1166601, bnc#1171971). 
- Update to version 0.9.5+git20190908+3abfab2:
  * two-step: Deal with buggy firmware which does not pre-rotate the bgrt image
  * configure: bump so name
  * Internationalization: Add zh_HK and zh_TW translations.
  * add delay time to 8 seconds to fit AMD graphic card.
- Update plymouth.spec: Disable upstart-monitor compile because it
  only used in Ubuntu/Debian. 
- Update plymouth.spec: Use bcond_with for X11 renderer, cleanup 
  syntax.
- Update plymouth.spec: obsolete plymouth render plugin for 
  Xwindows, Since this plugin will not be used in the production 
  environment, and this modify will highly decrease the compilation 
  of build requirements.
- Update to version 0.9.4+git20190612+9359382:
  * two-step: Add support for firmware-splashes with rotation 
    status bits set
  * Regenerate plymouth.pot to add the strings for the new 
    firmware-upgrade mode.
- Add dependency to dracut for plymouth-scripts(bnc#1138248). 
- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
  shortcut the build queues by allowing usage of systemd-mini
- Change default openSUSE theme to bgrt
- Update to version 0.9.4+git20190325+b9f2aac:
  * themes: Update spinner and bgrt background settings
  * Translations: Sync translations with zanata
- Fix theme-bgrt dependencies
  (based on plugin-two-step with images from theme-spinner)
- Update to version 0.9.4+git20181219.c8f1256:
  * ply-pixel-buffer: Fix right and bottom edge rendering of 
    scaled buffers.
  * Add support for translating the user visible strings in some 
    themes
  * Prefix Title and Subtitle theme config keywords with an 
    underscore
  * Add new reboot and system-upgrade modes
  * main: Remove private ply_mode_t
  * two-step: Make ProgressBarShowPercentComplete a per mode 
              setting
  * plymouthd.defaults: Change default ShowDelay to 0
  * ply-boot-splash: Do not add ply_boot_splash_update_progress 
                     timeout multiple times
  * logging: Minor log-message fixes.
             Improve logging format.
  * themes: Update spinner and bgrt theme offline updates mode
  * two-step: Add a per mode setting to suppress messages.
              Add progress-bar support.
              Add MessageBelowAnimation option.
              Add per mode settings.
              Drop background_is_bgrt view_t member
  * ply-progress-bar: Allow caller to specify the widgets width and 
                      height.
                      Allow choosing fore- and back-ground color.
                      Redraw on percentage update.
  * boot-server: fix type confusion when allocating connection object
  * ply-device-manager: Handle change events for monitor hotplugging.
                        Consume all events in one go.
  * drm: Stop limiting preferred-mode picking to UEFI systems.
         Reset mode on display-port connected outputs with a bad 
         link-status.
         Implement handle_change_event.
         Ensure heads are mapped before flushing them.
         Allow calling create_heads_for_active_connectors multiple 
         times.
         Allow calling ply_renderer_head_add_connector with existing 
         connector_id.
         Limit backend->resources lifetime to within query_device.
         Store and keep all the outputs in the backend.
         Add get_output_info helper function
         Stop storing a pointer to drmModeConnector in ply_output_t
         Stop keeing a drmModeConnector instance around.
         Refactor ply_renderer_head_add_connector and 
         ply_renderer_head_new
         
- Rebase 0002-Install-label-ft-plugin-into-initrd-if-available.patch
- Update to version 0.9.4+git20181219.c8f1256:
  * two-step: Use plymouth_strtod
    Use the locale agnostic plymouth_strtod helper which always 
    uses a "." as decimal seperator. This fixes the various 
    Alignment options not working with some locales. 
Wed Dec  12 08:48:56 UTC 2018 - qzhao@suse.com
- Update to version 0.9.4+git20181209.f7d5bb1:
  * ply-keyboard: Fix compiler warning
  * When a renderer goes away on a udev remove event, free
    keyboards associated with the renderer, before freeing the
    renderer.
  * device-manager: free keyboards when deactivating a renderer
  * keyboard: add helper to get the keyboard's renderer, if 
    applicable.
- Update to version 0.9.4+git20181204.0cd0613:
  * drm: Pick a controller for unconfigured connectors
  * drm: Drop crtcs for clones for which we've picked different 
         modes
  * drm: More connector enumeration refactoring
  * drm: Store tiled and rotation in ply_output_t
  * drm: Refactor create_heads_for_active_connectors
  * drm: Directly store the mode instead of the mode_index
  * drm: Drop unused encoder_id
- Update to version 0.9.4+git20181129.a7ec3e6:
  * Add new BGRT theme, using the firmware boot splash as background
  * two-step: bgrt: Deal with quirky firmwares, Add ACPI BGRT 
  extension support, Speed up background-tile drawing on HiDPI 
  screens, Use a pixel-buffer instead of an image for the view's 
  background
  * ply-pixel-buffer: Add ply_pixel_buffer_rotate_upright helper,
  Add ply_pixel_buffer_get/set_device_rotation helpers, Fix marking 
  buffers as opaque when doing a solid fill, Fix fill_with_buffer 
  fastpath when device_scale != 1. 
- Update to version 0.9.4+git20181122.aaa140b:
  Add a separator between different boot logs
  Fix race causing undesired creation of non-gfx devs
  Fix animation not starting on later added heads
- Update to version 0.9.4+git20181111.118c5ca:
  Modify systemd-units: Add "ConditionVirtualization=!container" in 
  all plymouth-*.service, also systemd-ask-password-plymouth.path.
- Update to version 0.9.4+git20181105.f898586:
  bump to 0.9.4
- Update to version 0.9.3+git20181031.025ce59:
  drm: use preferred mode for outputs
  drm: Refactor ply_renderer_connector_get_rotation
  drm: Reset LUT/gamma table before the first drmModeSetCrtc call
  libply: Move kernel commandline parsing functions to libply/ply-utils
  throbber: Don't skip last frame when waiting for end.
- Drop plymouth-throbber-Don-t-skip-last-frame-when-waiting-for-end.patch
  * Upstream has already accept Michal's modification.
- plymouth-throbber-Don-t-skip-last-frame-when-waiting-for-end.patch
  * Make sure plymouthd stops throbber animation at the first
    opportunity after receiving quit command, instead of looping
    multiple times. (boo#1110199)
- Update to version 0.9.3+git20180827.0a66272:
  * boot-server: free the argument and triggers
  * event-loop: fix leak in error path
  * script: fix various memory leaks
  * key-file: ply_key_file_get_value returns duplicated memory, fix
    memory leaks.
  * event-loop: fix leak in error path
  * boot-splash: fix memory leak in error path
  * populate-initrd: drop unused local variable
- Update to version 0.9.3+git20180827.0a66272:
  ensure tty is closed on deactivate
  If plymouth doesn't get explicitly "activated" then when
  GDM tries to deactivate it, the deactivation request is
  a noop.
  One aspect of being active, though is having ownership and
  control of the terminal.  This happens immediately, even
  before a splash is shown.
  The `deactivate` request needs to relinguish such control,
  unconditionally, since some display server is about to use
  the tty.
- Update patch name base on quilt standerd
  Remove only_use_fb_for_cirrus_bochs.patch
  Add plymouth-only_use_fb_for_cirrus_bochs.patch
  Remove 0001-Some-greenish-openSUSE-colors.patch
  Add plymouth-some-greenish-openSUSE-colors.patch
- Update to version 0.9.3+git20180807.7663b0c:
  * systemd-units: Add "ConditionVirtualization=!container"
  * README: add link to Code of Conduct
  * two-step: add unhandled splash mode case to switch
  * main: fix build
  * Fix miscellaneous compiler warnings
  * configure: Pass -Wno-cast-function-type if available
  * main: Fix getting detailed logs from systemd
  * main: Show details when ESC is pressed during splash_delay
  * drm: Remove unnecessary reset_scan_out_buffer_if_needed() call
    from ply_renderer_head_map()
  * main: Only activate renderers if the splash uses pixel-displays
- Switch to new gitlab home in _service.
- Refresh patches with quilt.
- Use autosetup macro.
- Drop plymouth-fix-window-size: The use of the smallest screen 
  size is deliberate (boo#804607 bsc#894051).
- Modify 0001-Add-label-ft-plugin.patch to fix problems with
  multiline text (bsc#1083695)
  * to prevent infinite loop newline characters need to be skipped
- Use %license instead of %doc (bsc#1082318)
- Update to version 0.9.3+git20171220.6e9e95d:
  * device-manager: drop superfluous
    create_pixel_displays_for_renderer call
  * x11: don't call gdk_display_get_name before gtk_init
- Update to version 0.9.3+git20171130.fa66a5b:
  * INSTALL: Fix a spelling error in the command example
  * populate-initrd: handle themes with subdirs
  * device-manager: fall back to text mode if graphical devices
    fail
  * scripts: Use >&2 instead of /dev/stderr
  * terminal: add include for sysmacros.h
  * configure: bump to 0.9.4
  * terminal-session: don't delete boot.log
  * Revert "Make boot.log world readable by default"
- Rebase 0002-Install-label-ft-plugin-into-initrd-if-available.patch
- Drop stop-graphical.patch: There are no conflicting these days, 
  obsolete this patch to enable auto switch to TTY when display 
  server not exist (boo#1066510).
- Update plymouth.spec: Add COPYING file in plymouth package file
  list, This is for the law requirement (bsc#1043834). 
- Update to version 0.9.2+git20170424.6fd5c6b:
  * main: Look for config in runtime dir first
  * main: Look for theme in runtime dir first
  * Revert "Recreate boot log at each boot instead of appending"
  * x11: implement get_display_name
  * drm: implement get_display_name
  * configure: don't look for libudev when --without-udev is passed
  * renderer: export device name from plugin
  * device-manager: handle NULL renderer better
- Remove 0001-device-manager-handle-NULL-renderer-better.patch
  (upstreamed).
- Drop use-mkinitrd.patch: No longer needed, mkinitrd is just a
  wrapper for dracut now any way, hence this patch is currently
  pointless.
- Remove patch which causes breakage with systemd-vconsole-setup (bsc#1020327):
  * 0001-let-it-become-a-real-daemon.patch
- Add upstream patch to fix crash on boot:
  * 0001-device-manager-handle-NULL-renderer-better.patch
- Replace removal of framebuffer driver and plymouth-ignore-cirrusdrm.patch
  with single patch:
  * only_use_fb_for_cirrus_bochs.patch
- Update to version 0.9.2+git20161215.18dd755:
  * terminal: refresh geometry after drm device arrives
  * logger: stop using carriage returns
  * build-goo: don't install systemd units during distcheck
  * systemd-units: Fix uninstall script
  * configure: switch to tar.xz instead tar.bz2
  * libply: fix HiDPI detection
  * libply, main: Add device scale setting
  * main: support plymouth.force-scale on the kernel command line
  * build-goo: make udev support build time optional
  * device-manager: dont pass terminal as renderer device
- Update to version 0.9.2+git20160823.e4b7e49:
  * libply: fix HiDPI detection
  * libply, main: Add device scale setting
  * main: support plymouth.force-scale on the kernel command line
- Refresh patch:
  * 0001-let-it-become-a-real-daemon.patch
- Add systemd to buildrequires to properly detect systemd-ask-password
- Sort out with spec-cleaner and move all buildrequires to main scope
  not to subpkgs, sometimes interpreted wrongly by rpm if it is split
- Reduce patches list removing merged upstream (bit differently tho):
  * 0001-seats-guard-against-NULL-terminal.patch
  * fix-serial-consoles.patch
  * plymouth-boot-vga-framebuffer.patch
- Refresh patches:
  * 0001-let-it-become-a-real-daemon.patch
- Update to version 0.9.2+git20160620.0e65b86:
  * configure: tweak defaults to be more systemd friendly
  * text: don't draw if not animating
  * terminal: always open terminal in non-blocking mode
  * device-manager: probe existing DRM devices at startup
  * drm: don't pick up drm master implicitly
  * terminal: refresh geometry after drm device arrives
  * logger: stop using carriage returns
  * build-goo: don't install systemd units during distcheck
  * systemd-units: Fix uninstall script
  * configure: switch to tar.xz instead tar.bz2
- Remove framebuffer support bsc#980750 and bsc#982226 
- Add 0003-fix_null_deref.patch as well
    - Avoid potential SEGV if label plugin fails to load
- Add 0001-Add-label-ft-plugin.patch and 
    0002-Install-label-ft-plugin-into-initrd-if-available.patch:
    - Ability to output text in initrd, needed for encryption
    - boo#959986
- Update to version 0.9.2:
  + two-step: Add separate startup / shutdown animations.
  + device-manager: try fb device if drm device failed.
  + Port to GTK+ 3.0.
  + script support system update events.
  + Drop the obsolete log-viewer
- Rebase patches:
  + plymouth-fix-window-size
  + stop-graphical.patch
  + 0001-Some-greenish-openSUSE-colors.patch
  + fix-serial-consoles.patch
  + 0001-seats-guard-against-NULL-terminal.patch
  + plymouth-ignore-cirrusdrm.patch
  + plymouth-boot-vga-framebuffer.patch
  + 0001-let-it-become-a-real-daemon.patch
- Drop upstream fixed patches:
  + 0001-device-manager-only-call-ply_terminal_free.patch
  + 0001-splash-remove-pixel_pixel-in-sprite-lib-when-notifie.patch
  + 0001-splash-do-not-process-display-lists-if-it-is-empty.patch
  + 0001-libply-splash-core-also-monitor-for-file-removal-in-.patch
  + 0001-seat-be-a-little-more-forgiving-in-the-case-there-s-.patch
  + 0001-text-step-bar-use-correct-utf-8-multibyte-sequence-f.patch
- Replace pkgconfig(gtk+-2.0) BuildRequires with
  pkgconfig(gtk+-3.0), following upstreams port to GTK+ 3.0.
- Rename library subpackage from *2 to *4, followings upstreams
  soname bump.
- Drop utils subpackage: the log-viewer, which was the only tool
  left, has been dropped.
- Fix missing dependency on coreutils for initrd macros (boo#958562)
- Call missing initrd macro at postun (boo#958562)
- Use is_opensuse to simplify if/else block 
- Add a direct dependency on systemd, since we need to know the
  path to systemd-tty-ask-password-agent, fixes part of bsc#943312
- fix bashisms in post/postun scripts
- Update 0001-let-it-become-a-real-daemon.patch to call setsid 
  only from the child process.
- Add 0001-let-it-become-a-real-daemon.patch to make plymouth
  a real daemon, fixes part of bnc#889757. Patch by Werner.
- Add plymouth-boot-vga-framebuffer.patch to fix boot_vga
  problem with framebuffer devices. (bnc#886211)
- Modify plymouth-ignore-cirrusdrm.patch to return as
  early as possible. Patch by glin@suse.com
- Invert the logic in plymouth-ignore-cirrusdrm.patch bnc#890516
- Add
  0001-text-step-bar-use-correct-utf-8-multibyte-sequence-f.patch:
  fix incorrect UTF-8 code used for square (bnc#886148).
- Add plymouth-ignore-cirrusdrm.patch: ignore cirrus drm and use fb
  instead (bnc#888590)
- Add
  0001-seat-be-a-little-more-forgiving-in-the-case-there-s-.patch:
  Be more forgiving with empty seat.
- Update 0001-Some-greenish-openSUSE-colors.patch to also use SUSE
  colors on tribar (bnc#886148)
- Add
  0001-libply-splash-core-also-monitor-for-file-removal-in-.patch:
  handle new udev behaviour in seqnum removal.
- Add
  0001-splash-do-not-process-display-lists-if-it-is-empty.patch:
  fix crash when calling plymouth quit
- Add 0001-seats-guard-against-NULL-terminal.patch: guard against
  NULL terminal.
- Update stop-graphical.patch: add RemainAfterExit=true to
  plymouth-start.service, ensuring plymouthd is not restarted when
  switching between runlevels.
- Add
  0001-splash-remove-pixel_pixel-in-sprite-lib-when-notifie.patch:
  fix crash when pixel_display is removed.
- Add 0001-device-manager-only-call-ply_terminal_free.patch: fix
  crash.
- Add use-mkinitrd.patch: call mkinitrd -B, not dracut for now,
  otherwise initramfs is being created by plymouth-update-initrd,
  not initrd file.
- Ensure we don't rebuild initrd twice when updating plymouth.
- Ensure default theme is SLE/openSUSE (based on %suse_version)
- Release 0.9.0 (3 additional fixes compared to previously packaged
  git snapshot):
  + Use udev for graphics device enumeration
  + Add new text plugin to replace the tribar one
  + Add background tiling and watermark support to two-step
  + Make various plymouth commands that change state be resilient
    to being  called multiple times
  + Support going back to the initrd at shutdown
  + Keyfile parser improvements
  + Make plymouthd use better defaults when running on top of X11
  + Fixes for systems using QXL
  + minor two-step plugin fixes
  + Use /sys/class/tty/console/active instead of parsing
    /proc/cmdline for consoles.
  + Documentation improvements
  + Drop driver specific renderers and use generic driver across the
    board.
  + Better debug message output
  + systemd integration fixes
  + upstart integration fixes
  + initrd scripts fixes
  + Misc fixes
- Update fix-serial-consoles.patch to fix a crash in some rare
  cases.
- Add fix-serial-consoles.patch to fix binary garbage on serial
  consoles. This is bnc#873859
- Remove plymouth-restore-suspend.patch: suspend package is being
  dropped, no longer needs to provide this old API.
- Remove requires on suspend package.
- Update to git snapshot as of 20140327
  * Fixes bnc#872502 and bnc#872428
- Kill all mkinitrd stuff
  Remove suse-initrd-support
- Tell zypper to regenerate initrd on installation/update via %post and
  %posttrans scripts
- Add plymouth-manpages.patch to fix manpage installation (bnc#871419)
- Drop plymouth.conf, it is no longer used, plymouthd.conf is
  nowadays.
- Updated from git 
- carried over patches
- Dropped 0001-Make-plymouthd-real-daemon-and-save-old-log.patch 
  Because it is really not necesary
- Add patch
  0001-Make-plymouthd-real-daemon-and-save-old-log.patch
  all daemons should call setsid(2) to become a real daemons without
  controlling terminal.  Beside this the old boot log will help for
  debugging and for support.
- Add powerpc64le-linux support.
- disable plymouth in initrd if the root volume is encrypted. This
  is a workaround until plymouth is able to handle the prompt
  correctly (bnc#834063).
- version 0.8.8_git201309032142
- All device specific code has been removed because the kernel
  has been fixed in the meanwhile so plymouth no longer requires
  libdrm_intel, libdrm_radeon, libdrm_nouveau and can use the generic
  interface.
  This commit does not add any new features or bugfixes but removes
  a huge chunk of unnecessary code.
- Pre require plymouth from plymouth-scripts; (bnc#806388).
- Update to version 0.8.8_git201308011340
  - Drop patch plymouth-correct-systemd-prefix.patch
  - Drop patch plymouth-close.patch
  - Drop patch plymouth-close-unredirect.patch
  - Drop patch plymouth-redirect-null.patch
  - Drop patch plymouth-exit-code.patch
  - Drop patch plymouth-terminal-session-close.patch
- Add upstream patch plymouth-correct-systemd-prefix.patch to 
  correct the systemd prefixes in some systemd files. This replaces
  the sed string.
- Require pigz instead of gzip 
- ensure plugin requires are versioned.
- own %{_localstatedir}/log/boot.log
  and %{_localstatedir}/spool/plymouth/boot.log (as %ghost s)
- Add plymouth-close: do not try to close negative fd.
- Add plymouth-close-unredirect.patch: do not leak fd when stopping
  redirection of /dev/console (bnc#811185)
- Add plymouth-redirect-null.patch: redirect plymouth standard io
  to /dev/null (bnc#811185)
- Add plymouth-exit-code.patch: ignore exit code in ExecStartPost.
- Add plymouth-terminal-session-close.patch: do no try to close
  terminal session fd if already closed.
- Not only reboot.service is prefixed with systemd- currently
  but also kexec,halt,poweroff. 
- Also ensure we express rpm dependencies correctly 
  this package is not gonna work on systemd < 186.
- Update to version 0.8.8_git201304161248
- drop plymouth-change-service-name.patch, replaced by 
a sed script that will account for all service files' future changes
- drop patch plymouth-trace-lines, in upstream now
- drop plymouth-udevadm-path.patch, generic solution in upstream now.
- drop ply-sdunitdir.patch likewise.
- drop plymouth-systemd-in-usr.patch likewise.
- drop systemd-no-warning.patch, not needed with newer systemd
- drop plymouth-sd-notforking.patch , not really needed anymore.
 
- Changed %post scripts so only the rebuild of the initrd is 
  omitted within the build environment
- Added patch plymouth-correct-runtime-dir.patch to make the 
  plymouthruntimedir equal to /run/plymouth and not /var/run/plymouth
- Rename plymouth-sd-notforking.patch to fix typo in patch name
- Add plymouth-change-service-name.patch: fix incorrect service
  names used for dependencies. Now use systemd-reboot.service
  (replacing reboot.service) and display-manager.service (replacing
  prefdm.service).
- Make sure that the right version of the scripts is required by 
  the main package. This to prevent that an update of the scripts 
  is not installed (bnc#793400)
- Removed obsolete patch plymouth-remove-pid-file.patch. Issue 
  has been resolved upstream
- fix path to systemd-tty-ask-password-agent for newer systemd
- create the pid file again during boot, the existence of this is
  a condition for systemd-ask-password-plymouth.service. A proper
  fix might look different but that get's it going again.
- Provide the scripts to integrate Plymouth in dracut as a 
  separate package.
  
- Added patch (plymouth-dracut-path.patch) to correct the paths
  inside the specific plymouth-dracut scripts
  
- Update to an slightly newer git snapshot to fix regression
  from 0.8.8 
- Version 0.8.8
* main: Try to own socket before anything else
* main: silently succeed if plymouthd is started a second time
* service: start plymouthd unconditionally
* x11: make window fullscreen by default
* x11: only create windows when necessary  
- plymoith-sd-notforking.patch: Make plymouthd to not use
  Service type "forking"
- ply-sdunitdir.patch: Must install units in %{_unitdir} as
  returned by pkg-config not in a hardcoded location.
- Remove the non required font file in /etc/fonts/conf.avail/ .
- Adjusted the upstream patch to remove the pid file. The original
  one seems to cause issues with the DM killing plymouth 
- Fix the Pango installation within the initrd. This would 
  resolve the error message that Pango cannot find any fonts
- fix the libdir path in plymouth-set-default-theme (bnc#780085)
- Update to version 0.8.7
  + fix plymouth race at bootup breaking efi/vesa handoff
  + Systemd fixes
- Add plymouth-remove-pid-file.patch: remove PID file usage
  (bnc#780976) (Thanks to fcrozat)
- Remove upstream patches: plymouth-systemd-target.patch, 
  0001-ply-text-progress-bar-strip-quotes-if-present,patch, 
  plymouth-fix-systemd-service.patch, plymouth-after-udev-settle 
  due to upstream inclusion.
- Add plymouth-after-udev-settle.patch: ensure plymouth is started
  after udev triggers has been started (git + name change due to
  systemd < 183 in openSUSE 12.2).
- Ensure that the right Pango version is used for copying one of
  the pango modules
- Add plymouth-fix-systemd-service.patch: remove dashes next to
  semi-colons, it confuses systemd. (bnc#774400)
- Update suse-initrd-support to not start plymouth if kernel
  cmdline contains "shell" or "plymouth.enable=0" or
  "rd.plymouth=0".
- remove suspend dependency on ARM
- Ship /etc/os-release in the initrd so that the pretty name is
  displayed in text-splash mode
- Give the text-splash some SUSE-typical green coloring
- fix build for ARM
- Move the openSUSE branding to its rightful place
- Update to 0.8.6.1:
 + Fix systemd path file generation
- Changes from 0.8.6:
 + fix flush_area fast-path
 + seed random number generator by default for script plugins
 + allow plymouth to be built without gtk dependency
 + cope with lack of /etc/os-release better
 + pull in systemd unit files (bnc#770890)
 + add support for new "updates" mode for doing package updates
  (only available for some plugins at the moment)
- Add plymouth-restore-suspend.patch: revert commit removing
  suspend/resume support, needed for suspend package.
- Add plymouth-systemd-target.patch: add missing symlinks to start
  plymouth on shutdown / reboot / kexec (bnc#770764).
- Add plymouth-udevadm-path.patch: adapt to udevadm path on
  openSUSE.
- Ensure systemctl daemon-reload is called in post / postun
- Add systemd-no-warning.patch: remove Documentation tag not
  handled by systemd v44.
- Update stop-graphical.patch to correct prevent plymouth.quit to
  start under runlevel 5 (handled by xdm initscript directly).
- don't require intel_drm on ppc 
- run "/sbin/mkinitrd" and let it figure out by itself
  what initrds to update. bnc#769812
- Provides systemd units, instead of relying on systemd to ship
  them (bnc#769397).
- Ensure plymouth--wait-quit.service conflicts with
  graphical.target.
- Update to 0.8.5.1
  + two-step splash plugin quit fixes
  + add generic driver to drm renderer plugin
    This allows new modesetting drivers to work with plymouth 
    automatically
  + fixes for video cards that don't support 32bpp
  + add alignment and width features to label controls
  + new documentation
  + event loop fix
  + more serial console fixes
  + better systemd integration
  + new flush api to client library
  + Allow plymouth to build the drm renderer without the driver
    dependent libdrm_* libraries.
- disable plymouth if init is not systemd (could be e.g. /bin/sh or
  sysvinit then)
- if we provide bootsplash, we should also make sure to obsolete
  its version
- Ensure that the openSUSE theme is default. (bnc#765277)
- Remove unnecessary changes to the kernel options. Plymouth also
  accepts splash=silent.
- Add plymouth-scripts Requires(post) to branding-openSUSE
  subpackage, to make sure that the %post scriptlet will work.
- Make sure we export LIB and not lib in the %postun scriptlets of
  theme-solar and branding-openSUSE subpackages.
- Ensure that label.so is being installed for the openSUSE branding
  (bnc#763574)
- Update the installation/update from plymouth in a way that the 
  initrd file for the current running kernel is updated.
- Corrected a typo with regards to the location of a pango module
  when setting up the initrd. 
- Added a patch for openSUSE to enable the rebuild of the initrd 
  with the plymouth-set-default-theme script. (bnc#757284)
- Added plymouth to the requires of plymouth-scripts. This 
  should resolve bug (bnc#757284)
- Split x11 renderer into his own package; the x11 renderer allows
  users to test plymouth themes; having it available on the devel
  package will force people who just want to test a theme to
  install a lot of unwanted dependencies. Being on it's own package
  without explicit dependencies provides extra functionality to
  users who want to test themes without having to rebuild initrd
  and rebooting for testing.
- bnc#761403
- Reduce the number of fonts that are included in the initrd. Also
  let mkinitrd sort out the dependencies for the required libs. 
- Use the same font as that grub2 is currently using for it's 
  graphics mode.
- Correct the theme name in the post install script of
  plymouth-branding-openSUSE
- Updated the initrd patch to include the necessary files to have
  text support (e.g. LUKS passphrase question, etc)
- Temporarily added a openSUSE plymouth theme
  (plymouth-branding-openSUSE) to have a better integration with 
  12.2.
- Ensure that both grub and grub2 are adjusted with regards to the
  splash parameter. Running grub2-mkconfig to have the right 
  configuration. 
- Installation of themes are not causing any reset of the selected
  default theme anymore. Now this only happens when a theme is 
  installed and the default theme is set to TEXT.
- Update to the official release of 0.8.4
  * Bugfix:  Use /dev/fb0 instead of /dev/fb, this resolves the 
    issue of not showing the splash during shutdown
- Add a small change in order to have plymouth activated with Grub2
- Make sure that the package libply-boot-client is always 
  installed to prevent a system that will not boot
- Replaced package core-libs with individual packages for each shared
  library (SLPP)
- Proper provides/obsoletes pair for bootsplash
- Could not resist to run spec-cleaner ;-)
- Changed the parameters to plymouthd in the initrd to create 
  the necessary pid-file for the systemd integration
- Ensure that /bin/plymouth still is available as that the 
  displaymanagers (KDM/GDM) are expecting this. This needs to be 
  in place until the migration to /usr is completed.
- Finalize the Plymouth integration on openSUSE. 
  * Current default theme is Solar with the openSUSE Geecko
  * Plymouth bootsplash will run on tty7 during boot.
  * Install all files in /usr
- Update to current git 
- Update to git snapshot from 12 Mar 2011.
  - Mostly minor fixes.
- Updated to latest snapshot.
  - boot-server: improve debug output
  - pixel-buffer: Fix overflow in blend_two_pixel_values
  - boot-server: fix debug output when message is from init
- Fixed an issue with the script plugin's Window attributes returning
  the size of the smallest display when multiple displays are used.
- Fixed location of text.so and details.so in plymouth-scripts
- fix the build failure:
  - own additional directories
- fix rpmlint failures:
  - fix up package groups - those are just guessed sometimes
  - rename plymouth-graphics-libs to libply-splash-graphics2
    (this one was fatal)
  - do not own /var/run/plymouth - probably still needs fixing
    (this was almost fatal)
  - do not include build date in binary, use mtime of source
    patchfile instead
- Initial packaging.

OBS-URL: https://build.opensuse.org/request/show/889522
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=299
2021-04-30 10:34:53 +00:00

661 lines
22 KiB
RPMSpec

#
# spec file for package plymouth
#
# Copyright (c) 2021 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/
#
# plymouth's X11 renderer adds many GTK3 packages to the build cycle,
# it is not used in the production environment.
%bcond_with x11_renderer
%global soversion 5
%define plymouthdaemon_execdir %{_sbindir}
%define plymouthclient_execdir %{_bindir}
%define plymouth_libdir %{_libdir}
%define plymouth_initrd_file /boot/initrd-plymouth.img
Name: plymouth
Version: 0.9.5+git20201026+53c83cc
Release: 0
Summary: Graphical Boot Animation and Logger
License: GPL-2.0-or-later
Group: System/Base
URL: https://www.freedesktop.org/wiki/Software/Plymouth
Source0: %{name}-%{version}.tar.xz
Source1: boot-duration
# PATCH-FIX-OPENSUSE plymouth-dracut-path.patch tittiatcoke@gmail.com -- Prefix is /usr/sbin and /usr/bin
Patch0: plymouth-dracut-path.patch
# PATCH-FIX-OPENSUSE plymouth-some-greenish-openSUSE-colors.patch bnc#886148 fcrozat@suse.com -- To use suse colors in tribar.
Patch1: plymouth-some-greenish-openSUSE-colors.patch
# PATCH-FIX-OPENSUSE plymouth-correct-runtime-dir.patch tittiatcoke@gmail.com -- Make sure the runtime directory is /run and not /var/run
Patch2: plymouth-correct-runtime-dir.patch
# PATCH-FIX-UPSTREAM plymouth-manpages.patch bnc#871419 idoenmez@suse.de -- Fix man page installation
Patch3: plymouth-manpages.patch
# PATCH-FIX-SLE plymouth-no-longer-modify-conf-to-drop-isopensuse-macro.patch qzhao@suse.com jsc#SLE-11637 -- plymouth will use plymouthd.defaults instead of plymouth.conf to close the leap gap.
Patch4: plymouth-no-longer-modify-conf-to-drop-isopensuse-macro.patch
# PATCH-FIX-OPENSUSE plymouth-disable-fedora-logo.patch qzhao@opensuse.org -- Disable the fedora logo reference which is not in openSUSE.
Patch6: plymouth-disable-fedora-logo.patch
# PATCH-FIX-OPENSUSE plymouth-only_use_fb_for_cirrus_bochs.patch bnc#888590 boo#1172028 bsc#1181913 fvogt@suse.com -- force fb for cirrus and bochs, force drm otherwise. replace removal of framebuffer driver and plymouth-ignore-cirrusdrm.patch with single patch.
Patch7: plymouth-only_use_fb_for_cirrus_bochs.patch
# PATCH-FIX-UPSTREAM 0001-Add-label-ft-plugin.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
Patch1000: 0001-Add-label-ft-plugin.patch
# PATCH-FIX-UPSTREAM 0002-Install-label-ft-plugin-into-initrd-if-available.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
Patch1001: 0002-Install-label-ft-plugin-into-initrd-if-available.patch
#uo PATCH-FIX-UPSTREAM 0003-fix_null_deref.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
Patch1002: 0003-fix_null_deref.patch
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: libxslt
BuildRequires: pkgconfig
%if 0%{suse_version} >= 1550
# regenerate_initrd_post moved to rpm-config-SUSE:initrd.macros
BuildRequires: rpm-config-SUSE >= 0.g11
%else
BuildRequires: suse-module-tools
%endif
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: xz
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libsystemd) >= 186
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(pango) >= 1.21.0
# needed for systemd-tty-ask-password-agent
BuildRequires: pkgconfig(systemd) >= 186
%if %{with x11_renderer}
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0
%endif
Recommends: %{name}-lang
Requires: %{name}-branding
Requires: systemd >= 186
Requires(post): coreutils
Requires(post): plymouth-scripts = %{version}
Requires(postun): coreutils
Suggests: plymouth-plugin-label
Provides: bootsplash = 3.5
Obsoletes: bootsplash < 3.5
Provides: systemd-plymouth = 44-10.2
Obsoletes: systemd-plymouth <= 44-10.1
%description
Plymouth provides an attractive graphical boot animation in
place of the text messages that normally get shown. Text
messages are instead redirected to a log file for viewing
after boot.
%package -n libply-boot-client%{soversion}
Summary: Plymouth core library
Group: Development/Libraries/C and C++
%description -n libply-boot-client%{soversion}
This package contains the libply-boot-client library used by Plymouth.
%package -n libply-splash-core%{soversion}
Summary: Plymouth core library
Group: Development/Libraries/C and C++
%description -n libply-splash-core%{soversion}
This package contains the libply-splash-core library
used by graphical Plymouth splashes.
%package -n libply-splash-graphics%{soversion}
Summary: Plymouth graphics libraries
Group: Development/Libraries/C and C++
BuildRequires: libpng-devel
%description -n libply-splash-graphics%{soversion}
This package contains the libply-splash-graphics library
used by graphical Plymouth splashes.
%package -n libply%{soversion}
Summary: Plymouth core library
Group: Development/Libraries/C and C++
Requires: libply-boot-client%{soversion} = %{version}
%description -n libply%{soversion}
This package contains the libply library used by Plymouth.
%package branding-upstream
Summary: default configuration file and branding from the Plymouth upstream.
Group: System/Base
Provides: %{name}-branding = %{version}-%{release}.
Conflicts: %{name}-branding
BuildArch: noarch
%description branding-upstream
This package contains the /usr/share/plymouthd.defaults which contains the basic
settings and branding from the upstream.
%package devel
Summary: Libraries and headers for writing Plymouth splash plugins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%if %{with x11_renderer}
Requires: %{name}-x11-renderer = %{version}
%endif
Requires: libply%{soversion} = %{version}
Requires: libply-boot-client%{soversion} = %{version}
Requires: libply-splash-core%{soversion} = %{version}
Requires: libply-splash-graphics%{soversion} = %{version}
Requires: pkgconfig
%description devel
This package contains the libply and libplybootsplash libraries
and headers needed to develop 3rd party splash plugins for Plymouth.
%package dracut
Summary: Plymouth related utilities for dracut
Group: System/Base
Requires: %{name} = %{version}
Supplements: packageand(plymouth:dracut)
%description dracut
This package contains utilities that integrate dracut with Plymouth
%package x11-renderer
Summary: Plymouth X11 renderer
Group: System/Base
Requires: %{name} = %{version}
%description x11-renderer
This package provides the X11 renderer which allows to test plymouth
behavior on environments with a valid DISPLAY.
%package scripts
Summary: Plymouth related scripts
Group: System/Base
Requires: awk
Requires: dracut
Requires: grep
Requires: sed
Requires(pre): %{name} = %{version}
BuildArch: noarch
%description scripts
This package contains scripts that help integrate Plymouth with
the system.
%package plugin-label
Summary: Plymouth label plugin
Group: System/Base
Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-label
This package contains the label control plugin for
Plymouth. It provides the ability to render text on
graphical boot splashes using pango and cairo.
%package plugin-label-ft
Summary: Plymouth FreeType label plugin
Group: System/Base
Requires: fontconfig
Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-label-ft
This package contains the label control plugin for
Plymouth. It provides the ability to render text on
graphical boot splashes using FreeType
%package plugin-fade-throbber
Summary: Plymouth "Fade-Throbber" plugin
Group: System/Base
Requires: libply%{soversion} = %{version}
Requires: libply-splash-core%{soversion} = %{version}
Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-fade-throbber
This package contains the "Fade-In" boot splash plugin for
Plymouth. It features a centered image that fades in and out
while other images pulsate around during system boot up.
%package plugin-space-flares
Summary: Plymouth "space-flares" plugin
Group: System/Base
Requires: %{name}-plugin-label = %{version}
Requires: libply%{soversion} = %{version}
Requires: libply-splash-core%{soversion} = %{version}
Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-space-flares
This package contains the "space-flares" boot splash plugin for
Plymouth. It features a corner image with animated flares.
%package plugin-two-step
Summary: Plymouth "two-step" plugin
Group: System/Base
Requires: libply%{soversion} = %{version}
Requires: libply-splash-core%{soversion} = %{version}
Requires: libply-splash-graphics%{soversion} = %{version}
Requires: plymouth-plugin-label = %{version}
%description plugin-two-step
This package contains the "two-step" boot splash plugin for
Plymouth. It features a two phased boot process that starts with
a progressing animation synced to boot time and finishes with a
short, fast one-shot animation.
%package plugin-script
Summary: Plymouth "script" plugin
Group: System/Base
Requires: libply%{soversion} = %{version}
Requires: libply-splash-core%{soversion} = %{version}
Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-script
This package contains the "script" boot splash plugin for
Plymouth. It features an extensible, scriptable boot splash
language that simplifies the process of designing custom
boot splash themes.
%package plugin-tribar
Summary: Plymouth "script" plugin
Group: System/Base
Requires: libply%{soversion} = %{version}
Requires: libply-splash-core%{soversion} = %{version}
Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-tribar
This package contains the "tribar" boot splash plugin for
Plymouth. It features an extensible, scriptable boot splash
language that simplifies the process of designing custom
boot splash themes.
%package theme-fade-in
Summary: Plymouth "Fade-In" theme
Group: System/Base
Requires: %{name}-plugin-fade-throbber = %{version}
Requires: plymouth-plugin-label = %{version}
Requires(post): %{name}-scripts
BuildArch: noarch
%description theme-fade-in
This package contains the "Fade-In" boot splash theme for
Plymouth. It features a centered logo that fades in and out
while stars twinkle around the logo during system boot up.
%package theme-spinfinity
Summary: Plymouth "Spinfinity" theme
Group: System/Base
Requires(post): %{name}-scripts
Requires(pre): %{name}
BuildArch: noarch
%description theme-spinfinity
This package contains the "Spinfinity" boot splash theme for
Plymouth. It features a centered logo and animated spinner that
spins in the shape of an infinity sign.
%package theme-spinner
Summary: Plymouth "Spinner" theme
Group: System/Base
Requires: %{name}-plugin-two-step = %{version}
Requires(post): %{name}-scripts
BuildArch: noarch
%description theme-spinner
This package contains the "spinner" boot splash theme for
Plymouth.
%package theme-solar
Summary: Plymouth "Solar" theme
Group: System/Base
Requires: %{name}-plugin-space-flares = %{version}
Requires(post): %{name}-scripts
BuildArch: noarch
%description theme-solar
This package contains the "Solar" boot splash theme for
Plymouth. It features a blue flamed sun with animated solar flares.
%package theme-tribar
Summary: Plymouth "Tribar" theme
Group: System/Base
Requires: %{name}-plugin-tribar = %{version}
Requires(post): %{name}-scripts
BuildArch: noarch
%description theme-tribar
This package contains the "Tribar" boot splash theme for
Plymouth
%package theme-script
Summary: Plymouth "Script" theme
Group: System/Base
Requires: %{name}-plugin-script = %{version}
Requires(post): %{name}-scripts
BuildArch: noarch
%description theme-script
This package contains the "script" boot splash theme for
Plymouth. It is a simple example theme the uses the "script"
plugin.
%package theme-bgrt
Summary: Plymouth "bgrt" theme
# Uses images from spinner theme
Group: System/Base
Requires: %{name}-plugin-two-step = %{version}
Requires: %{name}-theme-spinner = %{version}
Requires(post): %{name}-scripts
BuildArch: noarch
%description theme-bgrt
This package contains the "bgrt" boot splash theme for
Plymouth.
%prep
%setup -q
%autopatch -p1
autoreconf -ivf
%build
%configure \
--enable-systemd-integration \
--enable-tracing \
--disable-silent-rules \
--disable-static \
--disable-upstart-monitoring \
--disable-tests \
--disable-libkms \
%if %{without x11_renderer}
--disable-gtk \
%endif
--with-release-file=%{_sysconfdir}/os-release \
--with-boot-tty=/dev/tty7 \
--with-shutdown-tty=/dev/tty1 \
--with-background-start-color-stop=0x1A3D1F \
--with-background-end-color-stop=0x4EA65C \
--with-background-color=0x3391cd \
--without-rhgb-compat-link \
--without-system-root-install
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}/%{_bindir}/rhgb-client
%if !0%{?usrmerged}
#Link the plymouth client binary also to /bin until the move to /usr is completed
mkdir %{buildroot}/bin
(cd %{buildroot}/bin; ln -s ..%{_bindir}/plymouth)
%endif
# Glow isn't quite ready for primetime
rm -rf %{buildroot}%{_datadir}/plymouth/glow/
rm -rf %{buildroot}%{_datadir}/plymouth/themes/glow/
rm -f %{buildroot}%{_libdir}/plymouth/glow.so
find %{buildroot} -type f -name "*.la" -delete -print
mkdir -p %{buildroot}%{_localstatedir}/lib/plymouth
mkdir -p %{buildroot}/run/plymouth
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/boot.log
touch %{buildroot}%{_localstatedir}/spool/plymouth/boot.log
cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_datadir}/plymouth/default-boot-duration
cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_localstatedir}/lib/plymouth
# We will nolonger ship plymouthd.conf, Plymouthd will read /usr/share/plymouth/plymouthd.defaults if /etc/plymouth/plymouthd.conf doesn't exist(jsc#SLE-11637).
rm -f %{buildroot}%{_sysconfdir}/plymouth/plymouthd.conf
rm -f %{buildroot}%{_datadir}/plymouth/plymouthd.conf
%post
%{?regenerate_initrd_post}
if [ ! -e /.buildenv ]; then
[ -f %{_localstatedir}/lib/plymouth/boot-duration ] || cp -f %{_datadir}/plymouth/default-boot-duration %{_localstatedir}/lib/plymouth/boot-duration
fi
%postun
%{?regenerate_initrd_post}
%if 0%{?suse_version} > 1500
%service_del_postun_without_restart
%else
%systemd_postun
%endif
if [ $1 -eq 0 ]; then
rm -f %{_libdir}/plymouth/default.so
rm -f /boot/initrd-plymouth.img
fi
%posttrans
%{?regenerate_initrd_posttrans}
%if 0%{?suse_version} > 1500
%ldconfig_scriptlets -n libply-boot-client%{soversion}
%ldconfig_scriptlets -n libply-splash-core%{soversion}
%ldconfig_scriptlets -n libply-splash-graphics%{soversion}
%ldconfig_scriptlets -n libply%{soversion}
%else
%post -n libply-boot-client%{soversion} -p /sbin/ldconfig
%postun -n libply-boot-client%{soversion} -p /sbin/ldconfig
%post -n libply-splash-core%{soversion} -p /sbin/ldconfig
%postun -n libply-splash-core%{soversion} -p /sbin/ldconfig
%post -n libply-splash-graphics%{soversion} -p /sbin/ldconfig
%postun -n libply-splash-graphics%{soversion} -p /sbin/ldconfig
%post -n libply%{soversion} -p /sbin/ldconfig
%postun -n libply%{soversion} -p /sbin/ldconfig
%endif
%post theme-spinfinity
if [ $1 -eq 1 ]; then
set -x
export LIB=%{_libdir}
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
if [ "$OTHEME" = "text" ]; then
if [ ! -e /.buildenv ]; then
%{_sbindir}/plymouth-set-default-theme -R spinfinity
else
%{_sbindir}/plymouth-set-default-theme spinfinity
fi
fi
fi
%postun theme-spinfinity
if [ $1 -eq 0 ]; then
export LIB=%{_libdir}
if [ "$(%{_sbindir}/plymouth-set-default-theme)" = "spinfinity" ]; then
%{_sbindir}/plymouth-set-default-theme -R --reset
fi
fi
%post theme-fade-in
if [ $1 -eq 1 ]; then
set -x
export LIB=%{_libdir}
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
if [ "$OTHEME" = "text" ]; then
if [ ! -e /.buildenv ]; then
%{_sbindir}/plymouth-set-default-theme -R fade-in
else
%{_sbindir}/plymouth-set-default-theme fade-in
fi
fi
fi
%postun theme-fade-in
if [ $1 -eq 0 ]; then
export LIB=%{_libdir}
if [ "$(%{_sbindir}/plymouth-set-default-theme)" = "fade-in" ]; then
%{_sbindir}/plymouth-set-default-theme -R --reset
fi
fi
%post theme-solar
if [ $1 -eq 1 ]; then
set -x
export LIB=%{_libdir}
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
if [ "$OTHEME" = "text" ]; then
if [ ! -e /.buildenv ]; then
%{_sbindir}/plymouth-set-default-theme -R solar
else
%{_sbindir}/plymouth-set-default-theme solar
fi
fi
fi
%postun theme-solar
if [ $1 -eq 0 ]; then
export LIB=%{_libdir}
if [ "$(%{_sbindir}/plymouth-set-default-theme)" = "solar" ]; then
%{_sbindir}/plymouth-set-default-theme -R --reset
fi
fi
%files
%license COPYING
%doc AUTHORS NEWS README
%dir %{_datadir}/plymouth
%dir %{_datadir}/plymouth/themes
%dir %{_datadir}/plymouth/themes/details
%dir %{_datadir}/plymouth/themes/text
%dir %{_localstatedir}/lib/plymouth
%dir %{_libdir}/plymouth
%dir %{_libdir}/plymouth/renderers
%dir %{_sysconfdir}/plymouth
%ghost %{_sysconfdir}/plymouth/plymouthd.conf
/etc/logrotate.d/bootlog
%{plymouthdaemon_execdir}/plymouthd
%{plymouthclient_execdir}/plymouth
%if !0%{?usrmerged}
/bin/plymouth
%endif
%{_libdir}/plymouth/details.so
%{_libdir}/plymouth/text.so
%{_libdir}/plymouth/renderers/drm*
%{_libdir}/plymouth/renderers/frame-buffer*
%{_datadir}/plymouth/default-boot-duration
%{_datadir}/plymouth/themes/details/details.plymouth
%{_datadir}/plymouth/themes/text/text.plymouth
%{_datadir}/plymouth/bizcom.png
%ghost /run/plymouth
%{_localstatedir}/spool/plymouth
%{_mandir}/man?/*
%ghost %{_localstatedir}/lib/plymouth/boot-duration
%{_unitdir}/*
%ghost %{_localstatedir}/log/boot.log
/usr/share/locale/
%files branding-upstream
%{_datadir}/plymouth/plymouthd.defaults
%files dracut
%{_libexecdir}/plymouth/plymouth-populate-initrd
%{_libexecdir}/plymouth/plymouth-generate-initrd
%files devel
%{plymouth_libdir}/libply.so
%{plymouth_libdir}/libply-splash-core.so
%{_libdir}/libply-boot-client.so
%{_libdir}/libply-splash-graphics.so
%{_libdir}/pkgconfig/ply-splash-core.pc
%{_libdir}/pkgconfig/ply-splash-graphics.pc
%{_libdir}/pkgconfig/ply-boot-client.pc
%{_includedir}/plymouth-1
%files -n libply-boot-client%{soversion}
%{_libdir}/libply-boot-client.so.%{soversion}*
%files -n libply-splash-core%{soversion}
%{plymouth_libdir}/libply-splash-core.so.%{soversion}*
%files -n libply-splash-graphics%{soversion}
%{_libdir}/libply-splash-graphics.so.%{soversion}*
%files -n libply%{soversion}
%{plymouth_libdir}/libply.so.%{soversion}*
%files scripts
%dir %{_libexecdir}/plymouth
%{_sbindir}/plymouth-set-default-theme
%{_libexecdir}/plymouth/plymouth-update-initrd
%if %{with x11_renderer}
%files x11-renderer
%{_libdir}/plymouth/renderers/x11*
%endif
%files plugin-label
%{_libdir}/plymouth/label.so
%files plugin-label-ft
%{_libdir}/plymouth/label-ft.so
%files plugin-fade-throbber
%{_libdir}/plymouth/fade-throbber.so
%files theme-fade-in
%dir %{_datadir}/plymouth/themes/fade-in
%{_datadir}/plymouth/themes/fade-in/bullet.png
%{_datadir}/plymouth/themes/fade-in/entry.png
%{_datadir}/plymouth/themes/fade-in/lock.png
%{_datadir}/plymouth/themes/fade-in/star.png
%{_datadir}/plymouth/themes/fade-in/fade-in.plymouth
%files theme-spinfinity
%dir %{_datadir}/plymouth/themes/spinfinity
%{_datadir}/plymouth/themes/spinfinity/box.png
%{_datadir}/plymouth/themes/spinfinity/bullet.png
%{_datadir}/plymouth/themes/spinfinity/entry.png
%{_datadir}/plymouth/themes/spinfinity/lock.png
%{_datadir}/plymouth/themes/spinfinity/capslock.png
%{_datadir}/plymouth/themes/spinfinity/keyboard.png
%{_datadir}/plymouth/themes/spinfinity/keymap-render.png
%{_datadir}/plymouth/themes/spinfinity/animation-0001.png
%{_datadir}/plymouth/themes/spinfinity/throbber-[0-3][0-9].png
%{_datadir}/plymouth/themes/spinfinity/spinfinity.plymouth
%files plugin-space-flares
%{_libdir}/plymouth/space-flares.so
%files theme-spinner
%dir %{_datadir}/plymouth/themes/spinner
%{_datadir}/plymouth/themes/spinner/*.*
%files theme-solar
%dir %{_datadir}/plymouth/themes/solar
%{_datadir}/plymouth/themes/solar/*.png
%{_datadir}/plymouth/themes/solar/solar.plymouth
%files theme-tribar
%dir %{_datadir}/plymouth/themes/tribar
%{_datadir}/plymouth/themes/tribar/*.*
%files plugin-two-step
%{_libdir}/plymouth/two-step.so
%files plugin-tribar
%{_libdir}/plymouth/tribar.so
%files plugin-script
%{_libdir}/plymouth/script.so
%files theme-script
%dir %{_datadir}/plymouth/themes/script/
%{_datadir}/plymouth/themes/script/*.png
%{_datadir}/plymouth/themes/script/script.script
%{_datadir}/plymouth/themes/script/script.plymouth
%files theme-bgrt
%dir %{_datadir}/plymouth/themes/bgrt
%{_datadir}/plymouth/themes/bgrt/*.*
%changelog