From d17ee8621807c7aa8cec3a015b52107d6b29aa29 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Wed, 9 Jan 2013 15:48:56 -0800 Subject: [PATCH] add packaging for Tizen Signed-off-by: William Douglas --- packaging/corewatcher.changes | 2 ++ packaging/corewatcher.manifest | 5 +++++ packaging/corewatcher.spec | 45 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 packaging/corewatcher.changes create mode 100644 packaging/corewatcher.manifest create mode 100644 packaging/corewatcher.spec diff --git a/packaging/corewatcher.changes b/packaging/corewatcher.changes new file mode 100644 index 0000000..17c1f66 --- /dev/null +++ b/packaging/corewatcher.changes @@ -0,0 +1,2 @@ +* Wed Jan 09 2013 William Douglas 7bf41a1 +- v0.9.11 Tizen rebrand diff --git a/packaging/corewatcher.manifest b/packaging/corewatcher.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/corewatcher.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/corewatcher.spec b/packaging/corewatcher.spec new file mode 100644 index 0000000..d51300e --- /dev/null +++ b/packaging/corewatcher.spec @@ -0,0 +1,45 @@ +Name: corewatcher +Summary: A crash dump reporting tool +Version: 0.9.11 +Release: 1 +Group: System/Base +License: GPLv2 +Source0: corewatcher-%{version}.tar.gz +Source1001: packaging/corewatcher.manifest +Requires: gdb +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libsystemd-journal) +BuildRequires: pkgconfig(libcurl) + + + +%description +This tool sends application crash reports to the central crash +reporting database. + + +%prep +%setup -q -n %{name}-%{version} + +%build +cp %{SOURCE1001} . +%reconfigure + +make + +%install +rm -rf %{buildroot} + +%make_install + +%install_service multi-user.target.wants corewatcher.service + +%files +%defattr(-,root,root,-) +%manifest corewatcher.manifest +%config(noreplace) /etc/corewatcher/corewatcher.conf +%{_sbindir}/corewatcher +%exclude /usr/share/man/man8/corewatcher.8.gz +%{_sysconfdir}/corewatcher/gdb.command +%{_unitdir}/corewatcher.service +%{_unitdir}/multi-user.target.wants/corewatcher.service -- 2.7.4