2012-05-16 19:06:54 +00:00
|
|
|
#
|
2015-07-05 16:03:00 +00:00
|
|
|
# spec file for package dmenu
|
2012-05-16 19:06:54 +00:00
|
|
|
#
|
2024-04-04 08:05:21 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2012-05-16 19:06:54 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2020-01-24 15:35:39 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-05-16 19:06:54 +00:00
|
|
|
#
|
|
|
|
|
|
2015-07-05 16:03:00 +00:00
|
|
|
|
2012-05-16 19:06:54 +00:00
|
|
|
Name: dmenu
|
2024-04-04 08:05:21 +00:00
|
|
|
Version: 5.3
|
2015-07-05 16:03:00 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: A generic and efficient menu for X
|
2012-05-16 19:06:54 +00:00
|
|
|
License: MIT
|
|
|
|
|
Group: System/GUI/Other
|
2020-02-24 12:50:30 +00:00
|
|
|
URL: https://tools.suckless.org/dmenu/
|
2015-11-10 09:03:51 +00:00
|
|
|
Source: http://dl.suckless.org/tools/%{name}-%{version}.tar.gz
|
2018-02-09 14:52:42 +00:00
|
|
|
Patch0: dmenu-optflags.patch
|
2020-02-24 12:50:30 +00:00
|
|
|
BuildRequires: pkgconfig
|
2018-02-09 14:52:42 +00:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
2023-01-09 08:44:12 +00:00
|
|
|
BuildRequires: pkgconfig(xft) >= 2.3.5
|
2018-02-09 14:52:42 +00:00
|
|
|
BuildRequires: pkgconfig(xinerama)
|
2012-05-16 19:06:54 +00:00
|
|
|
|
|
|
|
|
%description
|
2020-02-24 12:50:30 +00:00
|
|
|
dmenu is a dynamic menu for X, originally designed for dwm. It manages
|
|
|
|
|
large numbers of user-defined menu items efficiently.
|
2012-05-16 19:06:54 +00:00
|
|
|
|
|
|
|
|
%prep
|
2020-02-24 12:50:30 +00:00
|
|
|
%autosetup -p1
|
2012-05-16 19:06:54 +00:00
|
|
|
|
|
|
|
|
%build
|
2020-02-24 12:50:30 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
%make_build X11LIB="%{_prefix}/X11R6/%{_lib}"
|
2012-05-16 19:06:54 +00:00
|
|
|
|
|
|
|
|
%install
|
2020-02-24 12:50:30 +00:00
|
|
|
%make_install \
|
|
|
|
|
PREFIX="%{_prefix}"\
|
|
|
|
|
DESTDIR=%{buildroot}
|
2012-05-16 19:06:54 +00:00
|
|
|
|
|
|
|
|
%files
|
2020-02-24 12:50:30 +00:00
|
|
|
%license LICENSE
|
|
|
|
|
%doc README
|
|
|
|
|
%{_bindir}/dmenu
|
|
|
|
|
%{_bindir}/dmenu_path
|
|
|
|
|
%{_bindir}/dmenu_run
|
2012-05-16 19:06:54 +00:00
|
|
|
%{_bindir}/stest
|
2020-02-24 12:50:30 +00:00
|
|
|
%{_mandir}/man1/dmenu.1%{?ext_man}
|
|
|
|
|
%{_mandir}/man1/stest.1%{?ext_man}
|
2012-05-16 19:06:54 +00:00
|
|
|
|
|
|
|
|
%changelog
|