From: Elan Ruusamäe Date: Sun, 28 Oct 2012 10:52:31 +0000 (+0200) Subject: tar.xz deps; cosmetics X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=67b23dfbe93b782175bb00b4af8379bbadde1de2;p=packages%2Fgnome-shell-extension-mylauncher.git tar.xz deps; cosmetics --- diff --git a/gnome-shell-extension-mylauncher.spec b/gnome-shell-extension-mylauncher.spec index 527e098..6c3d36c 100644 --- a/gnome-shell-extension-mylauncher.spec +++ b/gnome-shell-extension-mylauncher.spec @@ -3,14 +3,16 @@ Summary: Customizable menu for gnome shell/panel Name: gnome-shell-extension-%{extname} Version: 20121027 Release: 0.1 +License: GPL v2 Group: X11/Applications -License: GPLv2 # $ git clone git://github.com/mbokil/mylauncher-extension.git # $ cd mylauncher-extension/ # $ git archive --format=tar --prefix=%{extname}-%{version}/ master | xz > ../%{extname}-%{version}.tar.xz Source0: %{extname}-%{version}.tar.xz # Source0-md5: 2b1e69daf0d39d1a4b478fd6eaa9e83b URL: http://markbokil.com/downloads/extensions/ +BuildRequires: tar >= 1:1.22 +BuildRequires: xz Requires: gnome-shell >= 3.6.0 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -25,17 +27,15 @@ as [RG] for restart shell, [TD] for toggle desktop, etc. %prep %setup -q -n %{extname}-%{version} -%build - %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \ $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com -install schemas/org.gnome.shell.extensions.mylauncher.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/ -install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/ -install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/ -install *.svg $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com/ +cp -p schemas/org.gnome.shell.extensions.mylauncher.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas +cp -p *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com +cp -p *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com +cp -p *.svg $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher@markbokil.com %clean rm -rf $RPM_BUILD_ROOT