summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-18 11:16:18 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-18 11:16:18 +0000
commit9646f031bdedc377e26d97208d5b45bf4bc95f09 (patch)
tree3d2702d37b45cb877a63c7fde86a9787a0957908
parentf758c928b50051c52760f17fe288975d4df75672 (diff)
automatic import of dmenuopeneuler22.09
-rw-r--r--.gitignore1
-rw-r--r--dmenu.spec44
-rw-r--r--sources1
3 files changed, 46 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9c9b36c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dmenu-5.2.tar.gz
diff --git a/dmenu.spec b/dmenu.spec
new file mode 100644
index 0000000..4a29c4b
--- /dev/null
+++ b/dmenu.spec
@@ -0,0 +1,44 @@
+Name: dmenu
+Version: 5.2
+Release: 1
+Summary: Generic menu for X
+License: MIT
+URL: http://tools.suckless.org/%{name}
+Source0: http://dl.suckless.org/tools/%{name}-%{version}.tar.gz
+BuildRequires: binutils
+BuildRequires: coreutils
+BuildRequires: gcc
+BuildRequires: fontconfig-devel
+BuildRequires: libX11-devel
+BuildRequires: libXft-devel
+BuildRequires: libXinerama-devel
+BuildRequires: make
+BuildRequires: sed
+
+%description
+Dynamic menu is a generic menu for X, originally designed for dwm. It manages
+huge amounts (up to 10.000 and more) of user defined menu items efficiently.
+
+%prep
+%autosetup
+
+%build
+%make_build \
+ X11INC=%{_includedir} \
+ X11LIB=%{_libdir} \
+ CFLAGS='-std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS) %{build_cflags}' \
+ LDFLAGS='%{build_ldflags} $(LIBS)'
+
+%install
+%make_install PREFIX=%{_prefix}
+
+%files
+%doc LICENSE README
+%{_bindir}/%{name}*
+%{_bindir}/stest
+%{_mandir}/man*/%{name}.*
+%{_mandir}/man*/stest.*
+
+%changelog
+* Fri Feb 10 2023 lichaoran <pkwarcraft@hotmail.com> - 1.5
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..30f8c69
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+fe156c095360914b9b7badf118a66c10 dmenu-5.2.tar.gz