]>
Commit | Line | Data |
---|---|---|
1 | Summary: guake - a drop-down terminal | |
2 | Summary(pl.UTF-8): guake - wyskakujący terminal | |
3 | Name: guake | |
4 | Version: 0.4.2 | |
5 | Release: 2 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://guake.org/files/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 1f0feff3bfc15c998147dbf07d9d8a8e | |
10 | Patch0: %{name}-desktop.patch | |
11 | URL: http://guake.org/ | |
12 | BuildRequires: GConf2-devel | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: intltool >= 0.35 | |
15 | BuildRequires: pkgconfig | |
16 | BuildRequires: python-pygtk-devel | |
17 | BuildRequires: python-vte | |
18 | BuildRequires: rpm-pythonprov | |
19 | BuildRequires: sed >= 4.0 | |
20 | Requires(post,postun): desktop-file-utils | |
21 | Requires(post,postun): scrollkeeper | |
22 | Requires(post,preun): GConf2 | |
23 | Requires: dbus(org.freedesktop.Notifications) | |
24 | Requires: python-gnome-gconf | |
25 | Requires: python-pygtk-glade | |
26 | Requires: python-pynotify | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Guake is a drop-down terminal for Gnome Desktop Environment, so you | |
31 | just need to press a key to invoke him, and press again to hide. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Guake to wyskakujący terminal dla Gnome, a więc wystarczy nacisnąć | |
35 | przycisk aby go wywołać i nacisnąć ponownie by schować. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | %patch0 -p1 | |
40 | ||
41 | %build | |
42 | %configure \ | |
43 | --disable-schemas-install \ | |
44 | --disable-static | |
45 | ||
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/guake/*.la | |
55 | ||
56 | mv $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb} | |
57 | ||
58 | %find_lang %{name} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %update_desktop_database | |
65 | %gconf_schema_install guake.schemas | |
66 | ||
67 | %preun | |
68 | %gconf_schema_uninstall guake.schemas | |
69 | ||
70 | %postun | |
71 | %update_desktop_database_postun | |
72 | ||
73 | %posttrans | |
74 | killall -HUP gconfd-2 > /dev/null || : | |
75 | ||
76 | %files -f %{name}.lang | |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root) %{_bindir}/* | |
79 | %dir %{_libdir}/guake | |
80 | %attr(755,root,root) %{_libdir}/guake/*.so | |
81 | %{_libdir}/guake/*.py | |
82 | %{_datadir}/guake | |
83 | %{_pixmapsdir}/guake | |
84 | %{_desktopdir}/*.desktop | |
85 | %{_datadir}/dbus-1/services/org.guake.Guake.service | |
86 | %{_sysconfdir}/gconf/schemas/guake.schemas | |
87 | %{_sysconfdir}/xdg/autostart/guake.desktop | |
88 | %{_mandir}/man1/guake.1* |