e89b4ebecd6a33fbec077b0a567f62f90d04c376
[packages/synapse.git] / synapse.spec
1 Summary:        Application launcher
2 Name:           synapse
3 Version:        0.2.99.2
4 Release:        2
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:  0d5559793377cee3b292db95f7ebcc4c
9 Patch0:         %{name}-mate.patch
10 Patch1:         %{name}-types.patch
11 URL:            http://synapse.zeitgeist-project.com/
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
17 BuildRequires:  json-glib-devel >= 0.10.0
18 BuildRequires:  keybinder3-devel
19 BuildRequires:  libappindicator-gtk3-devel
20 BuildRequires:  libgee-devel >= 0.5.2
21 BuildRequires:  libnotify-devel
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig >= 1:0.21
24 BuildRequires:  rest-devel >= 0.7
25 BuildRequires:  vala >= 0.16.0
26 BuildRequires:  vala-libappindicator-gtk3
27 BuildRequires:  vala-libgee >= 0.6.4
28 BuildRequires:  vala-zeitgeist >= 0.9.14
29 BuildRequires:  zeitgeist-devel >= 0.9.14
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
35 files by making use of the Zeitgeist engine.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p0
41
42 %build
43 %{__intltoolize}
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure \
50         --disable-silent-rules \
51         --enable-librest=yes \
52         --enable-zeitgeist=yes
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %update_icon_cache hicolor
68 %update_desktop_database
69
70 %postun
71 %update_icon_cache hicolor
72 %update_desktop_database_postun
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/synapse
77 %{_iconsdir}/hicolor/scalable/apps/*.svg
78 %{_desktopdir}/*.desktop
79 %{_mandir}/man1/synapse.*
This page took 0.060664 seconds and 2 git commands to generate.