Mageia Bugzilla – Attachment 14146 Details for
Bug 32412
Welcome message on login screen.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Some improves to proposed spec to prepare for future versions of the theme
sddm-theme-coffee-ng.diff (text/plain), 1.26 KB, created by
katnatek
on 2023-11-11 05:59:46 CET
(
hide
)
Description:
Some improves to proposed spec to prepare for future versions of the theme
Filename:
MIME Type:
Creator:
katnatek
Created:
2023-11-11 05:59:46 CET
Size:
1.26 KB
patch
obsolete
>Index: SPECS/sddm-theme-coffee-ng.spec >=================================================================== >--- SPECS/sddm-theme-coffee-ng.spec (revision 2000051) >+++ SPECS/sddm-theme-coffee-ng.spec (working copy) >@@ -1,10 +1,14 @@ >-Name: sddm-theme-coffee-ng >+#Asume the version in theme is in sync with package version >+%define tardir mga-coffee-%{version} >+%define subrel 1 >+Name: sddm-theme-coffee-ng > Summary: Unofficial Mageia sddm theme with rounded borders > Version: 2.0 > Release: %mkrel 1 > License: GPLv3 >-Group: Graphical desktop/KDE >+Group: Graphical desktop/KDE > Source0: mga-coffee-%version.tar.gz >+Patch0: mga-coffe-ng-addmageia.patch > BuildArch: noarch > > %description >@@ -13,14 +17,15 @@ > whith some littles changes. > > %files >-%dir %{_datadir}/sddm/themes/mga-coffee-2.0 >-%{_datadir}/sddm/themes/mga-coffee-2.0/* >+%dir %{_datadir}/sddm/themes/%{tardir} >+%{_datadir}/sddm/themes/%{tardir}/* > > #-------------------------------------------------------------------- >+%prep >+%setup -q -n %{tardir} >+%patch0 -p1 > > %install >-mkdir -p %{buildroot}/%{_datadir}/sddm/themes >-pushd %{buildroot}/%{_datadir}/sddm/themes >-tar -xf %{SOURCE0} >-popd >+mkdir -p %{buildroot}/%{_datadir}/sddm/themes/%{tardir} >+mv * %{buildroot}/%{_datadir}/sddm/themes/%{tardir} >
Index: SPECS/sddm-theme-coffee-ng.spec =================================================================== --- SPECS/sddm-theme-coffee-ng.spec (revision 2000051) +++ SPECS/sddm-theme-coffee-ng.spec (working copy) @@ -1,10 +1,14 @@ -Name: sddm-theme-coffee-ng +#Asume the version in theme is in sync with package version +%define tardir mga-coffee-%{version} +%define subrel 1 +Name: sddm-theme-coffee-ng Summary: Unofficial Mageia sddm theme with rounded borders Version: 2.0 Release: %mkrel 1 License: GPLv3 -Group: Graphical desktop/KDE +Group: Graphical desktop/KDE Source0: mga-coffee-%version.tar.gz +Patch0: mga-coffe-ng-addmageia.patch BuildArch: noarch %description @@ -13,14 +17,15 @@ whith some littles changes. %files -%dir %{_datadir}/sddm/themes/mga-coffee-2.0 -%{_datadir}/sddm/themes/mga-coffee-2.0/* +%dir %{_datadir}/sddm/themes/%{tardir} +%{_datadir}/sddm/themes/%{tardir}/* #-------------------------------------------------------------------- +%prep +%setup -q -n %{tardir} +%patch0 -p1 %install -mkdir -p %{buildroot}/%{_datadir}/sddm/themes -pushd %{buildroot}/%{_datadir}/sddm/themes -tar -xf %{SOURCE0} -popd +mkdir -p %{buildroot}/%{_datadir}/sddm/themes/%{tardir} +mv * %{buildroot}/%{_datadir}/sddm/themes/%{tardir}
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32412
:
14071
|
14072
|
14073
|
14074
|
14075
|
14077
|
14079
|
14081
|
14082
|
14084
|
14142
| 14146