]> git.pld-linux.org Git - packages/rofi.git/blob - rofi.spec
f564c0c1ca2db9a240633db4a4dee66172894f3b
[packages/rofi.git] / rofi.spec
1 Summary:        A window switcher, application launcher and dmenu replacement
2 Name:           rofi
3 Version:        1.5.4
4 Release:        1
5 License:        MIT
6 Group:          X11/Applications
7 Source0:        https://github.com/davatorium/rofi/releases/download/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  b79c0875644deded3404135504b2e658
9 URL:            https://github.com/davatorium/rofi
10 BuildRequires:  bison
11 BuildRequires:  cairo-devel
12 BuildRequires:  check
13 BuildRequires:  flex >= 2.5.39
14 BuildRequires:  glib2-devel >= 1:2.40
15 BuildRequires:  librsvg-devel
16 BuildRequires:  libxcb-devel
17 BuildRequires:  pango-devel
18 BuildRequires:  pkgconfig
19 BuildRequires:  startup-notification-devel
20 BuildRequires:  xcb-util-devel
21 BuildRequires:  xcb-util-wm-devel
22 BuildRequires:  xcb-util-xrm-devel
23 BuildRequires:  xorg-lib-libxkbcommon-devel
24 BuildRequires:  xorg-lib-libxkbcommon-x11-devel
25 Requires:       glib2 >= 1:2.40
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Rofi is a dmenu replacement. Rofi, like dmenu, will provide the user
30 with a textual list of options where one or more can be selected. This
31 can either be, running an application, selecting a window or options
32 provided by an external script.
33
34 %package devel
35 Summary:        Header files for rofi
36 Group:          Development/Libraries
37
38 %description devel
39 Header files for rofi.
40
41 %prep
42 %setup -q
43
44 %{__sed} -i -e '1s,/usr/bin/env bash,/bin/bash,' script/rofi-{sensible-terminal,theme-selector}
45
46 %build
47 %configure \
48         --disable-silent-rules
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS Changelog README.md
64 %attr(755,root,root) %{_bindir}/rofi
65 %attr(755,root,root) %{_bindir}/rofi-sensible-terminal
66 %attr(755,root,root) %{_bindir}/rofi-theme-selector
67 %{_datadir}/rofi
68 %{_mandir}/man1/rofi.1*
69 %{_mandir}/man1/rofi-sensible-terminal.1*
70 %{_mandir}/man1/rofi-theme-selector.1*
71 %{_mandir}/man5/rofi-theme.5*
72
73 %files devel
74 %defattr(644,root,root,755)
75 %{_includedir}/rofi
76 %{_pkgconfigdir}/rofi.pc
This page took 0.066323 seconds and 2 git commands to generate.