Compare commits

...

6 Commits
rawhide ... f27

Author SHA1 Message Date
Wolfgang Stöggl 85aed79632 New upstream version 2.0.9 2018-07-12 14:28:38 +02:00
Wolfgang Stöggl 2a66103764 New upstream version 2.0.8 2018-06-10 14:09:24 +02:00
Wolfgang Stöggl df0fc351b3 New upstream version 2.0.7 2018-04-23 16:26:20 +02:00
Wolfgang Stöggl a41c81ebe5 New upstream version 2.0.6 2018-02-19 14:45:04 +01:00
Mario Blättermann a430843393 Add ExcludeArch: ppc64 s390x (no cld2 there) again 2017-08-28 21:27:48 +02:00
Mario Blättermann fd1629cac1 Use cld2-devel and some spec file cleanup 2017-08-28 20:59:31 +02:00
4 changed files with 59 additions and 36 deletions

4
.gitignore vendored
View File

@ -20,3 +20,7 @@ poedit-1.4.6.1.tar.gz
/poedit-2.0.1.tar.gz
/poedit-2.0.2.tar.gz
/poedit-2.0.3.tar.gz
/poedit-2.0.6.tar.gz
/poedit-2.0.7.tar.gz
/poedit-2.0.8.tar.gz
/poedit-2.0.9.tar.gz

View File

@ -0,0 +1,11 @@
--- a/configure 2018-06-03 18:41:18.000000000 +0200
+++ b/configure_powerpc64_powerpc64le 2018-06-08 18:04:13.528220986 +0200
@@ -6274,7 +6274,7 @@
case ${host_cpu} in #(
x86_64) :
libsubdirs="lib64 libx32 lib lib64" ;; #(
- ppc64|s390x|sparc64|aarch64|ppc64le) :
+ ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le) :
libsubdirs="lib64 lib lib64" ;; #(
*) :
libsubdirs="lib"

View File

@ -1,28 +1,33 @@
Name: poedit
Version: 2.0.3
Release: 2%{?dist}
Version: 2.0.9
Release: 1%{?dist}
Summary: GUI editor for GNU gettext .po files
Summary(de): Grafischer Editor für GNU Gettext-Dateien
Group: Development/Tools
License: MIT
URL: http://www.poedit.net/
URL: https://poedit.net/
Source0: https://github.com/vslavik/%{name}/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
Source1: http://pkgs.fedoraproject.org/cgit/rpms/%{name}.git/plain/%{name}.1.de.po
# Fix builds for ppc64 and ppc64le
# Add powerpc64 and powerpc64le to checked AC_CANONICAL_HOST, host_cpu values
Patch0: poedit-2.0.8-configure_ppc64_ppc64le.patch
BuildRequires: wxGTK3-devel >= 3.0.3
BuildRequires: gtkspell3-devel
BuildRequires: libappstream-glib
BuildRequires: lucene++-devel
BuildRequires: gcc-c++
BuildRequires: boost-devel
BuildRequires: desktop-file-utils
BuildRequires: po4a
BuildRequires: libsecret-devel
BuildRequires: openssl-devel
BuildRequires: cpprest-devel
# Not yet available officially, copr c72578/cld2
# BuildRequires: cld2-devel
# cld2 is not available for ppc64 s390x
%ifnarch ppc64 s390x
BuildRequires: cld2-devel
%endif
# Use json.hpp from Fedora and not the version bundled with Poedit
BuildRequires: json-devel
@ -40,7 +45,7 @@ Dienstprogramme aus GNU Gettext bereit, sowie einen Katalogeditor und einen
Quellcode-Parser. Es hilft beim Übersetzen von Anwendungen in andere Sprachen.
%prep
%autosetup
%autosetup -p1
# Make sure docs are utf-8
for FILE in `find docs/en -name '*.hhp'`; do
iconv -f iso-8859-15 -t utf-8 $FILE > $FILE.tmp && \
@ -50,9 +55,12 @@ done
%build
# Use cld2 once the package comes up
# %%configure --with-wx-config=/usr/bin/wx-config-3.0 --with-cpprest --with-cld2
%ifarch ppc64 s390x
# cld2 is not available for ppc64 s390x
%configure --with-wx-config=/usr/bin/wx-config-3.0 --with-cpprest
%else
%configure --with-wx-config=/usr/bin/wx-config-3.0 --with-cpprest --with-cld2
%endif
make %{?_smp_mflags} V=1
@ -88,24 +96,6 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.ap
%{find_lang} poedit --with-man
%post
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
update-desktop-database &> /dev/null ||:
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f poedit.lang
%doc NEWS README AUTHORS docs/*.txt
%license COPYING
@ -119,19 +109,37 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 12 2018 Wolfgang Stöggl <c72578@yahoo.de> - 2.0.9-1
- New upstream version
- Update URL
* Sun Jun 10 2018 Wolfgang Stöggl <c72578@yahoo.de> - 2.0.8-1
- New upstream version
- Add poedit-2.0.8-configure_ppc64_ppc64le.patch
Fixes build errors on ppc64 and ppc64le (boost library not found)
* Mon Apr 23 2018 Wolfgang Stöggl <c72578@yahoo.de> - 2.0.7-1
- New upstream version
* Mon Feb 12 2018 Wolfgang Stöggl <c72578@yahoo.de> - 2.0.6-1
- New upstream version
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.4-3
- Remove obsolete scriptlets
* Fri Oct 13 2017 Wolfgang Stöggl <c72578@yahoo.de> - 2.0.4-1
- New upstream version
- Configure without cld2 for ppc64 s390x (instead of ExcludeArch)
* Mon Aug 28 2017 Mario Blättermann <mario.blaettermann@gmail.com> - 2.0.3-3
- Add ExcludeArch: ppc64 s390x (no cld2 there)
- Use cld2-devel for language detection
- Add BuildRequires: gcc-c++
* Wed Jul 26 2017 Mario Blättermann <mario.blaettermann@gmail.com> - 2.0.3-1
- New upstream version
- Use cpprest-devel for Crowdin support
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 2.0.2-7
- Rebuilt for s390x binutils bug
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 2.0.2-6
- Rebuilt for Boost 1.64
* Sat Jun 03 2017 Mario Blättermann <mario.blaettermann@gmail.com> - 2.0.2-5
- Thanks to Wolfgang Stöggl <c72578@yahoo.de> for the following changes:
- Add upstream fix to enable opening of .po files again in Poedit 2.0.2

View File

@ -1 +1 @@
SHA512 (poedit-2.0.3.tar.gz) = 513f3b312dfbe3fdeb6970d5fcae9004fd6655fa097364e9aa38f95f939ccb72fedea13fbcdcd1f522470fc7504fb1c452e03b207890af251e75e4a417e45830
SHA512 (poedit-2.0.9.tar.gz) = 9981339ae0c3f11f972ed2f25e0c96e5c0cc0210771cc44d163e219c32eb951fa4180c8a03acdd7f0232a5e4b535f3202dda703b57ccfb02773eb24e6a1eb02d