summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-06-01 14:30:31 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-06-01 14:30:31 -0400
commitcfc9ee822d71a160072f0baf0d04080a9cbe6dd2 (patch)
tree5c1a512d3a439ddea4059cad09a9d43a8bc66ffb
parentc1811324ecb417a287f5201ac0aed4916c7569dc (diff)
downloadnotification-cfc9ee822d71a160072f0baf0d04080a9cbe6dd2.tar.gz
notification-cfc9ee822d71a160072f0baf0d04080a9cbe6dd2.tar.bz2
notification-cfc9ee822d71a160072f0baf0d04080a9cbe6dd2.zip
-rw-r--r--[-rwxr-xr-x]LICENSE.APLv2.00
-rw-r--r--packaging/notification.changes3
-rwxr-xr-xpackaging/notification.spec18
3 files changed, 8 insertions, 13 deletions
diff --git a/LICENSE.APLv2.0 b/LICENSE.APLv2.0
index a06208b..a06208b 100755..100644
--- a/LICENSE.APLv2.0
+++ b/LICENSE.APLv2.0
diff --git a/packaging/notification.changes b/packaging/notification.changes
new file mode 100644
index 0000000..09c82fc
--- /dev/null
+++ b/packaging/notification.changes
@@ -0,0 +1,3 @@
+* Sat Jun 01 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130530.164729@c181132
+- Remove license/group placeholders
+
diff --git a/packaging/notification.spec b/packaging/notification.spec
index c58d6ee..45e0304 100755
--- a/packaging/notification.spec
+++ b/packaging/notification.spec
@@ -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