]> git.pld-linux.org Git - packages/gnome-shell-extension-mylauncher.git/blob - gnome-shell-extension-mylauncher.spec
- no BRs needed
[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 Requires:       gnome-shell >= 3.6.0
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
24
25 %prep
26 %setup -q -n %{extname}-%{version}
27
28 %build
29
30 %install
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
34
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/
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %post
44 %glib_compile_schemas
45
46 %postun
47 %glib_compile_schemas
48
49 %files
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*
This page took 0.047547 seconds and 3 git commands to generate.