]> git.pld-linux.org Git - packages/synapse.git/blame - synapse.spec
BRs for tar.xz source
[packages/synapse.git] / synapse.spec
CommitLineData
c00b9326
JP
1#
2# Conditional build:
1b5ade38 3%bcond_without appindicator # build without appindicator support
c00b9326
JP
4%bcond_with zeitgeist # build with zeitgeist support (causes stability issues)
5
f18e266b 6Summary: Application launcher
7Name: synapse
9430d791 8Version: 0.2.99.4
130c4ef6 9Release: 1
f18e266b 10License: GPL v3+
11Group: X11/Applications
01e79a45 12Source0: https://launchpad.net/synapse-project/0.3/%{version}/+download/%{name}-%{version}.tar.xz
9430d791 13# Source0-md5: 38105c87200d82cf2066fb70cc9af59f
a992cc22 14Patch0: %{name}-mate.patch
f273526a 15URL: https://launchpad.net/synapse-project
9027cc73
JP
16BuildRequires: autoconf >= 2.65
17BuildRequires: automake >= 1:1.11
130c4ef6 18BuildRequires: gettext-tools >= 0.19.6
9027cc73
JP
19BuildRequires: glib2-devel >= 1:2.28.0
20BuildRequires: gtk+3-devel
a992cc22 21BuildRequires: json-glib-devel >= 0.10.0
9027cc73 22BuildRequires: keybinder3-devel
1b5ade38 23%{?with_appindicator:BuildRequires: libappindicator-gtk3-devel}
9027cc73 24BuildRequires: libgee-devel >= 0.5.2
a992cc22 25BuildRequires: libnotify-devel
9027cc73
JP
26BuildRequires: libtool
27BuildRequires: pkgconfig >= 1:0.21
28BuildRequires: rest-devel >= 0.7
f0e68764 29BuildRequires: rpmbuild(macros) >= 1.527
fd474075 30BuildRequires: tar >= 1:1.22
9027cc73 31BuildRequires: vala >= 0.16.0
1b5ade38 32%{?with_appindicator:BuildRequires: vala-libappindicator-gtk3}
9027cc73 33BuildRequires: vala-libgee >= 0.6.4
c00b9326 34%if %{with zeitgeist}
9027cc73 35BuildRequires: vala-zeitgeist >= 0.9.14
fd474075 36BuildRequires: xz
9027cc73 37BuildRequires: zeitgeist-devel >= 0.9.14
c00b9326 38%endif
1182eafc
JP
39Requires: glib2 >= 1:2.28.0
40Requires: json-glib >= 0.10.0
41Requires: libgee >= 0.5.2
42Requires: rest >= 0.7
43%if %{with zeitgeist}
44Requires: zeitgeist-libs >= 0.9.14
45%endif
f18e266b 46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48%description
49Synapse is a semantic launcher written in Vala that you can use to
50start applications as well as find and access relevant documents and
c118d9e0 51files by making use of the Zeitgeist engine.
f18e266b 52
53%prep
54%setup -q
a992cc22 55%patch0 -p1
f18e266b 56
57%build
130c4ef6 58%{__gettextize}
9027cc73
JP
59%{__libtoolize}
60%{__aclocal}
a992cc22
JP
61%{__autoconf}
62%{__autoheader}
63%{__automake}
64%configure \
65 --disable-silent-rules \
66 --enable-librest=yes \
1b5ade38 67 %{__enable_disable appindicator indicator} \
c00b9326 68 %{__enable_disable zeitgeist}
f18e266b 69%{__make}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
a8960794 77%find_lang %{name}
78
f18e266b 79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post
83%update_icon_cache hicolor
84%update_desktop_database
f18e266b 85
86%postun
87%update_icon_cache hicolor
88%update_desktop_database_postun
f18e266b 89
a8960794 90%files -f %{name}.lang
f18e266b 91%defattr(644,root,root,755)
a8960794 92%attr(755,root,root) %{_bindir}/synapse
93%{_iconsdir}/hicolor/scalable/apps/*.svg
94%{_desktopdir}/*.desktop
95%{_mandir}/man1/synapse.*
This page took 0.036994 seconds and 4 git commands to generate.