1 %define extname mylauncher
2 Summary: Customizable menu for gnome shell/panel
3 Name: gnome-shell-extension-%{extname}
6 Group: X11/Applications
8 # $ git clone git://github.com/mbokil/mylauncher-extension.git
9 # $ cd mylauncher-extension/
10 # $ git archive --format=tar --prefix=%{extname}-%{version}/ master | xz > ../%{extname}-%{version}.tar.xz
11 Source0: %{extname}-%{version}.tar.xz
12 # Source0-md5: 2b1e69daf0d39d1a4b478fd6eaa9e83b
13 URL: http://markbokil.com/downloads/extensions/
14 Requires: gnome-shell >= 3.6.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 MyLauncher is a customizable menu which can launch links, shell
20 scripts, apps, and open folders. Right-click the menu after
21 installation to edit the launcher. See help on the right-click for
22 listing of all options. MyLauncher also supports alias commands such
23 as [RG] for restart shell, [TD] for toggle desktop, etc.
26 %setup -q -n %{extname}-%{version}
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \
33 $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com
35 install schemas/org.gnome.shell.extensions.mylauncher.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
36 install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/
37 install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/
38 install *.svg $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/
41 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.mylauncher.gschema.xml
52 %{_datadir}/gnome-shell/extensions/mylauncher*