forked from fepitre/qubes-rofi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rofi.spec.in
126 lines (98 loc) · 3.11 KB
/
rofi.spec.in
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Name: rofi
Version: @VERSION@
Release: @REL@%{?dist}
Summary: A window switcher, application launcher and dmenu replacement
# lexer/theme-parser.[ch]:
# These files are generated from lexer/theme-parser.y and licensed with GPLv3+
# with Bison exception.
# As the source file is licensed with MIT, according to the Bison exception,
# the shipped files are considered to be MIT-licensed.
# See also
# https://lists.fedoraproject.org/archives/list/[email protected]/message/C4VVT54Z4WFGJPPD5X54ILKRF6X2IFLZ/
License: MIT
URL: https://github.com/DaveDavenport/%{name}
Source0: %{URL}/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: gcc-c++
BuildRequires: bison
BuildRequires: doxygen
BuildRequires: flex
BuildRequires: graphviz
BuildRequires: make
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-xcb)
BuildRequires: pkgconfig(check) >= 0.11.0
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-aux)
BuildRequires: pkgconfig(xcb-cursor)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-xinerama)
BuildRequires: pkgconfig(xcb-xkb)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xkbcommon-x11)
# https://github.com/sardemff7/libgwater
Provides: bundled(libgwater)
# https://github.com/sardemff7/libnkutils
Provides: bundled(libnkutils)
Requires: %{name}-themes = %{version}-%{release}
%description
Rofi is a dmenu replacement. Rofi, like dmenu, will provide the user with a
textual list of options where one or more can be selected. This can either be,
running an application, selecting a window or options provided by an external
script.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package devel-doc
Summary: Documentation files for %{name}
BuildArch: noarch
%description devel-doc
The %{name}-devel-doc package contains documentation files for developing
applications that use %{name}.
%package themes
Summary: Themes for %{name}
BuildArch: noarch
%description themes
The %{name}-themes package contains themes for %{name}.
%prep
%autosetup -p1
%build
%configure
%make_build
make doxy
find doc/html/html -name "*.map" -delete
find doc/html/html -name "*.md5" -delete
%install
%make_install
%check
make check || (cat ./test-suite.log; false)
%files
%doc README.md
%license COPYING
%{_bindir}/rofi
%{_bindir}/rofi-sensible-terminal
%{_bindir}/rofi-theme-selector
%{_mandir}/man1/rofi*
%{_mandir}/man5/rofi*
%files themes
%license COPYING
%{_datarootdir}/rofi
%files devel
%{_includedir}/rofi
%{_libdir}/pkgconfig/rofi.pc
%files devel-doc
%license COPYING
%doc doc/html/html/*
%changelog
@CHANGELOG@