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 BuildRequires: gnome-common
15 BuildRequires: intltool
16 BuildRequires: gnome-desktop-devel
17 BuildRequires: libgtop-devel
18 Requires: gnome-shell >= 3.6.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 MyLauncher is a customizable menu which can launch links, shell
24 scripts, apps, and open folders. Right-click the menu after
25 installation to edit the launcher. See help on the right-click for
26 listing of all options. MyLauncher also supports alias commands such
27 as [RG] for restart shell, [TD] for toggle desktop, etc.
30 %setup -q -n %{extname}-%{version}
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \
37 $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com
39 install schemas/org.gnome.shell.extensions.mylauncher.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
40 install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/
41 install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/
42 install *.svg $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/
45 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.mylauncher.gschema.xml
56 %{_datadir}/gnome-shell/extensions/mylauncher*