]> git.pld-linux.org Git - packages/rofi.git/blame - rofi.spec
correct BR for check-devel
[packages/rofi.git] / rofi.spec
CommitLineData
4115f119
JP
1Summary: A window switcher, application launcher and dmenu replacement
2Name: rofi
9e1c832e 3Version: 1.7.3
4115f119
JP
4Release: 1
5License: MIT
6Group: X11/Applications
d3bc9293 7Source0: https://github.com/davatorium/rofi/releases/download/%{version}/%{name}-%{version}.tar.xz
9e1c832e 8# Source0-md5: 47e9e9531646d923e150f868375fcd4f
4115f119
JP
9URL: https://github.com/davatorium/rofi
10BuildRequires: bison
11BuildRequires: cairo-devel
d3d288ae 12BuildRequires: check-devel >= 0.11.0
4115f119 13BuildRequires: flex >= 2.5.39
afe278b9 14BuildRequires: gdk-pixbuf2-devel
4115f119
JP
15BuildRequires: glib2-devel >= 1:2.40
16BuildRequires: librsvg-devel
17BuildRequires: libxcb-devel
18BuildRequires: pango-devel
19BuildRequires: pkgconfig
20BuildRequires: startup-notification-devel
d3bc9293 21BuildRequires: tar >= 1:1.22
146156e1 22BuildRequires: xcb-util-cursor-devel
4115f119
JP
23BuildRequires: xcb-util-devel
24BuildRequires: xcb-util-wm-devel
afe278b9 25BuildRequires: xorg-lib-libxkbcommon-devel >= 0.4.1
4115f119 26BuildRequires: xorg-lib-libxkbcommon-x11-devel
d3bc9293 27BuildRequires: xz
4115f119 28Requires: glib2 >= 1:2.40
afe278b9 29Requires: xorg-lib-libxkbcommon >= 0.4.1
4115f119
JP
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Rofi is a dmenu replacement. Rofi, like dmenu, will provide the user
34with a textual list of options where one or more can be selected. This
35can either be, running an application, selecting a window or options
36provided by an external script.
37
38%package devel
39Summary: Header files for rofi
40Group: Development/Libraries
41
42%description devel
43Header 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
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
d3bc9293 67%doc AUTHORS Changelog README.md
4115f119
JP
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*
9e1c832e
JP
75%{_mandir}/man5/rofi-dmenu.5*
76%{_mandir}/man5/rofi-keys.5*
3ab8c8ab 77%{_mandir}/man5/rofi-script.5*
4115f119
JP
78%{_mandir}/man5/rofi-theme.5*
79
80%files devel
81%defattr(644,root,root,755)
82%{_includedir}/rofi
83%{_pkgconfigdir}/rofi.pc
This page took 0.13346 seconds and 4 git commands to generate.