1 | Summary: Drop-down terminal for GNOME Desktop Environment |
---|
2 | Summary(ja): GNOME 用のドロップダウン式の端末エミュレータ |
---|
3 | Name: guake |
---|
4 | Version: 0.4.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: %{name}-%{version}.tar.gz |
---|
7 | #Source1: guake-0.4.1-ja.po |
---|
8 | License: GPLv2+ |
---|
9 | Group: Applications/Accessories |
---|
10 | URL: http://guake.org/ |
---|
11 | |
---|
12 | Requires(pre): GConf2 |
---|
13 | Requires(post): GConf2 |
---|
14 | Requires(preun):GConf2 |
---|
15 | BuildRequires: python, python-devel |
---|
16 | BuildRequires: gtk2-devel, pygtk2-devel |
---|
17 | BuildRequires: vte, GConf2-devel, libffi-devel |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | Packager: kazutaka |
---|
21 | |
---|
22 | %description |
---|
23 | Guake is a dropdown terminal made for the GNOME desktop environment. |
---|
24 | Its style of window is based on an fps games, and one of its goals |
---|
25 | is be easy to reach. |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | Guake は GNOME デスクトップ環境向けに開発されたドロップダウン |
---|
29 | 形の端末です。 |
---|
30 | FPS ゲーム用端末と同じスタイルを採用しており、素早く利用できる、 |
---|
31 | というのがこのプログラムのゴールの一つです。 |
---|
32 | |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | #%{__cp} %{SOURCE1} po/ja.po |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --disable-static \ |
---|
40 | --disable-schemas-install |
---|
41 | %{__make} %{?_smp_mflags} |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
46 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
47 | %find_lang %{name} |
---|
48 | |
---|
49 | %pre |
---|
50 | # uninstall old schemas before update |
---|
51 | if [ "$1" -gt 1 ]; then |
---|
52 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
53 | gconftool-2 --makefile-uninstall-rule \ |
---|
54 | %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||: |
---|
55 | fi |
---|
56 | |
---|
57 | %post |
---|
58 | update-desktop-database &>/dev/null || : |
---|
59 | # install schemas after install/update |
---|
60 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
61 | gconftool-2 --makefile-install-rule \ |
---|
62 | %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||: |
---|
63 | |
---|
64 | %preun |
---|
65 | # uninstall schemas before clean remove |
---|
66 | if [ "$1" -eq 0 ]; then |
---|
67 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
68 | gconftool-2 --makefile-uninstall-rule \ |
---|
69 | %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null; |
---|
70 | fi |
---|
71 | |
---|
72 | %postun |
---|
73 | update-desktop-database &>/dev/null || : |
---|
74 | |
---|
75 | |
---|
76 | %clean |
---|
77 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
78 | |
---|
79 | |
---|
80 | %files -f %{name}.lang |
---|
81 | %defattr(-,root,root) |
---|
82 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO |
---|
83 | %{_bindir}/%{name} |
---|
84 | %{_bindir}/%{name}-prefs |
---|
85 | %{_datadir}/%{name} |
---|
86 | %{_datadir}/applications/%{name}-prefs.desktop |
---|
87 | %{_datadir}/applications/%{name}.desktop |
---|
88 | %{_datadir}/dbus-1/services/org.guake.Guake.service |
---|
89 | %{_datadir}/pixmaps/%{name} |
---|
90 | %{_libdir}/%{name} |
---|
91 | %{_mandir}/man1/guake.1* |
---|
92 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
---|
93 | %{_sysconfdir}/xdg/autostart/%{name}.desktop |
---|
94 | |
---|
95 | |
---|
96 | %changelog |
---|
97 | * Sun Oct 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.4.2-1 |
---|
98 | - new upstream release |
---|
99 | |
---|
100 | * Sat Jul 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.4.1-1 |
---|
101 | - initial build for Vine Linux |
---|
102 | - add Source1: updated japanese translation (ja.po) |
---|