1 | Summary: gnome panel applet to select and tile windows |
---|
2 | Summary(ja): ウィンドウを整列させる Gnome パネルアプレット |
---|
3 | Name: x-tile |
---|
4 | Version: 1.6.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.gz |
---|
7 | #Source1: x-tile-1.6-ja.po |
---|
8 | License: GPLv2 |
---|
9 | Group: User Interface/Desktops |
---|
10 | URL: http://www.giuspen.com/x-tile/ |
---|
11 | |
---|
12 | Requires: python, pygtk2, gnome-python-applet |
---|
13 | Requires(post): desktop-file-utils |
---|
14 | Requires(postun):desktop-file-utils |
---|
15 | |
---|
16 | BuildArch: noarch |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | Packager: kazutaka, iwaim |
---|
20 | |
---|
21 | %description |
---|
22 | X-tile is a gnome applet for your panel (or optionally a standalone |
---|
23 | application, working with kde as well) that allows you to select |
---|
24 | a number of windows and tile them in different ways. |
---|
25 | |
---|
26 | This is especially useful for comparing products in separate |
---|
27 | web pages, or for programmers refering to documentation as they |
---|
28 | are programming. |
---|
29 | |
---|
30 | %description -l ja |
---|
31 | X-tile は指定したウィンドウを様々なレイアウトで整列させられる |
---|
32 | Gnome パネルアプレットです。 |
---|
33 | (*また単独のアプリケーションとしても使用できますし、KDE 上で |
---|
34 | も問題なく動作します。) |
---|
35 | |
---|
36 | このアプレットは、(例えば)複数のウェブページを比較したり、ド |
---|
37 | キュメントを参照しながらプログラミングをしたり、といった場面 |
---|
38 | で役に立ちます。 |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | %build |
---|
45 | # install japanese translation |
---|
46 | #%{__mkdir_p} locale/ja/LC_MESSAGES |
---|
47 | #msgfmt %{SOURCE1} -o locale/ja/LC_MESSAGES/%{name}.mo |
---|
48 | |
---|
49 | %install |
---|
50 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | %{__mkdir_p} %{buildroot}/%{_bindir} |
---|
53 | %{__cp} %{name} %{buildroot}/%{_bindir}/ |
---|
54 | |
---|
55 | %{__mkdir_p} %{buildroot}/%{_prefix}/lib/bonobo/servers |
---|
56 | %{__cp} linux/%{name}.server %{buildroot}/%{_prefix}/lib/bonobo/servers |
---|
57 | %{__mkdir_p} %{buildroot}/%{_datadir}/applications |
---|
58 | %{__cp} linux/%{name}.desktop %{buildroot}/%{_datadir}/applications/ |
---|
59 | %{__mkdir_p} %{buildroot}/%{_datadir}/pixmaps |
---|
60 | %{__cp} linux/%{name}.svg %{buildroot}/%{_datadir}/pixmaps/ |
---|
61 | %{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/glade |
---|
62 | %{__cp} glade/* %{buildroot}/%{_datadir}/%{name}/glade |
---|
63 | %{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/modules |
---|
64 | %{__cp} modules/* %{buildroot}/%{_datadir}/%{name}/modules |
---|
65 | |
---|
66 | %{__mkdir_p} %{buildroot}/%{_localedir} |
---|
67 | for dirname in locale/* |
---|
68 | do |
---|
69 | if [ -d $dirname ]; then |
---|
70 | %{__cp} -r $dirname %{buildroot}/%{_localedir} |
---|
71 | fi |
---|
72 | done |
---|
73 | |
---|
74 | %find_lang %{name} |
---|
75 | |
---|
76 | %post |
---|
77 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
78 | |
---|
79 | %postun |
---|
80 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
81 | |
---|
82 | |
---|
83 | %clean |
---|
84 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | |
---|
87 | %files -f %{name}.lang |
---|
88 | %defattr(-,root,root) |
---|
89 | %doc license |
---|
90 | %{_bindir}/%{name} |
---|
91 | %{_prefix}/lib/bonobo/servers/%{name}.server |
---|
92 | %{_datadir}/applications/%{name}.desktop |
---|
93 | %{_datadir}/pixmaps/%{name}.svg |
---|
94 | %{_datadir}/%{name} |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Fri Jul 23 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6.1-1 |
---|
99 | - new upstream release |
---|
100 | - drop Source1(ja.po), merged into upstream |
---|
101 | |
---|
102 | * Mon Jul 19 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6-2 |
---|
103 | - add Source1: japanese translation (thanks iwai-san) |
---|
104 | |
---|
105 | * Fri Jul 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6-1 |
---|
106 | - initial build for Vine Linux |
---|