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

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

new upstream release and rebuilt

RevLine 
[7506]1#%define        add_japo        1
[3240]2
[1378]3Summary:        gnome panel applet to select and tile windows
4Summary(ja):    ウィンドウを整列させる Gnome パネルアプレット
5Name:           x-tile
[7506]6Version:        2.5
[8805]7Release:        2%{?_dist_release}
[7506]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
[1378]13License:        GPLv2
14Group:          User Interface/Desktops
15URL:            http://www.giuspen.com/x-tile/
16
[8805]17BuildRequires:  pygtk2
[7506]18#Requires:      python, pygtk2, gnome-python-applet
19Requires:       python, pygtk2
[1378]20Requires(post):  desktop-file-utils
21Requires(postun):desktop-file-utils
22
23BuildArch:      noarch
24BuildRoot:      %{_tmppath}/%{name}-%{version}-root
25
[1423]26Packager:       kazutaka, iwaim
[1378]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
[7506]49%setup -q -n %{name}-%{version}
[3240]50%patch0 -p1
[1378]51
52%build
[1398]53# install japanese translation
[7506]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
[1378]59
[7506]60%{__python} setup.py build
61
[1378]62%install
63%{__rm} -rf $RPM_BUILD_ROOT
[7506]64%{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
[1378]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}
[7506]83%{python_sitelib}/X_Tile-%{version}-py2.7.egg-info
[1378]84%{_datadir}/applications/%{name}.desktop
[7506]85%{_datadir}/icons/hicolor/*
86%{_datadir}/%{name}/
87%{_mandir}/man1/%{name}.1.gz
[1378]88
89
90%changelog
[8805]91* Sun Jul 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5-2
92- added BuildRequires: pygtk2
93
[7506]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
[3240]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
[1423]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
[1398]108* Mon Jul 19 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6-2
109- add Source1: japanese translation (thanks iwai-san)
110
[1378]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.