]> git.pld-linux.org Git - packages/feh.git/blobdiff - feh.spec
noarch bash completions
[packages/feh.git] / feh.spec
index 8e85ddbf125d27f6cdc23c854ded18879b1e6480..fb359c5176ade3c38029d39cdcb5fcd925e7aef9 100644 (file)
--- a/feh.spec
+++ b/feh.spec
@@ -2,14 +2,14 @@ Summary:      Fast image viewer/indexer/montager
 Summary(hu.UTF-8):     Gyors képnézegető/indexelő/montázsoló
 Summary(pl.UTF-8):     Szybki program do przeglądania/indeksowania/montowania obrazów
 Name:          feh
-Version:       1.16.2
-Release:       2
+Version:       2.5
+Release:       3
 License:       BSD
 Group:         X11/Applications/Graphics
 Source0:       https://derf.homelinux.org/~derf/projects/feh/%{name}-%{version}.tar.bz2
-# Source0-md5: ae94631dba52fe999c8d846070c949d5
+# Source0-md5: d5f6048f79005c05b51060beafd1f08d
 URL:           http://feh.finalrewind.org/
-Patch0:                %{name}-install.patch
+# Patch0:              %{name}-install.patch
 Source1:       %{name}-bash-completion
 BuildRequires: giblib-devel >= 1.2.4
 BuildRequires: imlib2-devel >= 1.0.0
@@ -55,6 +55,9 @@ Summary(pl.UTF-8):    bashowe dopełnianie linii poleceń programu feh
 Group:         Applications/Shells
 Requires:      bash-completion
 Obsoletes:     feh-bash-completion
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n bash-completion-feh
 bash-completion to feh.
@@ -64,8 +67,8 @@ bashowe dopełnianie linii poleceń programu feh.
 
 %prep
 %setup -q
-%patch0 -p1
-%{__sed} -i "s,CFLAGS ?=.*,CFLAGS = %{rpmcflags}," config.mk
+%patch0 -p1
+%{__sed} -i "s|CFLAGS ?=.*|CFLAGS = %{rpmcflags}|" config.mk
 
 %build
 %{__make} \
This page took 0.438746 seconds and 4 git commands to generate.