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