Mageia Bugzilla – Attachment 13214 Details for
Bug 30258
Update Poedit to 3.0.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
poedit.spec (text/x-matlab), 2.21 KB, created by
Kristoffer Grundström
on 2022-04-08 05:43:41 CEST
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2022-04-08 05:43:41 CEST
Size:
2.21 KB
patch
obsolete
>%bcond_without language_detection >%bcond_without crowdin_integration >%bcond_with bundled_deps >Name: poedit >Version: 3.0.1 >Release: %mkrel 1 >Summary: Gettext Catalog Editing Tool >License: MIT >Group: Development/Tools/Other >URL: https://poedit.net/ >Source: https://github.com/vslavik/poedit/releases/download/v%{version}-oss/%{name}-%{version}-oss.tar.gz >BuildRequires: fdupes >BuildRequires: gcc-c++ >BuildRequires: libboost_iostreams-devel >= 1.60 >BuildRequires: libboost_regex-devel >= 1.60 >BuildRequires: libboost_system-devel >= 1.60 >BuildRequires: libboost_thread-devel >= 1.60 >BuildRequires: pkgconfig >BuildRequires: wxGTK3-devel >= 3.1.4 >BuildRequires: pkgconfig(gtkspell3-3.0) >BuildRequires: pkgconfig(icu-i18n) >BuildRequires: pkgconfig(icu-uc) >BuildRequires: pkgconfig(liblucene++) >= 3.0.5 >Requires: gettext-tools >%if %{with language_detection} >BuildRequires: cld2-devel >%endif >%if %{with crowdin_integration} >BuildRequires: cpprest-devel >= 2.5.0 >BuildRequires: pkgconfig(libsecret-1) >BuildRequires: pkgconfig(openssl) >%endif >%if !%{with bundled_deps} >BuildRequires: nlohmann_json-devel >BuildRequires: pkgconfig(pugixml) >%endif > >%description >Poedit is an editor for gettext catalogs (.po files). It is built >with the wxWidgets toolkit, providing a graphical approach to >editing catalogs over launching vi and editing the file by hand. > >%lang_package > >%prep >%setup -q >%if !%{with bundled_deps} ># Remove bundled dependencies, use the ones provided by the distribution >rm -r deps >%endif > >%build >%configure \ > %{!?with_language_detection: --without-cld2} \ > %{!?with_crowdin_integration: --without-cpprest} > >%make_build > >%install >%make_install ># Don't package icon cache, it will be updated at package installation via file trigger >rm %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache >%fdupes -s %{buildroot}%{_datadir} >%find_lang %{name} > >%files >%license COPYING >%doc AUTHORS NEWS >%{_bindir}/%{name} >%{_datadir}/%{name} >%{_datadir}/applications/net.poedit.Poedit.desktop >%{_datadir}/applications/net.poedit.PoeditURI.desktop >%{_datadir}/metainfo/net.poedit.Poedit.appdata.xml >%{_datadir}/icons/hicolor/*/*/* >%{_mandir}/man?/* > >%files lang -f %{name}.lang >
%bcond_without language_detection %bcond_without crowdin_integration %bcond_with bundled_deps Name: poedit Version: 3.0.1 Release: %mkrel 1 Summary: Gettext Catalog Editing Tool License: MIT Group: Development/Tools/Other URL: https://poedit.net/ Source: https://github.com/vslavik/poedit/releases/download/v%{version}-oss/%{name}-%{version}-oss.tar.gz BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libboost_iostreams-devel >= 1.60 BuildRequires: libboost_regex-devel >= 1.60 BuildRequires: libboost_system-devel >= 1.60 BuildRequires: libboost_thread-devel >= 1.60 BuildRequires: pkgconfig BuildRequires: wxGTK3-devel >= 3.1.4 BuildRequires: pkgconfig(gtkspell3-3.0) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(liblucene++) >= 3.0.5 Requires: gettext-tools %if %{with language_detection} BuildRequires: cld2-devel %endif %if %{with crowdin_integration} BuildRequires: cpprest-devel >= 2.5.0 BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(openssl) %endif %if !%{with bundled_deps} BuildRequires: nlohmann_json-devel BuildRequires: pkgconfig(pugixml) %endif %description Poedit is an editor for gettext catalogs (.po files). It is built with the wxWidgets toolkit, providing a graphical approach to editing catalogs over launching vi and editing the file by hand. %lang_package %prep %setup -q %if !%{with bundled_deps} # Remove bundled dependencies, use the ones provided by the distribution rm -r deps %endif %build %configure \ %{!?with_language_detection: --without-cld2} \ %{!?with_crowdin_integration: --without-cpprest} %make_build %install %make_install # Don't package icon cache, it will be updated at package installation via file trigger rm %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache %fdupes -s %{buildroot}%{_datadir} %find_lang %{name} %files %license COPYING %doc AUTHORS NEWS %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/net.poedit.Poedit.desktop %{_datadir}/applications/net.poedit.PoeditURI.desktop %{_datadir}/metainfo/net.poedit.Poedit.appdata.xml %{_datadir}/icons/hicolor/*/*/* %{_mandir}/man?/* %files lang -f %{name}.lang
View Attachment As Raw
Actions:
View
Attachments on
bug 30258
: 13214