[sxiv] 1.2 bump

Petr Šabata psabata at fedoraproject.org
Thu Jul 17 10:53:34 UTC 2014


commit 2c7336ce6e2b72faf7d26b687cc97b9c0431daf8
Author: Petr Šabata <contyk at redhat.com>
Date:   Thu Jul 17 12:53:47 2014 +0200

    1.2 bump

 sxiv.spec |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/sxiv.spec b/sxiv.spec
index 0ec6d3b..babe734 100644
--- a/sxiv.spec
+++ b/sxiv.spec
@@ -1,13 +1,12 @@
 Name:           sxiv
-Version:        1.1.1
-Release:        3%{?dist}
+Version:        1.2
+Release:        1%{?dist}
 Summary:        Simple (or small or suckless) X Image Viewer
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            https://github.com/muennich/%{name}/
 Source0:        https://github.com/muennich/%{name}/archive/v%{version}.tar.gz
-Patch0:         %{name}-1.1-optflags.patch
-Patch1:         %{name}-1.1-image-info.patch
+Patch0:         %{name}-1.2-optflags.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  giflib-devel
 BuildRequires:  imlib2-devel
@@ -23,25 +22,30 @@ customize it for your needs.
 
 %prep
 %setup -q
-%patch0 -p1 -b .optflags
-%patch1 -p1 -b .image-info
-sed 's/sxiv-VERSION/sxiv/' -i sxiv.1
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
 make %{?_smp_mflags}
+cd icon && make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
+cd icon && make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
 
 %files
-%doc LICENSE README.md image-info
+%doc LICENSE README.md
 %{_bindir}/sxiv
 %{_mandir}/man1/*
+%{_datadir}/%{name}
 %{_datadir}/applications
+%{_datadir}/icons/hicolor/*
 
 %changelog
+* Thu Jul 17 2014 Petr Šabata <contyk at redhat.com> - 1.2-1
+- 1.2 bump
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list