]> git.pld-linux.org Git - packages/feh.git/blobdiff - feh.spec
noarch bash completions
[packages/feh.git] / feh.spec
index 4962b2ec0c7eb62732428fbc5e55464b311213bf..fb359c5176ade3c38029d39cdcb5fcd925e7aef9 100644 (file)
--- a/feh.spec
+++ b/feh.spec
@@ -2,15 +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.15.1
-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: 0684ff2dad34ee328ab2b6b717281787
+# Source0-md5: d5f6048f79005c05b51060beafd1f08d
 URL:           http://feh.finalrewind.org/
-Patch0:                %{name}-install.patch
-Patch1:                %{name}-git_fixes.patch
+# Patch0:              %{name}-install.patch
 Source1:       %{name}-bash-completion
 BuildRequires: giblib-devel >= 1.2.4
 BuildRequires: imlib2-devel >= 1.0.0
@@ -56,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.
@@ -65,9 +67,8 @@ bashowe dopełnianie linii poleceń programu feh.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -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.056329 seconds and 4 git commands to generate.