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.

58 lines
1.5 KiB

  1. # git SHA1 of usable master
  2. %global commit 3437a3339942c72b64a4b41e89c8470ac1f9f92f
  3. %global shortcommit %(c=%{commit}; echo ${c:0:7})
  4. %global owner bboozzoo
  5. Name: mconnect
  6. Version: 0.1
  7. Release: 3.20150119git%{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: libnotify-devel
  19. BuildRequires: desktop-file-utils
  20. %description
  21. MConnect is an implementation of host side of KDE Connect protocol,
  22. but without any KDE or Qt dependencies.
  23. %prep
  24. %setup -q -D -n %{name}-%{commit}
  25. %build
  26. autoreconf -if
  27. %configure
  28. make %{?_smp_mflags} V=1
  29. %install
  30. %make_install
  31. desktop-file-validate %{buildroot}/%{_datadir}/applications/mconnect.desktop
  32. %files
  33. %doc LICENSE
  34. %{_bindir}/mconnect
  35. %dir %{_datadir}/mconnect
  36. %{_datadir}/mconnect/*
  37. %{_datadir}/applications/*.desktop
  38. %changelog
  39. * Mon Jan 19 2015 Maciek Borzęcki <maciek.borzecki@gmail.com> - 0.1-3.20150119git3437a33
  40. - Bump version to include minor enhancements
  41. * Mon Jan 19 2015 Maciek Borzęcki <maciek.borzecki@gmail.com> - 0.1-2.20150119gitb8ffa0f
  42. - Bump version to include bug fixes
  43. * Sun Jan 18 2015 Maciek Borzecki <maciek.borzecki@gmail.com> - 0.1-1.20150118git55ae51a
  44. - Initial packaging