]> git.pld-linux.org Git - packages/gnome-shell-extension-mylauncher.git/commitdiff
tar.xz deps; cosmetics master
authorElan Ruusamäe <glen@delfi.ee>
Sun, 28 Oct 2012 10:52:31 +0000 (12:52 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 28 Oct 2012 10:52:31 +0000 (12:52 +0200)
gnome-shell-extension-mylauncher.spec

index 527e098cf7b1b0540e6728458572adc97f81754f..6c3d36c0e2eeea71bed009003e8ff45d997057f4 100644 (file)
@@ -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
This page took 0.082843 seconds and 4 git commands to generate.