]>
Commit | Line | Data |
---|---|---|
f18e266b | 1 | Summary: Application launcher |
2 | Name: synapse | |
3 | Version: 0.2.10 | |
d17b5f55 | 4 | Release: 2 |
f18e266b | 5 | License: GPL v3+ |
6 | Group: X11/Applications | |
7 | Source0: https://launchpad.net/synapse-project/0.2/%{version}/+download/%{name}-%{version}.tar.gz | |
6b0ab603 | 8 | # Source0-md5: ac1c075c01f1c179f32fd6651bd184f8 |
a992cc22 | 9 | Patch0: %{name}-mate.patch |
d17b5f55 | 10 | Patch1: %{name}-gtk_timeout.patch |
f18e266b | 11 | URL: http://synapse.zeitgeist-project.com/ |
a992cc22 JP |
12 | BuildRequires: glib2-devel >= 1:2.26.0 |
13 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
665cda24 | 14 | BuildRequires: gtkhotkey-devel >= 0.2.1 |
a992cc22 JP |
15 | BuildRequires: json-glib-devel >= 0.10.0 |
16 | BuildRequires: libgee0.6-devel >= 0.5.2 | |
17 | BuildRequires: libnotify-devel | |
665cda24 | 18 | BuildRequires: libunique-devel >= 1.0 |
a992cc22 JP |
19 | BuildRequires: rest-devel |
20 | BuildRequires: vala >= 0.14.0 | |
665cda24 | 21 | BuildRequires: vala-libgee >= 0.6.4 |
22 | BuildRequires: vala-zeitgeist >= 0.3.18 | |
a992cc22 | 23 | BuildRequires: zeitgeist-devel >= 0.3.18 |
f18e266b | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | Synapse is a semantic launcher written in Vala that you can use to | |
28 | start applications as well as find and access relevant documents and | |
29 | files by making use of the Zeitgeist engine. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
a992cc22 | 33 | %patch0 -p1 |
d17b5f55 | 34 | %patch1 -p1 |
f18e266b | 35 | |
36 | %build | |
a992cc22 JP |
37 | %{__aclocal} -I m4 |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure \ | |
42 | --disable-silent-rules \ | |
43 | --enable-librest=yes \ | |
44 | --enable-zeitgeist=yes | |
f18e266b | 45 | %{__make} |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
a8960794 | 53 | %find_lang %{name} |
54 | ||
f18e266b | 55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post | |
59 | %update_icon_cache hicolor | |
60 | %update_desktop_database | |
f18e266b | 61 | |
62 | %postun | |
63 | %update_icon_cache hicolor | |
64 | %update_desktop_database_postun | |
f18e266b | 65 | |
a8960794 | 66 | %files -f %{name}.lang |
f18e266b | 67 | %defattr(644,root,root,755) |
a8960794 | 68 | %attr(755,root,root) %{_bindir}/synapse |
69 | %{_iconsdir}/hicolor/scalable/apps/*.svg | |
70 | %{_desktopdir}/*.desktop | |
71 | %{_mandir}/man1/synapse.* |