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