From 87b8a6ff1e37ce927e8eb63c4ef7465b4b8faf1a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 4 Mar 2025 08:54:20 +0000 Subject: automatic import of rofi --- .gitignore | 1 + rofi.spec | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 117 insertions(+) create mode 100644 rofi.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..0457f72 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/rofi-1.7.5.tar.gz diff --git a/rofi.spec b/rofi.spec new file mode 100644 index 0000000..bbc29a4 --- /dev/null +++ b/rofi.spec @@ -0,0 +1,115 @@ +Name: rofi +Version: 1.7.5 +Release: 1 +Summary: A window switcher, application launcher and dmenu replacement +License: MIT +URL: https://github.com/davatorium/%{name} + +Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: pkgconfig +BuildRequires: gcc-c++ +BuildRequires: bison +BuildRequires: desktop-file-utils +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) + +# subprojects/libgwater +Provides: bundled(libgwater) +# subprojects/libnkutils +Provides: bundled(libnkutils) + +Requires: %{name}-themes = %{version}-%{release} +Requires: hicolor-icon-theme + + +%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 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) +desktop-file-validate %{buildroot}%{_datadir}/applications/rofi*.desktop + + +%files +%doc README.md +%license COPYING +%{_bindir}/rofi +%{_bindir}/rofi-sensible-terminal +%{_bindir}/rofi-theme-selector +%{_datadir}/applications/rofi.desktop +%{_datadir}/applications/rofi-theme-selector.desktop +%{_datadir}/icons/hicolor/apps/rofi.svg +%{_mandir}/man1/rofi* +%{_mandir}/man5/rofi* + +%files themes +%license COPYING +%{_datarootdir}/rofi + +%files devel +%{_includedir}/rofi +%{_libdir}/pkgconfig/rofi.pc +%license COPYING +%doc doc/html/html/* + + +%changelog +* Thu Aug 10 2023 lichaoran - 1.7.5-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d716df6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ce92f558c7d4ca6cea72dcf346f6f198 rofi-1.7.5.tar.gz -- cgit v1.2.3