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 - 0.0.1-2 - Capitalize names in the description (#1197756) * Mon Mar 02 2015 Kalev Lember - 0.0.1-1 - Initial Fedora packaging