om-plymouth-theme-elegant 2.0-1 (x86_64) 2021-14167
0

Status rejected
Submitter rugyada [@T] gmail.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/99797
Packages
om-plymouth-theme-elegant-2.0-1.x86_64.binary
om-plymouth-theme-elegant-2.0-1.x86_64.source
Build Date 2021-10-11 20:32:19 +0000 UTC
Last Updated 2021-11-26 21:32:43.922284379 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 83dbcb7a5a37c1ed7534a2856db0111b72deb5b2

commit 83dbcb7a5a37c1ed7534a2856db0111b72deb5b2
Author:     rugyada <rugyada@gmail.com>
AuthorDate: Mon Oct 11 20:42:52 2021 +0200
Commit:     rugyada <rugyada@gmail.com>
CommitDate: Mon Oct 11 20:42:52 2021 +0200

    add files and source
---
 .abf.yml                       |   2 ++
 om-plymouth-theme-elegant.spec |  58 +++++++++++++++++++++++++++++++++++++++++
 openmandriva-elegant.tar.gz    | Bin 0 -> 18072 bytes
 3 files changed, 60 insertions(+)
 create mode 100644 .abf.yml
 create mode 100644 om-plymouth-theme-elegant.spec
 create mode 100644 openmandriva-elegant.tar.gz

diff --git a/.abf.yml b/.abf.yml
new file mode 100644
index 0000000..43d4964
--- /dev/null
+++ b/.abf.yml
@@ -0,0 +1,2 @@
+sources:
+  openmandriva-elegant.tar.gz: 0ae330a2377ece1c22b042310ad8ff20de989a7a
diff --git a/om-plymouth-theme-elegant.spec b/om-plymouth-theme-elegant.spec
new file mode 100644
index 0000000..888f7ae
--- /dev/null
+++ b/om-plymouth-theme-elegant.spec
@@ -0,0 +1,58 @@
+# noarch package but uses _lib macro in post scripts
+%define _enable_debug_packages %{nil}
+%define debug_package %{nil}
+
+Summary:	"Openmandriva Elegant" Plymouth theme
+Name:		om-plymouth-theme-elegant
+Version:	2.0
+Release:	1
+License:	Creative Commons Attribution-ShareAlike
+Group:		System/Kernel and hardware
+URL:		https://github.com/rugyada/om-plymouth-theme-elegant
+Source0:	openmandriva-elegant.tar.gz
+Requires:	plymouth
+Requires:	plymouth-plugin-script
+Requires:	plymouth-scripts
+Requires(post,postun):	plymouth-scripts
+
+
+%description
+This package contains the "OpenMandriva Elegant" Plymouth theme.
+
+%files
+%{_datadir}/plymouth/themes/openmandriva-elegant
+
+%post
+if [ -x %{_sbindir}/plymouth-set-default-theme ]; then
+    export LIB=%{_lib}
+    if [ $1 -eq 1 ]; then
+        %{_sbindir}/plymouth-set-default-theme --rebuild-initrd openmandriva-elegant
+    else
+        THEME=$(%{_sbindir}/plymouth-set-default-theme)
+        if [ "$THEME" == "text" -o "$THEME" == "openmandriva-elegant" ]; then
+            %{_sbindir}/plymouth-set-default-theme --rebuild-initrd openmandriva-elegant
+        fi
+    fi
+fi
+
+%postun
+export LIB=%{_lib}
+if [ $1 -eq 0 -a -x %{_sbindir}/plymouth-set-default-theme ]; then
+    if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "openmandriva-elegant" ]; then
+        %{_sbindir}/plymouth-set-default-theme --reset --rebuild-initrd
+    fi
+fi
+
+#----------------------------------------------------------------------------
+
+%prep
+%setup -q -c
+find . -type f | xargs chmod 0644
+
+%build
+# nothing
+
+%install
+mkdir -p %{buildroot}%{_datadir}/plymouth/themes/
+
+cp -r openmandriva-elegant %{buildroot}%{_datadir}/plymouth/themes/
diff --git a/openmandriva-elegant.tar.gz b/openmandriva-elegant.tar.gz
new file mode 100644
index 0000000..3e42a19
Binary files /dev/null and b/openmandriva-elegant.tar.gz differ
Not Available

robxu9 [@T] gmail.comclearing (potentially) old builds1093d 19hrs