-
Notifications
You must be signed in to change notification settings - Fork 0
/
wmmenu.spec
55 lines (46 loc) · 1.43 KB
/
wmmenu.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Summary: wmmenu - popup dock menus for WindowMaker
Summary(pl.UTF-8): wmmenu - chowane menu dla WindowMakera
Name: wmmenu
Version: 1.2
Release: 1
License: GPL
Group: X11/Window Managers/Tools
Source0: http://www.fcoutant.freesurf.fr/download/%{name}-%{version}.tar.gz
# Source0-md5: 0cc8970ff54182a08fe848d65546f70f
URL: http://www.fcoutant.freesurf.fr/wmmenu.html
BuildRequires: XFree86-devel
BuildRequires: gdk-pixbuf-devel
BuildRequires: libdockapp-devel >= 0.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/X11/Apps/wmmenu
%description
Popup menu of icons for WindowMaker like in AfterStep, as a dockable
application.
%description -l pl.UTF-8
Chowane menu złożone z ikon dla WindowMakera, podobne do tego, które
znaleźć można w AfterStepie.
%prep
%setup -q -n wmmenu
%build
%{__make} \
prefix=%{_prefix} \
ETCDIR=%{_sysconfdir} \
MANDIR=%{_mandir}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
install example/{apps,defaults} $RPM_BUILD_ROOT%{_sysconfdir}
install example/extract_icon_back $RPM_BUILD_ROOT%{_bindir}
%{__make} install \
prefix=$RPM_BUILD_ROOT%{_prefix} \
ETCDIR=$RPM_BUILD_ROOT%{_sysconfdir} \
MANDIR=$RPM_BUILD_ROOT%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README TODO
%config %{_sysconfdir}
%{_mandir}/man1/wmmenu.1*
%attr(755,root,root) %{_bindir}/%{name}
%attr(755,root,root) %{_bindir}/extract_icon_back