]> git.pld-linux.org Git - packages/synapse.git/blob - synapse.spec
- correct vala libgee/zeitgeist dependencies
[packages/synapse.git] / synapse.spec
1 Summary:        Application launcher
2 Name:           synapse
3 Version:        0.2.10
4 Release:        2
5 License:        GPL v3+
6 Group:          X11/Applications
7 Source0:        https://launchpad.net/synapse-project/0.2/%{version}/+download/%{name}-%{version}.tar.gz
8 # Source0-md5:  ac1c075c01f1c179f32fd6651bd184f8
9 Patch0:         %{name}-mate.patch
10 Patch1:         %{name}-gtk_timeout.patch
11 URL:            http://synapse.zeitgeist-project.com/
12 BuildRequires:  glib2-devel >= 1:2.26.0
13 BuildRequires:  gtk+2-devel >= 2:2.20.0
14 BuildRequires:  gtkhotkey-devel >= 0.2.1
15 BuildRequires:  json-glib-devel >= 0.10.0
16 BuildRequires:  libgee0.6-devel >= 0.5.2
17 BuildRequires:  libnotify-devel
18 BuildRequires:  libunique-devel >= 1.0
19 BuildRequires:  libzeitgeist-devel >= 0.3.18
20 BuildRequires:  rest-devel
21 BuildRequires:  vala >= 0.14.0
22 BuildRequires:  vala-libgee0.6 >= 0.6.4
23 BuildRequires:  vala-zeitgeist1 >= 0.3.18
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Synapse is a semantic launcher written in Vala that you can use to
28 start applications as well as find and access relevant documents and
29 files by making use of the Zeitgeist engine. 
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 %{__aclocal} -I m4
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure \
42         --disable-silent-rules \
43         --enable-librest=yes \
44         --enable-zeitgeist=yes
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %find_lang %{name}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 %update_icon_cache hicolor
60 %update_desktop_database
61
62 %postun
63 %update_icon_cache hicolor
64 %update_desktop_database_postun
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/synapse
69 %{_iconsdir}/hicolor/scalable/apps/*.svg
70 %{_desktopdir}/*.desktop
71 %{_mandir}/man1/synapse.*
This page took 0.084552 seconds and 4 git commands to generate.