]> git.pld-linux.org Git - packages/poedit.git/blob - poedit.spec
- up to 3.3.2
[packages/poedit.git] / poedit.spec
1 Summary:        Gettext catalogs editor
2 Summary(pl.UTF-8):      Edytor katalogów gettexta
3 Name:           poedit
4 Version:        3.3.2
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications/Editors
8 Source0:        https://github.com/vslavik/poedit/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
9 # Source0-md5:  83b18a3e983c9444b31f1132a5039819
10 URL:            https://poedit.net/
11 BuildRequires:  autoconf >= 2.59
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  boost-devel
14 BuildRequires:  gtk+3-devel
15 BuildRequires:  gtkspell3-devel
16 BuildRequires:  lucene++-devel >= 3.0.5
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpmbuild(macros) >= 1.311
19 BuildRequires:  wxGTK3-unicode-devel >= 3.0.3
20 BuildRequires:  wxWidgets-utils
21 Requires(post,postun):  desktop-file-utils
22 Requires(post,postun):  gtk-update-icon-cache
23 Requires(post,postun):  hicolor-icon-theme
24 Requires:       gettext
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 poEdit is cross-platform gettext catalogs (.po files) editor. It is
29 built with wxWindows toolkit and can run on Unix or Windows. It aims
30 to provide convenient way of editing gettext catalogs. It features
31 UTF-8 support, fuzzy and untranslated records highlighting,
32 whitespaces highlighting, references browser, headers editing and can
33 be used to create new catalogs or update existing catalogs from source
34 code by single click.
35
36 %description -l pl.UTF-8
37 poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
38 .po). Używa toolkitu wxWindows, więc może działać pod Uniksem oraz pod
39 Windows. Możliwości programu to: obsługa UTF-8, podświetlanie rekordów
40 nie przetłumaczonych i niepewnych ("fuzzy"), podświetlanie odstępów,
41 przeglądarka odwołań, edycja nagłówków, tworzenie nowych katalogów
42 oraz uaktualnianie istniejących z plików źródłowych przez jedno
43 kliknięcie.
44
45 %prep
46 %setup -q
47
48 %build
49 %configure \
50         --with-wx-config=wx-gtk3-unicode-config \
51         --%{?debug:en}%{!?debug:dis}able-debug
52
53 %{__make} V=1
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install V=1 \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 # fix/update locale names
62 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/co
63 %{__mv} $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_desktop_database_post
72 %update_icon_cache hicolor
73
74 %postun
75 %update_desktop_database_postun
76 %update_icon_cache hicolor
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS COPYING NEWS README.md
81 %attr(755,root,root) %{_bindir}/poedit
82 %{_datadir}/poedit
83 %{_desktopdir}/net.poedit.Poedit.desktop
84 %{_desktopdir}/net.poedit.PoeditURI.desktop
85 %{_metainfodir}/net.poedit.Poedit.appdata.xml
86 %{_iconsdir}/hicolor/*/*/net.poedit.Poedit.png
87 %{_iconsdir}/hicolor/*/*/net.poedit.Poedit.svg
88 %{_mandir}/man1/poedit.1*
This page took 0.169046 seconds and 4 git commands to generate.