clean up spec file for packaging
authorHasan Wan <hasan.wan@intel.com>
Wed, 30 May 2012 08:17:16 +0000 (16:17 +0800)
committerHasan Wan <hasan.wan@intel.com>
Wed, 30 May 2012 08:17:16 +0000 (16:17 +0800)
packaging/ivi-config-wayland.spec [moved from ivi-config-wayland.spec with 78% similarity]

similarity index 78%
rename from ivi-config-wayland.spec
rename to packaging/ivi-config-wayland.spec
index d6fd8d2..d8c1a9c 100644 (file)
@@ -5,7 +5,7 @@ Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0
 URL:        http://www.tizen.org
-Source0:    cogl-wayland.conf
+Source0:    %{name}-%{version}.tar.bz2
 Conflicts:  ivi-config-xlib
 
 %description
@@ -13,6 +13,7 @@ Provides customizations for the Tizen IVI wayland build
 
 %prep
 
+%setup -q -n %{name}-%{version}
 %build
 # >> build pre
 # << build pre
@@ -23,7 +24,7 @@ Provides customizations for the Tizen IVI wayland build
 rm -rf %{buildroot}
 
 mkdir -p %{buildroot}%{_sysconfdir}/xdg/cogl
-install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/xdg/cogl/cogl.conf
+install -m 644 cogl-wayland.conf %{buildroot}%{_sysconfdir}/xdg/cogl/cogl.conf
 
 %files
 %defattr(-,root,root,-)