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 - 1.2-1 +- 1.2 bump + * Sun Jun 08 2014 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild