]> git.pld-linux.org Git - packages/synapse.git/blame - synapse.spec
patch to use maintained ayatana indicators; rel 2
[packages/synapse.git] / synapse.spec
CommitLineData
c00b9326
JP
1#
2# Conditional build:
1b5ade38 3%bcond_without appindicator # build without appindicator support
c00b9326
JP
4%bcond_with zeitgeist # build with zeitgeist support (causes stability issues)
5
f18e266b 6Summary: Application launcher
7Name: synapse
9430d791 8Version: 0.2.99.4
c94c8f04 9Release: 2
f18e266b 10License: GPL v3+
11Group: X11/Applications
01e79a45 12Source0: https://launchpad.net/synapse-project/0.3/%{version}/+download/%{name}-%{version}.tar.xz
9430d791 13# Source0-md5: 38105c87200d82cf2066fb70cc9af59f
a992cc22 14Patch0: %{name}-mate.patch
c94c8f04 15Patch1: ayatana-indicator.patch
f273526a 16URL: https://launchpad.net/synapse-project
9027cc73
JP
17BuildRequires: autoconf >= 2.65
18BuildRequires: automake >= 1:1.11
130c4ef6 19BuildRequires: gettext-tools >= 0.19.6
9027cc73
JP
20BuildRequires: glib2-devel >= 1:2.28.0
21BuildRequires: gtk+3-devel
a992cc22 22BuildRequires: json-glib-devel >= 0.10.0
9027cc73 23BuildRequires: keybinder3-devel
c94c8f04 24%{?with_appindicator:BuildRequires: libayatana-appindicator-gtk3-devel}
9027cc73 25BuildRequires: libgee-devel >= 0.5.2
a992cc22 26BuildRequires: libnotify-devel
9027cc73
JP
27BuildRequires: libtool
28BuildRequires: pkgconfig >= 1:0.21
29BuildRequires: rest-devel >= 0.7
f0e68764 30BuildRequires: rpmbuild(macros) >= 1.527
fd474075 31BuildRequires: tar >= 1:1.22
9027cc73 32BuildRequires: vala >= 0.16.0
c94c8f04 33%{?with_appindicator:BuildRequires: vala-libayatana-appindicator-gtk3}
9027cc73 34BuildRequires: vala-libgee >= 0.6.4
c00b9326 35%if %{with zeitgeist}
9027cc73 36BuildRequires: vala-zeitgeist >= 0.9.14
fd474075 37BuildRequires: xz
9027cc73 38BuildRequires: zeitgeist-devel >= 0.9.14
c00b9326 39%endif
1182eafc
JP
40Requires: glib2 >= 1:2.28.0
41Requires: json-glib >= 0.10.0
42Requires: libgee >= 0.5.2
43Requires: rest >= 0.7
44%if %{with zeitgeist}
45Requires: zeitgeist-libs >= 0.9.14
46%endif
f18e266b 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
49%description
50Synapse is a semantic launcher written in Vala that you can use to
51start applications as well as find and access relevant documents and
c118d9e0 52files by making use of the Zeitgeist engine.
f18e266b 53
54%prep
55%setup -q
a992cc22 56%patch0 -p1
c94c8f04 57%patch1 -p1
f18e266b 58
59%build
130c4ef6 60%{__gettextize}
9027cc73
JP
61%{__libtoolize}
62%{__aclocal}
a992cc22
JP
63%{__autoconf}
64%{__autoheader}
65%{__automake}
66%configure \
67 --disable-silent-rules \
68 --enable-librest=yes \
1b5ade38 69 %{__enable_disable appindicator indicator} \
c00b9326 70 %{__enable_disable zeitgeist}
f18e266b 71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
78
a8960794 79%find_lang %{name}
80
f18e266b 81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post
85%update_icon_cache hicolor
86%update_desktop_database
f18e266b 87
88%postun
89%update_icon_cache hicolor
90%update_desktop_database_postun
f18e266b 91
a8960794 92%files -f %{name}.lang
f18e266b 93%defattr(644,root,root,755)
a8960794 94%attr(755,root,root) %{_bindir}/synapse
95%{_iconsdir}/hicolor/scalable/apps/*.svg
96%{_desktopdir}/*.desktop
97%{_mandir}/man1/synapse.*
This page took 0.081802 seconds and 5 git commands to generate.