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