summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gear/dwm.spec13
-rw-r--r--.gear/rules1
-rw-r--r--dwm-6.4_userconfig.patch1
-rw-r--r--dwm-6.4_userpatches.patch0
4 files changed, 12 insertions, 3 deletions
diff --git a/.gear/dwm.spec b/.gear/dwm.spec
index b1004a8..d2285e1 100644
--- a/.gear/dwm.spec
+++ b/.gear/dwm.spec
@@ -1,6 +1,6 @@
Name: dwm
Version: 6.4
-Release: alt1
+Release: alt2
Summary: dwm is a dynamic window manager for X
License: MIT
@@ -8,6 +8,8 @@ Group: Graphical desktop/Other
Url: https://dwm.suckless.org/
Source0: %{name}-%{version}.tar
+Patch0: %{name}-%{version}_userpatches.patch
+Patch1: %{name}-%{version}_userconfig.patch
BuildRequires: make
BuildRequires: gcc
@@ -21,6 +23,8 @@ environment for the application in use and the task performed.
%prep
%setup
+%patch0 -p1
+%patch1 -p1
%build
%make_build
@@ -37,5 +41,8 @@ install -pD -m 644 %name.png %buildroot%_niconsdir/%name.png
%_niconsdir/%name.png
%changelog
-* Thu Jul 27 2023 Andrew Guschin <guschin@altlinux.org> 6.4-alt1
-- Initial build for ALT Linux.
+* Fri May 26 2023 Andrew Guschin <guschin@altlinux.org> 6.4-alt2
+- Added support for user defined patches and configuration.
+
+* Fri May 26 2023 Andrew Guschin <guschin@altlinux.org> 6.4-alt1
+- Initial build.
diff --git a/.gear/rules b/.gear/rules
index 9c8ded2..8140b2e 100644
--- a/.gear/rules
+++ b/.gear/rules
@@ -1,2 +1,3 @@
tar: .
+copy: *.patch
spec: .gear/dwm.spec
diff --git a/dwm-6.4_userconfig.patch b/dwm-6.4_userconfig.patch
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/dwm-6.4_userconfig.patch
@@ -0,0 +1 @@
+
diff --git a/dwm-6.4_userpatches.patch b/dwm-6.4_userpatches.patch
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/dwm-6.4_userpatches.patch