Accepting request 39534 from Education

Copy from Education/enca based on submit request 39534 from user Nijel

OBS-URL: https://build.opensuse.org/request/show/39534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enca?expand=0&rev=4
This commit is contained in:
OBS User autobuild 2010-05-07 14:00:42 +00:00 committed by Git OBS Bridge
parent 8a1f6fec31
commit 7a6c4c5def
4 changed files with 52 additions and 34 deletions

3
enca-1.13.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c091455d524b3ddae3533fe9bb375092f60ad6fe252e0777c873bd7869c7432
size 532000

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02acfef2b24a9c842612da49338138311f909f1cd33933520c07b8b26c410f4d
size 503547

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Wed May 5 08:12:33 UTC 2010 - mcihar@suse.cz
- change buildrequire to pkgconfig to build also on other distros
-------------------------------------------------------------------
Wed May 5 08:08:20 UTC 2010 - mcihar@suse.cz
- update to 1.13
-------------------------------------------------------------------
Sat Apr 24 09:18:42 UTC 2010 - coolo@novell.com
- buildreqire pkg-config to fix provides
-------------------------------------------------------------------
Thu Oct 29 14:49:10 CET 2009 - mcihar@suse.cz
- update to version 1.12
-------------------------------------------------------------------
Fri Sep 25 15:55:07 CEST 2009 - mcihar@suse.cz
- update to version 1.11
-------------------------------------------------------------------
Tue Aug 25 13:35:01 CEST 2009 - mcihar@suse.cz
- build without recode support
-------------------------------------------------------------------
Tue Aug 25 13:32:24 CEST 2009 - mcihar@suse.cz
- update to new upstream and version 1.10
-------------------------------------------------------------------
Tue Aug 11 19:14:16 CEST 2009 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package enca (Version 1.9)
# spec file for package enca (Version 1.13)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,12 +20,11 @@
Name: enca
Summary: Detects encoding of text files
Group: Productivity/Other
Version: 1.9
Version: 1.13
Release: 1
License: GPL
Url: http://web.archive.org/web/20071013082301/http://trific.ath.cx/software/enca/
License: GPLv2
Url: http://gitorious.org/enca
Source: %{name}-%{version}.tar.bz2
BuildRequires: recode-devel
Requires: sed
%if 0%{?suse_version} <= 1020
%define gtk_doc /opt/gnome/share/gtk-doc
@ -33,6 +32,7 @@ Requires: sed
%define gtk_doc %{_datadir}/gtk-doc
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
%description
Enca is an Extremely Naive Charset Analyser. It detects character set and
@ -50,15 +50,8 @@ This package also contains shared Enca library other programs can make use of.
Install Enca if you need to cope with text files of dubious origin
and unknown encoding and convert them to some reasonable encoding.
Authors:
--------
David Necas (Yeti) <yeti@physics.muni.cz>
Zuxy Meng <zuxy.meng@gmail.com>
%package -n libenca0
License: GPL
License: GPLv2
Group: System/Libraries
Summary: Header files and libraries for Enca development
@ -70,15 +63,8 @@ and its API documentation.
Install enca-devel if you are going to create applications using the Enca
library.
Authors:
--------
David Necas (Yeti) <yeti@physics.muni.cz>
Zuxy Meng <zuxy.meng@gmail.com>
%package devel
License: GPL
License: GPLv2
Requires: libenca0 = %{version}
Requires: glibc-devel
Group: Development/Libraries/C and C++
@ -92,23 +78,20 @@ and its API documentation.
Install enca-devel if you are going to create applications using the Enca
library.
Authors:
--------
David Necas (Yeti) <yeti@physics.muni.cz>
Zuxy Meng <zuxy.meng@gmail.com>
%prep
%setup -q
%build
%configure --disable-static
%configure --disable-static --without-librecode
# %make %{?jobs:-j%jobs}
make
%install
%if 0%{?suse_version} <= 1020 && 0%{?suse_version} > 0
%makeinstall HTML_DIR=$RPM_BUILD_ROOT/%{gtk_doc}/html
%else
%makeinstall HTML_DIR=%{gtk_doc}/html
%endif
# the .la file is not needed without static libs
rm %{buildroot}/%{_libdir}/libenca.la
@ -121,7 +104,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib FAQ NEWS README THANKS TODO
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib FAQ ChangeLog.old README THANKS TODO
%{_bindir}/enc*
%{_libexecdir}/enca
%{_mandir}/man1/enc*.1*