source: projects/specs/trunk/x/x-tile/x-tile-vl.spec @ 1423

Revision 1423, 3.1 KB checked in by kazutaka, 14 years ago (diff)

update to 1.6.1

Line 
1Summary:        gnome panel applet to select and tile windows
2Summary(ja):    ウィンドウを整列させる Gnome パネルアプレット
3Name:           x-tile
4Version:        1.6.1
5Release:        1%{?_dist_release}
6Source0:        http://www.giuspen.com/software/%{name}-%{version}.tar.gz
7#Source1:       x-tile-1.6-ja.po
8License:        GPLv2
9Group:          User Interface/Desktops
10URL:            http://www.giuspen.com/x-tile/
11
12Requires:       python, pygtk2, gnome-python-applet
13Requires(post):  desktop-file-utils
14Requires(postun):desktop-file-utils
15
16BuildArch:      noarch
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19Packager:       kazutaka, iwaim
20
21%description
22X-tile is a gnome applet for your panel (or optionally a standalone
23application, working with kde as well) that allows you to select
24a number of windows and tile them in different ways.
25
26This is especially useful for comparing products in separate
27web pages, or for programmers refering to documentation as they
28are programming.
29
30%description -l ja
31X-tile は指定したウィンドウを様々なレイアウトで整列させられる
32Gnome パネルアプレットです。
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}
67for dirname in locale/*
68do
69   if [ -d $dirname ]; then
70      %{__cp} -r $dirname %{buildroot}/%{_localedir}
71   fi
72done
73
74%find_lang %{name}
75
76%post
77update-desktop-database %{_datadir}/applications >& /dev/null ||:
78
79%postun
80update-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
Note: See TracBrowser for help on using the repository browser.