[packages/enca] - updated to 1.16 - removed obsolete libdir patch
qboosh
qboosh at pld-linux.org
Mon Oct 5 19:42:34 CEST 2015
commit db9e8739554456b5fb2a7e6314bc807c0a11fa27
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 5 19:43:43 2015 +0200
- updated to 1.16
- removed obsolete libdir patch
enca-libdir.patch | 18 ------------------
enca.spec | 14 +++++++-------
2 files changed, 7 insertions(+), 25 deletions(-)
---
diff --git a/enca.spec b/enca.spec
index 10eeb86..fd86fb0 100644
--- a/enca.spec
+++ b/enca.spec
@@ -6,19 +6,20 @@
Summary: Extremely Naive Charset Analyser
Summary(pl.UTF-8): Skrajnie naiwny analizator zestawów znaków
Name: enca
-Version: 1.15
-Release: 3
+Version: 1.16
+Release: 1
License: GPL v2
Group: Libraries
-Source0: http://dl.cihar.com/enca/%{name}-%{version}.tar.bz2
-# Source0-md5: fef132969d26e649719eae08297a4a52
-Patch0: %{name}-libdir.patch
+Source0: http://dl.cihar.com/enca/%{name}-%{version}.tar.xz
+# Source0-md5: 0a1483530b1fdb9e2a54786489ee0b69
URL: http://cihar.com/software/enca/
BuildRequires: autoconf >= 2.52
BuildRequires: automake >= 1:1.8
%{?with_apidocs:BuildRequires: gtk-doc >= 1.0}
BuildRequires: iconv
%{?with_recode:BuildRequires: recode-devel}
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Requires: %{name}-libs = %{version}-%{release}
Requires: /bin/mktemp
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -100,14 +101,13 @@ Dokumentacja API biblioteki ENCA.
%prep
%setup -q
-%patch0 -p1
%build
cp -f /usr/share/automake/config.sub .
%{__autoconf}
%configure \
MKTEMP_PROG=/bin/mktemp \
- --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
+ --enable-gtk-doc%{!?with_apidocs:=no} \
--with-html-dir=%{_gtkdocdir}
%{__make}
diff --git a/enca-libdir.patch b/enca-libdir.patch
deleted file mode 100644
index 825cf57..0000000
--- a/enca-libdir.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- enca-1.9/configure.ac.orig 2005-12-18 13:07:46.000000000 +0100
-+++ enca-1.9/configure.ac 2006-04-16 13:25:58.000000000 +0200
-@@ -95,15 +95,6 @@
- dnl Check for good random number sources
- AC_CHECK_FILES(/dev/random /dev/urandom /dev/srandom /dev/arandom)
-
--dnl Dirty path hack. Helps some people with badly set up search paths.
--if test "$prefix" = "NONE"; then
-- LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
-- CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
--else
-- LDFLAGS="$LDFLAGS -L$prefix/lib"
-- CPPFLAGS="$CPPFLAGS -I$prefix/include"
--fi
--
- dnl Checks for libraries.
- ye_CHECK_LIBM
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/enca.git/commitdiff/db9e8739554456b5fb2a7e6314bc807c0a11fa27
More information about the pld-cvs-commit
mailing list