]> git.pld-linux.org Git - packages/enca.git/commitdiff
- it is possible to build it without recode support (just iconv)
authorwrobell <wrobell@pld-linux.org>
Fri, 8 Apr 2005 10:25:55 +0000 (10:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    enca.spec -> 1.8

enca.spec

index 542d101490a77991a64ac90ab714eae388e24493..406d45a338bda8eb02ab2131cef2d921c3b1890e 100644 (file)
--- a/enca.spec
+++ b/enca.spec
@@ -1,3 +1,7 @@
+
+# Conditional build:
+%bcond_without recode  # build without recode support
+
 Summary:       Extremely Naive Charset Analyser
 Summary(pl):   Skrajnie naiwny analizator zestawów znaków
 Name:          enca
@@ -9,7 +13,7 @@ Source0:       http://trific.ath.cx/Ftp/enca/%{name}-%{version}.tar.bz2
 # Source0-md5: 01dd5dbd4154c85cbf4a42d3580c517f
 URL:           http://trific.ath.cx/software/enca/
 BuildRequires: automake
-BuildRequires: recode-devel
+%{?with_recode:BuildRequires:  recode-devel}
 Requires:      /bin/mktemp
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.048199 seconds and 4 git commands to generate.