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

# git SHA1 of usable master
%global commit 6e20af99e635a200dc692b4b580930665140b128
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global owner bboozzoo
Name: mconnect
Version: 0.1
Release: 1.20150118git%{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: vala-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
%{_datadir}/applications/*.desktop
%dir %{_sysconfdir}/mconnect
%{_sysconfdir}/mconnect/*
%changelog
* Sun Jan 18 2015 Maciek Borzecki <maciek.borzecki@gmail.com>
- Initial packaging