From 416830267f90a3d3980ec6d8b04bc23961563e4e Mon Sep 17 00:00:00 2001 From: John Date: Feb 13 2015 06:20:50 +0000 Subject: 1.01 --- diff --git a/.gitignore b/.gitignore index 67bcaae..44544b0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /mcomix-0.98.tar.bz2 /mcomix-0.99.tar.bz2 /mcomix-1.00.tar.bz2 +/mcomix-1.01.tar.bz2 diff --git a/mcomix.spec b/mcomix.spec index 804bf02..8b3be8e 100644 --- a/mcomix.spec +++ b/mcomix.spec @@ -1,6 +1,6 @@ Name: mcomix -Version: 1.00 -Release: 4%{?dist} +Version: 1.01 +Release: 1%{?dist} Summary: User-friendly, customizable image viewer for comic books Group: Amusements/Graphics @@ -19,12 +19,14 @@ BuildRequires: gettext BuildRequires: pygtk2 BuildRequires: python-imaging BuildRequires: python-setuptools -BuildRequires: desktop-file-utils +BuildRequires: %{_bindir}/desktop-file-install +BuildRequires: %{_bindir}/appstream-util # The following BR is really needed for gconf2 macros BuildRequires: GConf2 Requires: pygtk2 Requires: python-imaging Requires: python-setuptools +Requires: python-subprocess32 Requires(pre): GConf2 Requires(preun): GConf2 Requires(post): GConf2 @@ -94,6 +96,9 @@ desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop +appstream-util validate-relax --nonet \ + $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml >/dev/null + mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas install -cpm 644 ./mime/comicbook.schemas \ $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/%{name}.schemas @@ -131,7 +136,8 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) -%doc COPYING ChangeLog README +%license COPYING +%doc ChangeLog README %{_sysconfdir}/gconf/schemas/%{name}.schemas @@ -142,6 +148,8 @@ fi %{_datadir}/applications/%{name}.desktop %{_datadir}/mime/packages/%{name}.xml +%{_datadir}/appdata/%{name}.appdata.xml + %{_mandir}/man1/mcomix.1* #%%{_mandir}/man1/mcomicthumb.1* @@ -150,6 +158,9 @@ fi %changelog +* Fri Feb 13 2015 Mamoru TASAKA - 1.01-1 +- 1.01 + * Tue Sep 09 2014 Rex Dieter 1.00-4 - update scriptlets (icon/mime mostly) diff --git a/sources b/sources index 469b4e5..38d5850 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a916dd9da17043ab59ccd17e26eb932 mcomix-1.00.tar.bz2 +c2837c3baf226798246db834d22d1de8 mcomix-1.01.tar.bz2