]>
Commit | Line | Data |
---|---|---|
093b5ca9 | 1 | Summary: guake - a drop-down terminal |
c18bff5f | 2 | Summary(pl.UTF-8): guake - wyskakujący terminal |
093b5ca9 | 3 | Name: guake |
81670f6a | 4 | Version: 0.4.2 |
cda73964 | 5 | Release: 2 |
093b5ca9 AM |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
88ac8a7e | 8 | Source0: http://guake.org/files/%{name}-%{version}.tar.gz |
81670f6a | 9 | # Source0-md5: 1f0feff3bfc15c998147dbf07d9d8a8e |
88ac8a7e | 10 | Patch0: %{name}-desktop.patch |
cda73964 | 11 | URL: http://guake.org/ |
093b5ca9 | 12 | BuildRequires: GConf2-devel |
6d1df8f2 | 13 | BuildRequires: gettext-devel |
978ba544 | 14 | BuildRequires: intltool >= 0.35 |
6d1df8f2 | 15 | BuildRequires: pkgconfig |
093b5ca9 AM |
16 | BuildRequires: python-pygtk-devel |
17 | BuildRequires: python-vte | |
6d1df8f2 | 18 | BuildRequires: rpm-pythonprov |
c3954cc0 | 19 | BuildRequires: sed >= 4.0 |
093b5ca9 AM |
20 | Requires(post,postun): desktop-file-utils |
21 | Requires(post,postun): scrollkeeper | |
22 | Requires(post,preun): GConf2 | |
c18bff5f | 23 | Requires: dbus(org.freedesktop.Notifications) |
c2f6ca91 | 24 | Requires: python-gnome-gconf |
25 | Requires: python-pygtk-glade | |
26 | Requires: python-pynotify | |
093b5ca9 AM |
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 | ||
88ac8a7e KG |
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 | ||
093b5ca9 AM |
37 | %prep |
38 | %setup -q | |
88ac8a7e | 39 | %patch0 -p1 |
093b5ca9 AM |
40 | |
41 | %build | |
c3954cc0 | 42 | %configure \ |
cda73964 | 43 | --disable-schemas-install \ |
c3954cc0 | 44 | --disable-static |
cda73964 | 45 | |
093b5ca9 AM |
46 | %{__make} |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
cda73964 | 54 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/guake/*.la |
53661c67 | 55 | |
b1efbd06 ER |
56 | mv $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb} |
57 | ||
c3954cc0 | 58 | %find_lang %{name} |
093b5ca9 AM |
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 | ||
cda73964 JR |
73 | %posttrans |
74 | killall -HUP gconfd-2 > /dev/null || : | |
75 | ||
093b5ca9 AM |
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 | |
81670f6a | 85 | %{_datadir}/dbus-1/services/org.guake.Guake.service |
093b5ca9 | 86 | %{_sysconfdir}/gconf/schemas/guake.schemas |
81670f6a | 87 | %{_sysconfdir}/xdg/autostart/guake.desktop |
093b5ca9 | 88 | %{_mandir}/man1/guake.1* |