File synapse.spec of Package synapse
#
# spec file for package synapse
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: synapse
Version: 0.2.10
Release: 0
Summary: A semantic launcher for GNOME
License: GPL-3.0+
Group: System/GUI/GNOME
Url: http://launchpad.net/synapse-project
Source0: http://launchpad.net/synapse-project/0.2/%{version}/+download/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM synapse-fix-border-painting.patch bnc#792215 dvaleev@suse.com -- Fix border painting, taken from upstream vcs, rev 504.
Patch0: synapse-fix-border-painting.patch
# PATCH-FIX-OPENSUSE synapse-gnome-3.10.patch dimstar@opensuse.org -- Fix build against GNOME 3.10
Patch1: synapse-gnome-3.10.patch
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: vala >= 0.14.0
BuildRequires: pkgconfig(gee-1.0) >= 0.5.2
BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
BuildRequires: pkgconfig(gtk+-2.0) >= 2.20.0
BuildRequires: pkgconfig(gtkhotkey-1.0)
BuildRequires: pkgconfig(json-glib-1.0) >= 0.10.0
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(rest-0.7)
BuildRequires: pkgconfig(unique-1.0)
BuildRequires: pkgconfig(zeitgeist-1.0) >= 0.3.14
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Synapse is a semantic launcher written in Vala that you can use to start
applications as well as find and access relevant documents and files by
making use of the Zeitgeist engine.
%lang_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name}
%suse_update_desktop_file %{name} X-SuSE-DesktopUtility
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%post
%icon_theme_cache_post
%desktop_database_post
%postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_mandir}/man1/%{name}.1%{?ext_man}
%files lang -f %{name}.lang
%changelog