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

Revision 8805, 3.0 KB checked in by kudoh, 8 years ago (diff)

new upstream release and rebuilt

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