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