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
This commit is contained in:
parent
99cf2297cb
commit
fe880e1545
@ -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
BIN
enca-1.19.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
enca.changes
17
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
|
Sun Nov 8 21:32:53 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
19
enca.spec
19
enca.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package enca
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define gtk_doc %{_datadir}/gtk-doc
|
|
||||||
Name: enca
|
Name: enca
|
||||||
Version: 1.16
|
Version: 1.19
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Detects encoding of text files
|
Summary: Detects encoding of text files
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
@ -28,7 +27,6 @@ Source: http://dl.cihar.com/%{name}/%{name}-%{version}.tar.xz
|
|||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
Requires: sed
|
Requires: sed
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Enca is an Extremely Naive Charset Analyser. It detects character set and
|
Enca is an Extremely Naive Charset Analyser. It detects character set and
|
||||||
@ -80,28 +78,25 @@ library.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} HTML_DIR=%{gtk_doc}/html
|
%make_install
|
||||||
# the .la file is not needed without static libs
|
# the .la file is not needed without static libs
|
||||||
rm %{buildroot}/%{_libdir}/libenca.la
|
rm %{buildroot}/%{_libdir}/libenca.la
|
||||||
|
|
||||||
%post -n libenca0 -p /sbin/ldconfig
|
%post -n libenca0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libenca0 -p /sbin/ldconfig
|
%postun -n libenca0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING ChangeLog* FAQ README THANKS TODO
|
%doc AUTHORS COPYING ChangeLog* FAQ README THANKS TODO
|
||||||
%{_bindir}/enc*
|
%{_bindir}/enca
|
||||||
|
%{_bindir}/enconv
|
||||||
%{_libexecdir}/enca
|
%{_libexecdir}/enca
|
||||||
%{_mandir}/man1/enc*.1*
|
%{_mandir}/man1/enca.1%{ext_man}
|
||||||
|
%{_mandir}/man1/enconv.1%{ext_man}
|
||||||
|
|
||||||
%files -n libenca0
|
%files -n libenca0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libenca.so.0*
|
%{_libdir}/libenca.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README.devel
|
|
||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/*
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
# Own these repositories to not depend on gtk-doc while building:
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user