1 | %define name poedit |
---|
2 | %define version 1.4.6.1 |
---|
3 | %define release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Gettext catalogs editor |
---|
6 | Summary(ja): Gettext カタログの翻訳用エディタ |
---|
7 | Name: %{name} |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | Source0: %{name}-%{version}.tar.gz |
---|
11 | License: MIT |
---|
12 | Group: Applications/Development |
---|
13 | URL: http://www.poedit.net/ |
---|
14 | |
---|
15 | BuildRequires: wx-gtk2-devel >= 2.6.0 |
---|
16 | BuildRequires: gtkspell-devel >= 2.0, db4-devel |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | |
---|
20 | %description |
---|
21 | Poedit is cross-platform gettext catalogs (.po files) editor. |
---|
22 | It is built with wxWidgets toolkit and can run on any platform |
---|
23 | supported by it (although it was only tested on Unix with GTK+ |
---|
24 | and Windows). |
---|
25 | It aims to provide more convenient approach to editing catalogs |
---|
26 | than launching vi and editing the file by hand. |
---|
27 | |
---|
28 | %description -l ja |
---|
29 | Poedit はクロス・プラットフォームな gettext カタログ (.po ファイル) |
---|
30 | 用のエディタです。Toolkit に wxWidgets を使っており、この Toolkit |
---|
31 | がサポートする環境であればどんなプラットフォームでも動作します。 |
---|
32 | (実際には GTK+ を使った Unix と Windows でしかテストされていませんが) |
---|
33 | このプログラムは、vi を使ってファイルを編集するよりも、もっと簡単に |
---|
34 | カタログを編集する方法を提供することを目指しています。 |
---|
35 | |
---|
36 | |
---|
37 | %prep |
---|
38 | |
---|
39 | %setup -q |
---|
40 | |
---|
41 | |
---|
42 | %build |
---|
43 | %configure |
---|
44 | %{__make} |
---|
45 | |
---|
46 | |
---|
47 | %install |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
49 | %makeinstall |
---|
50 | %find_lang %{name} |
---|
51 | |
---|
52 | |
---|
53 | %clean |
---|
54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | |
---|
57 | %files -f %{name}.lang |
---|
58 | %defattr(-,root,root) |
---|
59 | %doc AUTHORS COPYING NEWS README TODO |
---|
60 | %{_bindir}/poedit |
---|
61 | %{_datadir}/applications/poedit.desktop |
---|
62 | %{_datadir}/icons/hicolor/16x16/apps/poedit.png |
---|
63 | %{_datadir}/icons/hicolor/32x32/apps/poedit.png |
---|
64 | %{_datadir}/icons/hicolor/48x48/apps/poedit.png |
---|
65 | %{_datadir}/icons/hicolor/scalable/apps/poedit.svg |
---|
66 | %{_datadir}/pixmaps/poedit.png |
---|
67 | %{_datadir}/poedit/help |
---|
68 | %{_datadir}/poedit/icons |
---|
69 | %{_mandir}/man1/poedit.1.gz |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Sat Jun 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.6.1-1 |
---|
73 | - new upstream release |
---|
74 | |
---|
75 | * Wed Apr 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4.2-1 |
---|
76 | - new upstream release |
---|
77 | |
---|
78 | * Sun Aug 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.9-1 |
---|
79 | - spec in UTF-8; new versioning policy |
---|
80 | |
---|
81 | * Tue Jan 1 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.9-0vl1 |
---|
82 | - rebuild for VineSeed. |
---|
83 | * Tue Jan 1 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.9-0vl0 |
---|
84 | - initial build for Vine Linux. |
---|
85 | |
---|
86 | * Tue Jan 1 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.9-0vl0 |
---|
87 | - initial build for Vine Linux. |
---|