]> git.pld-linux.org Git - packages/gnome-shell-extension-mylauncher.git/blob - gnome-shell-extension-mylauncher.spec
78c2266f9fa80570b15c15e1365732bc266c8cd3
[packages/gnome-shell-extension-mylauncher.git] / gnome-shell-extension-mylauncher.spec
1 %define         extname         mylauncher
2 Summary:        Customizable menu for gnome shell/panel
3 Name:           gnome-shell-extension-%{extname}
4 Version:        20121027
5 Release:        0.1
6 Group:          X11/Applications
7 License:        GPLv2
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
28
29 %prep
30 %setup -q -n %{extname}-%{version}
31
32 %build
33
34 %install
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
38
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/
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %post
48 %glib_compile_schemas
49
50 %postun
51 %glib_compile_schemas
52
53 %files
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*
This page took 0.045915 seconds and 2 git commands to generate.