]> git.pld-linux.org Git - packages/synapse.git/blob - synapse.spec
52586e293a2cc30da19156aeaa2d6a140d050f97
[packages/synapse.git] / synapse.spec
1 %define         rev     594
2 #
3 Summary:        Application launcher
4 Name:           synapse
5 Version:        0.2.99
6 Release:        0.%{rev}.1
7 License:        GPL v3+
8 Group:          X11/Applications
9 Source0:        %{name}-%{version}-r%{rev}.tar.gz
10 # Source0-md5:  3fcd00e82bc89cd55a9eb3c75f9ce7c7
11 Patch0:         %{name}-mate.patch
12 URL:            http://synapse.zeitgeist-project.com/
13 BuildRequires:  autoconf >= 2.65
14 BuildRequires:  automake >= 1:1.11
15 BuildRequires:  glib2-devel >= 1:2.28.0
16 BuildRequires:  gtk+3-devel
17 BuildRequires:  intltool >= 0.35.0
18 BuildRequires:  json-glib-devel >= 0.10.0
19 BuildRequires:  keybinder3-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-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 %{__mkdir} m4
40
41 %build
42 %{__intltoolize}
43 %{__libtoolize}
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure \
49         --disable-silent-rules \
50         --enable-librest=yes \
51         --enable-zeitgeist=yes
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_icon_cache hicolor
67 %update_desktop_database
68
69 %postun
70 %update_icon_cache hicolor
71 %update_desktop_database_postun
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/synapse
76 %{_iconsdir}/hicolor/scalable/apps/*.svg
77 %{_desktopdir}/*.desktop
78 %{_mandir}/man1/synapse.*
This page took 0.053129 seconds and 2 git commands to generate.