]>
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 JP |
17 | BuildRequires: keybinder3-devel |
18 | BuildRequires: libgee-devel >= 0.5.2 | |
a992cc22 | 19 | BuildRequires: libnotify-devel |
9027cc73 JP |
20 | BuildRequires: libtool |
21 | BuildRequires: pkgconfig >= 1:0.21 | |
22 | BuildRequires: rest-devel >= 0.7 | |
23 | BuildRequires: vala >= 0.16.0 | |
24 | BuildRequires: vala-libgee >= 0.6.4 | |
25 | BuildRequires: vala-zeitgeist >= 0.9.14 | |
26 | BuildRequires: zeitgeist-devel >= 0.9.14 | |
f18e266b | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Synapse is a semantic launcher written in Vala that you can use to | |
31 | start applications as well as find and access relevant documents and | |
c118d9e0 | 32 | files by making use of the Zeitgeist engine. |
f18e266b | 33 | |
34 | %prep | |
35 | %setup -q | |
a992cc22 | 36 | %patch0 -p1 |
f18e266b | 37 | |
38 | %build | |
9027cc73 JP |
39 | %{__intltoolize} |
40 | %{__libtoolize} | |
41 | %{__aclocal} | |
a992cc22 JP |
42 | %{__autoconf} |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-silent-rules \ | |
47 | --enable-librest=yes \ | |
48 | --enable-zeitgeist=yes | |
f18e266b | 49 | %{__make} |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
a8960794 | 57 | %find_lang %{name} |
58 | ||
f18e266b | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %update_icon_cache hicolor | |
64 | %update_desktop_database | |
f18e266b | 65 | |
66 | %postun | |
67 | %update_icon_cache hicolor | |
68 | %update_desktop_database_postun | |
f18e266b | 69 | |
a8960794 | 70 | %files -f %{name}.lang |
f18e266b | 71 | %defattr(644,root,root,755) |
a8960794 | 72 | %attr(755,root,root) %{_bindir}/synapse |
73 | %{_iconsdir}/hicolor/scalable/apps/*.svg | |
74 | %{_desktopdir}/*.desktop | |
75 | %{_mandir}/man1/synapse.* |