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