commenting chsmack 25/5425/1 submit/tizen/20130710.102042
authorAlexandru Cornea <alexandru.cornea@intel.com>
Wed, 3 Jul 2013 08:58:16 +0000 (11:58 +0300)
committerAlexandru Cornea <alexandru.cornea@intel.com>
Wed, 3 Jul 2013 08:58:16 +0000 (11:58 +0300)
packaging/libslp-alarm.spec

index 49c7ff0..1e0ba04 100644 (file)
@@ -1,6 +1,3 @@
-#sbs-git:slp/apps/l/libslp-alarm libslp-alarm 0.2.7 743c13367284f1394db6db3a2d5a936be5279784
-# >> macros
-# << macros
 
 Name:       libslp-alarm
 Summary:    libslp-alarm package
@@ -38,29 +35,18 @@ Requires:   %{name} = %{version}-%{release}
 %setup -q -n %{name}-%{version}
 cp %{SOURCE1001} .
 
-# >> setup
-# << setup
 
 %build
-# >> build pre
-# << build pre
 
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 
-# Call make instruction with smp support
 make %{?jobs:-j%jobs}
 
-# >> build post
-# << build post
 %install
 rm -rf %{buildroot}
-# >> install pre
-# << install pre
 %make_install
 
-# >> install post
 rm -f %{buildroot}/usr/bin/test_alarmdb
-# << install post
 
 %clean
 rm -rf %{buildroot}
@@ -96,35 +82,12 @@ sqlite3 /opt/dbspace/.alarm.db 'PRAGMA journal_mode = PERSIST;
                                                                           volume INTEGER,
                                                                           auto_power_on INTEGER   );'
 
-chsmack -a 'libslp-alarm::db' /opt/dbspace/.alarm.db*
-
-# Change file owner
-#1.libraries
-#2.executables
-#3.configurations
-#4.images
-#5.edje
-#6.internatialize
-#7.etc
-#chown :5000 /opt/dbspace
+
 chown :6001 /opt/dbspace/.alarm.db
 chown :6001 /opt/dbspace/.alarm.db-journal
-#chown root:root /opt/dbspace/.alarm.db
-#chown root:root /opt/dbspace/.alarm.db-journal
-
-# Change file permissions
-#1.libraries
-#2.executables
-#3.configurations
-#4.images
-#5.edje
-#6.internatialize
-#7.etc
-#chmod 775 /opt/dbspace
+
 chmod 660 /opt/dbspace/.alarm.db
 chmod 660 /opt/dbspace/.alarm.db-journal
-#chmod 600 /opt/dbspace/.alarm.db
-#chmod 600 /opt/dbspace/.alarm.db-journal
 
 
 %postun -p /sbin/ldconfig
@@ -134,16 +97,12 @@ chmod 660 /opt/dbspace/.alarm.db-journal
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-# >> files
 %{_libdir}/*.so*
-# << files
 
 
 %files devel
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-# >> files devel
 %{_includedir}/*
 %{_libdir}/pkgconfig/*
-# << files devel