summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 20:57:51 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-06-28 20:57:51 +0300
commit884dcb1b9c50cf0e2e4107accd13b0b040b74393 (patch)
tree6a63593dca9e96535894efb685ea1ab9d7af1644
parent8ca9fe4c46e95b534c78313589fde27259be3f11 (diff)
downloadbadge-accepted/tizen/ivi/stable.tar.gz
badge-accepted/tizen/ivi/stable.tar.bz2
badge-accepted/tizen/ivi/stable.zip
-rw-r--r--badge.manifest16
-rw-r--r--packaging/badge.manifest5
-rw-r--r--packaging/badge.spec5
3 files changed, 10 insertions, 16 deletions
diff --git a/badge.manifest b/badge.manifest
deleted file mode 100644
index b20b569..0000000
--- a/badge.manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-<manifest>
- <define>
- <domain name="badge"/>
- <provide>
- <label name="badge::db"/>
- </provide>
- </define>
- <assign>
- <filesystem path="/usr/lib/libbadge.so.0.0.1" label="_"/>
- <filesystem path="/usr/lib/libbadge.so.0" label="_"/>
- <filesystem path="/usr/lib/libbadge.so" label="_"/>
- </assign>
- <request>
- <domain name="badge"/>
- </request>
-</manifest>
diff --git a/packaging/badge.manifest b/packaging/badge.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/badge.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/badge.spec b/packaging/badge.spec
index 497db51..751ab07 100644
--- a/packaging/badge.spec
+++ b/packaging/badge.spec
@@ -5,6 +5,7 @@ Release: 1
Group: Application Framework/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1001: badge.manifest
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
@@ -36,6 +37,7 @@ Badge library (devel).
%prep
%setup -q
+cp %{SOURCE1001} .
%build
%cmake .
@@ -51,16 +53,19 @@ sqlite3 %{buildroot}/opt/dbspace/.%{name}.db < %{name}.sql
%postun -p /sbin/ldconfig -n libbadge
%files -n libbadge
+%manifest %{name}.manifest
%license LICENSE.APLv2.0
%manifest badge.manifest
%defattr(-,root,root,-)
%{_libdir}/libbadge.so.*
%files
+%manifest %{name}.manifest
%verify(not md5 size mtime) %config(noreplace) %attr(660,root,app) /opt/dbspace/.%{name}.db-journal
%verify(not md5 size mtime) %config(noreplace) %attr(660,root,app) /opt/dbspace/.%{name}.db
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/%{name}/*.h
%{_libdir}/libbadge.so