|
|
5ff0b0a |
%global gnome_extensions_dir %{_datadir}/gnome-shell/extensions/
|
|
|
5ff0b0a |
%global UUID historymanager-prefix-search@sustmidown.centrum.cz
|
|
|
5ff0b0a |
%global install_destination %{buildroot}/%{gnome_extensions_dir}/%{UUID}
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
Name: gnome-shell-extension-historymanager-prefix-search
|
|
|
5ff0b0a |
Summary: Use PageUp and PageDown to search for previous GNOME Shell commands
|
|
|
5ff0b0a |
Version: 10
|
|
|
d218bce |
Release: 3%{?dist}
|
|
|
5ff0b0a |
URL: https://github.com/sustmi/gnome-shell-extension-historymanager-prefix-search
|
|
|
5ff0b0a |
License: GPLv3+
|
|
|
5ff0b0a |
BuildArch: noarch
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
# See the latest releases here:
|
|
|
5ff0b0a |
# https://github.com/sustmi/gnome-shell-extension-historymanager-prefix-search/releases
|
|
|
94b5927 |
Source0: https://github.com/sustmi/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
3aacb62 |
Source1: ./README.md
|
|
|
5ff0b0a |
|
|
|
ed663c1 |
BuildRequires: gettext
|
|
|
ed663c1 |
|
|
|
5ff0b0a |
Requires: gnome-shell >= 3.8
|
|
|
5ff0b0a |
Requires: gnome-shell-extension-common
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
# (CentOS 7 build environment doesn't support Recommends tag.)
|
|
|
5ff0b0a |
%if 0%{?fedora}
|
|
|
5ff0b0a |
Recommends: gnome-tweak-tool
|
|
|
5ff0b0a |
%endif
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
Obsoletes: gnome-shell-extension-sustmi-historymanager-prefix-search <= 3.0-17
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
%description
|
|
|
5ff0b0a |
The GNOME Shell Run Command dialog (Alt-F2) and Looking Glass let you
|
|
|
5ff0b0a |
cycle through the history of previous commands with the arrow keys, but
|
|
|
5ff0b0a |
there's currently no built-in way to search or do autocompletion for
|
|
|
5ff0b0a |
commands. With HistoryManager Prefix Search, you can type the beginning
|
|
|
5ff0b0a |
of a command, and then hit the PageUp and PageDown keys to cycle through
|
|
|
5ff0b0a |
previous commands which match the prefix you typed.
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
%prep
|
|
|
94b5927 |
%autosetup
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
%build
|
|
|
5ff0b0a |
# Nothing to build.
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
%install
|
|
|
5ff0b0a |
mkdir -p %{install_destination}
|
|
|
5ff0b0a |
cp --recursive --preserve=mode,timestamps ./* %{install_destination}/
|
|
|
171d380 |
cp --recursive --preserve=mode,timestamps %{SOURCE1} ./README-fedora.md
|
|
|
5ff0b0a |
# Remove duplicate copies of license and README.
|
|
|
5ff0b0a |
rm %{install_destination}/README.md %{install_destination}/COPYING
|
|
|
5ff0b0a |
# Makefile is only used in upstream's builds for the GNOME Extensions website.
|
|
|
5ff0b0a |
rm %{install_destination}/Makefile
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
# historymanager doesn't have any schemas (for now?).
|
|
|
5ff0b0a |
# historymanager doesn't have any translations because it has no visible text.
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
%files
|
|
|
5ff0b0a |
%license COPYING
|
|
|
171d380 |
%doc README.md README-fedora.md
|
|
|
5ff0b0a |
%{gnome_extensions_dir}/%{UUID}/
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
|
|
|
5ff0b0a |
%changelog
|
|
|
d218bce |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10-3
|
|
|
d218bce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d218bce |
|
|
|
363f865 |
* Mon Oct 30 2017 Andrew Toskin <andrew@tosk.in> - 10-2
|
|
|
363f865 |
- Source tarball name should ideally match package name.
|
|
|
363f865 |
- Move notes on setup to a README in docs directory.
|
|
|
363f865 |
|
|
|
5ff0b0a |
* Wed Oct 25 2017 Andrew Toskin <andrew@tosk.in> - 10-1
|
|
|
5ff0b0a |
- Split HistoryManager Prefix Search into its own package.
|