Accepting request 540706 from Education

OBS-URL: https://build.opensuse.org/request/show/540706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enca?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2017-11-14 13:21:51 +00:00 committed by Git OBS Bridge
commit 21a1485769
4 changed files with 27 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c1d785901b19ab78780cd4c87454e69864d45dc99da5164a2c654d5e87be741
size 460844

BIN
enca-1.19.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -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

View File

@ -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