From fe880e15459d6b03ea90d4a4e32324c9cb9990f37d97a83c7959351291facfc8 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sat, 11 Nov 2017 07:22:05 +0000 Subject: [PATCH] Accepting request 540020 from home:avindra - update to version 1.19 + fix possible memory leak + make utf-8 detection work even on one character - includes changes from 1.18 + fix installation of devhelp documentation - includes changes from 1.17 + Fixed conversion of GB2312 encoding with iconv + Fixed iconv conversion on OSX + Fixed execution of external converters with ACLs + Documentation improvements - cleanup with spec-cleaner - use %make_install macro - list binaries and man pages explicitly OBS-URL: https://build.opensuse.org/request/show/540020 OBS-URL: https://build.opensuse.org/package/show/Education/enca?expand=0&rev=34 --- enca-1.16.tar.xz | 3 --- enca-1.19.tar.xz | 3 +++ enca.changes | 17 +++++++++++++++++ enca.spec | 19 +++++++------------ 4 files changed, 27 insertions(+), 15 deletions(-) delete mode 100644 enca-1.16.tar.xz create mode 100644 enca-1.19.tar.xz diff --git a/enca-1.16.tar.xz b/enca-1.16.tar.xz deleted file mode 100644 index c07960f..0000000 --- a/enca-1.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c1d785901b19ab78780cd4c87454e69864d45dc99da5164a2c654d5e87be741 -size 460844 diff --git a/enca-1.19.tar.xz b/enca-1.19.tar.xz new file mode 100644 index 0000000..f7a5aad --- /dev/null +++ b/enca-1.19.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8 +size 465412 diff --git a/enca.changes b/enca.changes index 5f5cd2c..3c974ac 100644 --- a/enca.changes +++ b/enca.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Nov 8 19:43:45 UTC 2017 - aavindraa@gmail.com + +- update to version 1.19 + + fix possible memory leak + + make utf-8 detection work even on one character +- includes changes from 1.18 + + fix installation of devhelp documentation +- includes changes from 1.17 + + Fixed conversion of GB2312 encoding with iconv + + Fixed iconv conversion on OSX + + Fixed execution of external converters with ACLs + + Documentation improvements +- cleanup with spec-cleaner +- use %make_install macro +- list binaries and man pages explicitly + ------------------------------------------------------------------- Sun Nov 8 21:32:53 UTC 2015 - p.drouand@gmail.com diff --git a/enca.spec b/enca.spec index f19183e..c49c699 100644 --- a/enca.spec +++ b/enca.spec @@ -1,7 +1,7 @@ # # spec file for package enca # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%define gtk_doc %{_datadir}/gtk-doc Name: enca -Version: 1.16 +Version: 1.19 Release: 0 Summary: Detects encoding of text files License: GPL-2.0 @@ -28,7 +27,6 @@ Source: http://dl.cihar.com/%{name}/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: pkgconfig Requires: sed -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Enca is an Extremely Naive Charset Analyser. It detects character set and @@ -80,28 +78,25 @@ library. make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} HTML_DIR=%{gtk_doc}/html +%make_install # the .la file is not needed without static libs rm %{buildroot}/%{_libdir}/libenca.la %post -n libenca0 -p /sbin/ldconfig - %postun -n libenca0 -p /sbin/ldconfig %files -%defattr(-,root,root) %doc AUTHORS COPYING ChangeLog* FAQ README THANKS TODO -%{_bindir}/enc* +%{_bindir}/enca +%{_bindir}/enconv %{_libexecdir}/enca -%{_mandir}/man1/enc*.1* +%{_mandir}/man1/enca.1%{ext_man} +%{_mandir}/man1/enconv.1%{ext_man} %files -n libenca0 -%defattr(-,root,root) %{_libdir}/libenca.so.0* %files devel -%defattr(-,root,root) -%doc README.devel %{_datadir}/gtk-doc/html/* # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc