!1 init package source
From: @mywaaagh_admin Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
6aba544b4f
BIN
dmenu-5.2.tar.gz
Normal file
BIN
dmenu-5.2.tar.gz
Normal file
Binary file not shown.
44
dmenu.spec
Normal file
44
dmenu.spec
Normal file
@ -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> - 5.2-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user