1 | # Basic Information |
---|
2 | Name: virtaal |
---|
3 | Version: 0.7.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GNU General Public License (GPL) |
---|
6 | Group: Applications/Development |
---|
7 | URL: http://translate.sourceforge.net/wiki/%{name}/index |
---|
8 | Source0: http://downloads.sourceforge.net/project/translate/Virtaal/%{version}/%{name}-%{version}.tar.bz2 |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildArch: noarch |
---|
11 | |
---|
12 | Vendor: Project Vine |
---|
13 | Distribution: Vine Linux |
---|
14 | Packager: yasumichi |
---|
15 | |
---|
16 | Summary: A tool to create program translations. |
---|
17 | Summary(ja): プログラムの翻訳を作成するツール |
---|
18 | |
---|
19 | # Dependency |
---|
20 | Requires: translate-toolkit |
---|
21 | Requires: pygtk2-libglade |
---|
22 | Requires: python-pycurl |
---|
23 | Requires: python-lxml |
---|
24 | BuildRequires: python-devel |
---|
25 | BuildRequires: translate-toolkit |
---|
26 | BuildRequires: pygtk2-libglade |
---|
27 | BuildRequires: python-pycurl |
---|
28 | BuildRequires: python-lxml |
---|
29 | |
---|
30 | %description |
---|
31 | It uses the Translate Toolkit to get access to translation files and therefore |
---|
32 | can edit a variety of files (including PO and XLIFF files). |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | Translate Toolkit を利用して PO や XLIFF などの様々な翻訳ファイルにアクセス |
---|
36 | し、編集できます。 |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | %build |
---|
42 | %{__python} setup.py build |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %{__python} setup.py install --root=${RPM_BUILD_ROOT} |
---|
47 | |
---|
48 | %{find_lang} %{name} |
---|
49 | |
---|
50 | %clean |
---|
51 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
52 | |
---|
53 | |
---|
54 | %files -f %{name}.lang |
---|
55 | %defattr(-,root,root) |
---|
56 | %doc ChangeLog LICENSE README |
---|
57 | %{_bindir}/%{name} |
---|
58 | %{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info |
---|
59 | %{python_sitelib}/%{name} |
---|
60 | %{_datadir}/applications/%{name}.desktop |
---|
61 | %{_datadir}/icons/hicolor/128x128/mimetypes/x-translation.png |
---|
62 | %{_datadir}/icons/hicolor/16x16/mimetypes/x-translation.png |
---|
63 | %{_datadir}/icons/hicolor/24x24/mimetypes/x-translation.png |
---|
64 | %{_datadir}/icons/hicolor/32x32/mimetypes/x-translation.png |
---|
65 | %{_datadir}/icons/hicolor/48x48/mimetypes/x-translation.png |
---|
66 | %{_datadir}/icons/hicolor/64x64/mimetypes/x-translation.png |
---|
67 | %{_datadir}/icons/hicolor/scalable/mimetypes/x-translation.svg |
---|
68 | %{_datadir}/icons/%{name}.ico |
---|
69 | %{_datadir}/icons/%{name}.png |
---|
70 | %{_datadir}/icons/x-translation.ico |
---|
71 | %{_datadir}/mime/packages/%{name}-mimetype.xml |
---|
72 | %{_datadir}/%{name} |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Fri Oct 26 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.1-1 |
---|
76 | - initial build for Vine Linux |
---|