From 308f706632d7120a4818124de193836160779371 Mon Sep 17 00:00:00 2001 From: Sergey-V Markov Date: Sat, 22 Oct 2022 18:09:01 +0300 Subject: [PATCH] add gear/rules --- .copyignore | 2 ++ .gear/rules | 2 ++ web-greeter-theme-basealt.spec | 21 ++++++++++++++++++--- 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .copyignore create mode 100644 .gear/rules diff --git a/.copyignore b/.copyignore new file mode 100644 index 0000000..4b85a88 --- /dev/null +++ b/.copyignore @@ -0,0 +1,2 @@ +*.md +*.spec \ No newline at end of file diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..9293265 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: . + diff --git a/web-greeter-theme-basealt.spec b/web-greeter-theme-basealt.spec index 800a1a3..3f5cf7a 100644 --- a/web-greeter-theme-basealt.spec +++ b/web-greeter-theme-basealt.spec @@ -1,6 +1,8 @@ +%define shortname basealt + Name: web-greeter-theme-basealt Version: 1.0.2 -Release: alt1 +Release: alt3 Summary: A theme for web-greeter on AltLinux License: MIT @@ -13,6 +15,8 @@ Packager: Sergey-V Markov Requires: lightdm lightdm-webkit2-greeter +BuildRequires:rsync + %description A theme for web-greeter on AltLinux, it has Russian pretty interface with Basealt logos and so on @@ -23,7 +27,18 @@ A theme for web-greeter on AltLinux, it has Russian pretty interface with Baseal %install -mkdir -p %buildroot%_datadir/web-greeter/themes/%name +mkdir -p %buildroot%_datadir/web-greeter/themes/%shortname +rsync -rv --exclude-from=./.copyignore ./* %buildroot%_datadir/web-greeter/themes/%shortname/ %files -%_datadir/web-greeter/%name/* +%_datadir/web-greeter/themes/%shortname/* + +%changelog +* Sat Oct 22 2022 Sergey-V Markov 1.0.2-alt3 +- Add shortname usage + +* Sat Oct 22 2022 Sergey-V Markov 1.0.2-alt2 +- Do not copy garbage files + +* Fri Oct 21 2022 Sergey-V Markov 1.0.2-alt1 +- New theme