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