Skip to content

Instantly share code, notes, and snippets.

@gornostal
Created December 15, 2018 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gornostal/4e6e664f4b6c31423f568002d1118a7f to your computer and use it in GitHub Desktop.
Save gornostal/4e6e664f4b6c31423f568002d1118a7f to your computer and use it in GitHub Desktop.
%define name ulauncher
%define version 5.0.6
%define unmangled_version 5.0.6
%define release 1
Summary: Application launcher for Linux
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{unmangled_version}.tar.gz
License: GPL-3
Group: Applications/Productivity
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Aleksandr Gornostal <ulauncher.app@gmail.com>
Packager: Aleksandr Gornostal <ulauncher.app@gmail.com>
Requires: python37 gobject-introspection keybinder3 libappindicator-gtk3 webkitgtk4 python3-dbus python3-gobject python3-pyxdg python3-inotify python3-Levenshtein python3-websocket-client
Url: https://ulauncher.io
BuildRequires: gcc make python3-distutils-extra
AutoReq: 0
%description
UNKNOWN
%prep
%setup -n %{name}-%{unmangled_version}
%build
/usr/bin/python3 setup.py build
%install
/usr/bin/python3 setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc LICENSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment