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