]>
Commit | Line | Data |
---|---|---|
74695063 ER |
1 | Summary: Slingshot is a lightweight and stylish app launcher for Pantheon and other DEs |
2 | Name: slingshot | |
3 | Version: 0.7 | |
4 | Release: 0.1 | |
5 | License: GPL v3 | |
6 | Group: X11/Applications | |
7 | #Source0: https://launchpad.net/slingshot/trunk/0.6/+download/%{name}-%{version}.tar.bz2 | |
8 | Source0: https://launchpad.net/slingshot/0.x/0.7/+download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 25be09dc150194216d3ee22de8fa8ffe | |
10 | URL: https://launchpad.net/slingshot | |
11 | BuildRequires: cmake | |
dfb98d76 | 12 | BuildRequires: gettext-tools |
74695063 ER |
13 | BuildRequires: glib2-devel |
14 | BuildRequires: gnome-menus-devel | |
15 | BuildRequires: granite-devel | |
16 | #BuildRequires: granite-devel >= 0.1.3 | |
17 | BuildRequires: gtk+3-devel >= 3.2.0 | |
18 | BuildRequires: libgee0.6-devel | |
19 | BuildRequires: libunity-devel | |
20 | BuildRequires: libwnck-devel | |
21 | BuildRequires: libzeitgeist-devel | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: sed >= 4.0 | |
24 | BuildRequires: vala >= 0.10.0 | |
25 | BuildRequires: vala-zeitgeist | |
26 | Requires: gtk-update-icon-cache | |
27 | Requires: hicolor-icon-theme | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | Slingshot is an app launcher created specifically for elementary, but | |
32 | is usable with other desktop environments as well. | |
33 | ||
34 | It's supposed to be simple, easy on the eyes and just works without | |
35 | much pc knowledge or explanation. | |
36 | ||
37 | %prep | |
38 | %setup -qc | |
39 | ||
40 | %{__sed} -i -e 's,libgnome-menu;,libgnome-menu-3.0;,' CMakeLists.txt | |
41 | ||
42 | %build | |
43 | install -d build | |
44 | cd build | |
45 | %cmake .. | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | %{__make} install -C build \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/rue | |
54 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sma | |
55 | ||
56 | %find_lang %{name} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post | |
62 | %update_desktop_database | |
63 | %update_icon_cache hicolor | |
64 | %glib_compile_schemas | |
65 | ||
66 | %postun | |
67 | %update_desktop_database | |
68 | %update_icon_cache hicolor | |
69 | %glib_compile_schemas | |
70 | ||
71 | %files -f %{name}.lang | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS |