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

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