# git SHA1 of usable master
|
|
%global commit 3437a3339942c72b64a4b41e89c8470ac1f9f92f
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
%global owner bboozzoo
|
|
|
|
Name: mconnect
|
|
Version: 0.1
|
|
Release: 3.20150119git%{shortcommit}%{?dist}
|
|
Summary: Implementation of KDE Connect protocol
|
|
|
|
License: GPLv2
|
|
URL: http://github.com/bboozzoo/mconnect
|
|
#Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
Source: %{name}-%{commit}.tar.gz
|
|
|
|
BuildRequires: vala
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: json-glib-devel
|
|
BuildRequires: libgee-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: desktop-file-utils
|
|
|
|
%description
|
|
|
|
MConnect is an implementation of host side of KDE Connect protocol,
|
|
but without any KDE or Qt dependencies.
|
|
|
|
%prep
|
|
%setup -q -D -n %{name}-%{commit}
|
|
|
|
|
|
%build
|
|
autoreconf -if
|
|
%configure
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
%install
|
|
%make_install
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/mconnect.desktop
|
|
|
|
%files
|
|
%doc LICENSE
|
|
%{_bindir}/mconnect
|
|
%dir %{_datadir}/mconnect
|
|
%{_datadir}/mconnect/*
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%changelog
|
|
* Mon Jan 19 2015 Maciek Borzęcki <maciek.borzecki@gmail.com> - 0.1-3.20150119git3437a33
|
|
- Bump version to include minor enhancements
|
|
|
|
* Mon Jan 19 2015 Maciek Borzęcki <maciek.borzecki@gmail.com> - 0.1-2.20150119gitb8ffa0f
|
|
- Bump version to include bug fixes
|
|
|
|
* Sun Jan 18 2015 Maciek Borzecki <maciek.borzecki@gmail.com> - 0.1-1.20150118git55ae51a
|
|
- Initial packaging
|