[nuntius] Initial import

Kalev Lember kalev at fedoraproject.org
Mon Mar 2 20:44:54 UTC 2015


commit 89c314bb717847b306fa6b648ce53b60cf4cf2ba
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Mar 2 21:14:34 2015 +0100

    Initial import
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1197756

 .gitignore   |  1 +
 nuntius.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |  1 +
 3 files changed, 61 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0b3cf11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nuntius-0.0.1.tar.xz
diff --git a/nuntius.spec b/nuntius.spec
new file mode 100644
index 0000000..5f5fb6f
--- /dev/null
+++ b/nuntius.spec
@@ -0,0 +1,59 @@
+Name:           nuntius
+Version:        0.0.1
+Release:        2%{?dist}
+Summary:        Get notifications from the phone or tablet
+
+License:        GPLv2+
+URL:            https://github.com/holylobster/nuntius-linux
+Source0:        https://github.com/holylobster/nuntius-linux/releases/download/v%{version}/nuntius-%{version}.tar.xz
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(gio-unix-2.0)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(json-glib-1.0)
+BuildRequires:  vala-devel
+
+%description
+Nuntius is a daemon that connects to another Nuntius app running on a phone or
+a tablet and proxies the notifications using Bluetooth.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%check
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.holylobster.nuntius.desktop
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ]; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%license COPYING
+%{_sysconfdir}/xdg/autostart/org.holylobster.nuntius.desktop
+%{_bindir}/nuntius
+%{_datadir}/applications/org.holylobster.nuntius.desktop
+%{_datadir}/dbus-1/services/org.holylobster.nuntius.service
+%{_datadir}/icons/hicolor/*/apps/nuntius.png
+
+%changelog
+* Mon Mar 02 2015 Kalev Lember <kalevlember at gmail.com> - 0.0.1-2
+- Capitalize names in the description (#1197756)
+
+* Mon Mar 02 2015 Kalev Lember <kalevlember at gmail.com> - 0.0.1-1
+- Initial Fedora packaging
diff --git a/sources b/sources
index e69de29..5ecd245 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c8544d5c8810d4bd77837dbc223f7830  nuntius-0.0.1.tar.xz


More information about the scm-commits mailing list