-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmsgchi.spec
More file actions
42 lines (35 loc) · 944 Bytes
/
msgchi.spec
File metadata and controls
42 lines (35 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Name: msgchi
Version: @VERSION@
Release: 1
Summary: Translating messages from template files to chinese
License: GPL, PD
Group: Development/Tools
URL: https://github.com/bluebat/msgchi
Source0: https://github.com/bluebat/msgchi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
Requires: python3, gettext
%description
msgchi is a Python3 script to help translators of chinese locales
by processing messages in .pot or other chinese .po files into
pre-translated chinese.
%prep
%setup -q
%build
make
%install
make DESTDIR=%{buildroot} install
%files
%license LICENSE
%doc README.md ChangeLog
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/locale/*/LC_MESSAGES/*
%{_mandir}/man1/*
%clean
rm -rf %{buildroot}
%changelog
* Sun Nov 17 2024 Wei-Lun Chao <bluebat@member.fsf.org> - @VERSION@
- Update to @VERSION@
* Wed Jun 07 2017 Wei-Lun Chao <bluebat@member.fsf.org> - 1.0
- First release