-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
poedit.spec
60 lines (50 loc) · 1.66 KB
/
poedit.spec
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%global wxver 3.2
Summary: Gettext translation file editor
Name: poedit
Version: 3.4.4
Release: 2
License: MIT
Group: Editors
URL: https://www.poedit.net
Source0: https://github.com/vslavik/poedit/releases/download/v%{version}-oss/poedit-%{version}.tar.gz
BuildRequires: gettext
BuildRequires: boost-devel
BuildRequires: cld2-devel
BuildRequires: db-devel
BuildRequires: %{_lib}wxu%{wxver}-devel
BuildRequires: pkgconfig(cpprest)
BuildRequires: pkgconfig(gtkspell3-3.0)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(liblucene++)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(pugixml)
BuildRequires: wxgtk-devel
BuildRequires: zip
%description
Poedit is cross-platform gettext catalogs (.po files) editor. It is built with
wxWindows toolkit and can run on Unix or Windows. It aims to provide convenient
way of editing gettext catalogs. It features UTF-8 support, fuzzy and
untranslated records highlighting, whitespaces highlighting, references
browser, headers editing and can be used to create new catalogs or update
existing catalogs from source code by single click.
%files -f %{name}.lang
%license COPYING
%doc NEWS README.md AUTHORS
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/*%{name}*.desktop
%{_iconsdir}/hicolor/*/apps/*%{name}*.png
%{_iconsdir}/hicolor/*/apps/*Poedit*.svg
%{_metainfodir}/net.%{name}.Poedit.appdata.xml
%{_mandir}/man1/%{name}.1.*
#----------------------------------------------------------------------------
%prep
%autosetup -p1
%build
export WXRC=/usr/bin/wxrc-%{wxver}
%configure --with-wx-config=%{_libdir}/wx/config/gtk3-unicode-%{wxver}
%make_build
%install
%make_install
# locales
%find_lang %{name}