]> git.pld-linux.org Git - packages/synapse.git/blob - synapse.spec
c3f9c87041ac73007bd095c73b6c863faa56409a
[packages/synapse.git] / synapse.spec
1 Summary:        Application launcher
2 Name:           synapse
3 Version:        0.2.99.1
4 Release:        0.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:  670ad81d3195cc29dc5bbc8726368776
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:  glib2-devel >= 1:2.28.0
14 BuildRequires:  gtk+3-devel
15 BuildRequires:  intltool >= 0.35.0
16 BuildRequires:  json-glib-devel >= 0.10.0
17 BuildRequires:  keybinder3-devel
18 BuildRequires:  libgee-devel >= 0.5.2
19 BuildRequires:  libnotify-devel
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
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
32 files by making use of the Zeitgeist engine. 
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__intltoolize}
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure \
46         --disable-silent-rules \
47         --enable-librest=yes \
48         --enable-zeitgeist=yes
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %find_lang %{name}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 %update_icon_cache hicolor
64 %update_desktop_database
65
66 %postun
67 %update_icon_cache hicolor
68 %update_desktop_database_postun
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/synapse
73 %{_iconsdir}/hicolor/scalable/apps/*.svg
74 %{_desktopdir}/*.desktop
75 %{_mandir}/man1/synapse.*
This page took 0.046912 seconds and 2 git commands to generate.