mconnect - KDE Connect protocol implementation in Vala/C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

  1. # git SHA1 of usable master
  2. %global commit 6e20af99e635a200dc692b4b580930665140b128
  3. %global shortcommit %(c=%{commit}; echo ${c:0:7})
  4. %global owner bboozzoo
  5. Name: mconnect
  6. Version: 0.1
  7. Release: 1.20150118git%{shortcommit}%{?dist}
  8. Summary: Implementation of KDE Connect protocol
  9. License: GPLv2
  10. URL: http://github.com/bboozzoo/mconnect
  11. #Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
  12. Source: %{name}-%{commit}.tar.gz
  13. BuildRequires: vala
  14. BuildRequires: glib2-devel
  15. BuildRequires: json-glib-devel
  16. BuildRequires: libgee-devel
  17. BuildRequires: openssl-devel
  18. BuildRequires: vala-devel
  19. BuildRequires: libnotify-devel
  20. BuildRequires: desktop-file-utils
  21. %description
  22. MConnect is an implementation of host side of KDE Connect protocol,
  23. but without any KDE or Qt dependencies.
  24. %prep
  25. %setup -q -D -n %{name}-%{commit}
  26. %build
  27. autoreconf -if
  28. %configure
  29. make %{?_smp_mflags} V=1
  30. %install
  31. %make_install
  32. desktop-file-validate %{buildroot}/%{_datadir}/applications/mconnect.desktop
  33. %files
  34. %doc LICENSE
  35. %{_bindir}/mconnect
  36. %{_datadir}/applications/*.desktop
  37. %dir %{_sysconfdir}/mconnect
  38. %{_sysconfdir}/mconnect/*
  39. %changelog
  40. * Sun Jan 18 2015 Maciek Borzecki <maciek.borzecki@gmail.com>
  41. - Initial packaging