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