]> git.pld-linux.org Git - packages/slingshot.git/blame - slingshot.spec
- updated gettext BR
[packages/slingshot.git] / slingshot.spec
CommitLineData
74695063
ER
1Summary: Slingshot is a lightweight and stylish app launcher for Pantheon and other DEs
2Name: slingshot
3Version: 0.7
4Release: 0.1
5License: GPL v3
6Group: X11/Applications
7#Source0: https://launchpad.net/slingshot/trunk/0.6/+download/%{name}-%{version}.tar.bz2
8Source0: https://launchpad.net/slingshot/0.x/0.7/+download/%{name}-%{version}.tar.gz
9# Source0-md5: 25be09dc150194216d3ee22de8fa8ffe
10URL: https://launchpad.net/slingshot
11BuildRequires: cmake
dfb98d76 12BuildRequires: gettext-tools
74695063
ER
13BuildRequires: glib2-devel
14BuildRequires: gnome-menus-devel
15BuildRequires: granite-devel
16#BuildRequires: granite-devel >= 0.1.3
17BuildRequires: gtk+3-devel >= 3.2.0
18BuildRequires: libgee0.6-devel
19BuildRequires: libunity-devel
20BuildRequires: libwnck-devel
21BuildRequires: libzeitgeist-devel
22BuildRequires: pkgconfig
23BuildRequires: sed >= 4.0
24BuildRequires: vala >= 0.10.0
25BuildRequires: vala-zeitgeist
26Requires: gtk-update-icon-cache
27Requires: hicolor-icon-theme
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Slingshot is an app launcher created specifically for elementary, but
32is usable with other desktop environments as well.
33
34It's supposed to be simple, easy on the eyes and just works without
35much 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
43install -d build
44cd build
45%cmake ..
46%{__make}
47
48%install
49rm -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
59rm -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
This page took 0.070186 seconds and 4 git commands to generate.