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

Revision 7506, 2.9 KB checked in by kudoh, 11 years ago (diff)

--force-log

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