Remove license/group placeholders accepted/tizen/20130602.020356 submit/tizen/20130601.183035
authorAnas Nashif <anas.nashif@intel.com>
Sat, 1 Jun 2013 18:30:31 +0000 (14:30 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Sat, 1 Jun 2013 18:30:31 +0000 (14:30 -0400)
LICENSE.APLv2.0 [changed mode: 0755->0644]
packaging/notification.changes [new file with mode: 0644]
packaging/notification.spec

old mode 100755 (executable)
new mode 100644 (file)
diff --git a/packaging/notification.changes b/packaging/notification.changes
new file mode 100644 (file)
index 0000000..09c82fc
--- /dev/null
@@ -0,0 +1,3 @@
+* Sat Jun 01 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130530.164729@c181132
+- Remove license/group placeholders
+
index c58d6ee..45e0304 100755 (executable)
@@ -2,7 +2,7 @@ Name:       notification
 Summary:    notification library
 Version:    0.2.3
 Release:    1
-Group:      TBD
+Group:      Applications/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires: pkgconfig(sqlite3)
@@ -31,31 +31,22 @@ Notificaiton library.
 
 %package devel
 Summary:    Notification library (devel)
-Group:      Development/Libraries
+Group:      Development/Applications
 Requires:   %{name} = %{version}-%{release}
 
 %description devel
 Notificaiton library (devel).
 
 %build
-export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
 %cmake .
 make %{?jobs:-j%jobs}
 
 %install
 %make_install
 
-mkdir -p %{buildroot}/usr/share/license
-cp -f LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}
-
 %post
 /sbin/ldconfig
 
-if [ ! -d /opt/dbspace ]
-then
-       mkdir /opt/dbspace
-fi
-
 if [ ! -f /opt/dbspace/.notification.db ]
 then
        sqlite3 /opt/dbspace/.notification.db 'PRAGMA journal_mode = PERSIST;
@@ -148,12 +139,13 @@ vconftool set -t string memory/private/libstatus/message "" -i -g 5000
 %postun -p /sbin/ldconfig
 
 %files
+%license LICENSE.APLv2.0
 %manifest notification.manifest
 %defattr(-,root,root,-)
-%{_libdir}/libnotification.so*
-/usr/share/license/%{name}
+%{_libdir}/libnotification.so.*
 
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/notification/*.h
+%{_libdir}/libnotification.so
 %{_libdir}/pkgconfig/notification.pc