up to 0.2.99.3
[packages/synapse.git] / synapse.spec
1 Summary:        Application launcher
2 Name:           synapse
3 Version:        0.2.99.3
4 Release:        1
5 License:        GPL v3+
6 Group:          X11/Applications
7 Source0:        https://launchpad.net/synapse-project/0.3/%{version}/+download/%{name}-%{version}.tar.xz
8 # Source0-md5:  7e24bc78ebe47b4d055b22eead40a6c5
9 Patch0:         %{name}-mate.patch
10 URL:            http://synapse.zeitgeist-project.com/
11 BuildRequires:  autoconf >= 2.65
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  gettext-tools >= 0.19.6
14 BuildRequires:  glib2-devel >= 1:2.28.0
15 BuildRequires:  gtk+3-devel
16 BuildRequires:  json-glib-devel >= 0.10.0
17 BuildRequires:  keybinder3-devel
18 BuildRequires:  libappindicator-gtk3-devel
19 BuildRequires:  libgee-devel >= 0.5.2
20 BuildRequires:  libnotify-devel
21 BuildRequires:  libtool
22 BuildRequires:  pkgconfig >= 1:0.21
23 BuildRequires:  rest-devel >= 0.7
24 BuildRequires:  vala >= 0.16.0
25 BuildRequires:  vala-libappindicator-gtk3
26 BuildRequires:  vala-libgee >= 0.6.4
27 BuildRequires:  vala-zeitgeist >= 0.9.14
28 BuildRequires:  zeitgeist-devel >= 0.9.14
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
34 files by making use of the Zeitgeist engine.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__gettextize}
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure \
48         --disable-silent-rules \
49         --enable-librest=yes \
50         --enable-zeitgeist=yes
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 %update_icon_cache hicolor
66 %update_desktop_database
67
68 %postun
69 %update_icon_cache hicolor
70 %update_desktop_database_postun
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/synapse
75 %{_iconsdir}/hicolor/scalable/apps/*.svg
76 %{_desktopdir}/*.desktop
77 %{_mandir}/man1/synapse.*
This page took 0.048517 seconds and 3 git commands to generate.