|
@@ -3,10 +3,10 @@
|
|
|
# the srpm with:
|
|
|
# rpmbuild --rebuild viewnior-*-src.rpm --with gnome
|
|
|
# or use bcond_without to change the default
|
|
|
-%bcond_with gnome
|
|
|
+#%bcond_with gnome
|
|
|
|
|
|
Name: viewnior
|
|
|
-Version: 1.2
|
|
|
+Version: 1.3
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: Elegant image viewer
|
|
|
Summary(ja): エレガントな画像ビューア
|
|
@@ -16,7 +16,6 @@ License: GPLv3+
|
|
|
URL: http://xsisqox.github.com/Viewnior
|
|
|
Source0: http://cloud.github.com/downloads/xsisqox/Viewnior/%{name}-%{version}.tar.gz
|
|
|
Patch0: viewnior-0.7-dsofix.patch
|
|
|
-Patch1: viewnior-1.2-fix_typo.patch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: gdk-pixbuf2-devel >= 2.4.0
|
|
@@ -27,9 +26,9 @@ BuildRequires: gettext
|
|
|
BuildRequires: intltool >= 0.35.0
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
BuildRequires: shared-mime-info >= 0.20
|
|
|
-%if %{with gnome}
|
|
|
-BuildRequires: GConf2-devel
|
|
|
-%endif
|
|
|
+#%if %{with gnome}
|
|
|
+#BuildRequires: GConf2-devel
|
|
|
+#%endif
|
|
|
|
|
|
|
|
|
%description
|
|
@@ -49,16 +48,15 @@ its features are:
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1 -b .dsofix
|
|
|
-%patch1 -p1 -b .orig
|
|
|
# fix spurious executable perms
|
|
|
chmod 0644 AUTHORS ChangeLog COPYING NEWS README TODO src/*
|
|
|
|
|
|
|
|
|
%build
|
|
|
%configure --enable-static=no \
|
|
|
-%if %{with gnome}
|
|
|
- --enable-wallpaper
|
|
|
-%endif
|
|
|
+#%if %{with gnome}
|
|
|
+# --enable-wallpaper
|
|
|
+#%endif
|
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
@@ -102,6 +100,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Feb 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3-1
|
|
|
+- new upstream release
|
|
|
+- dropt patch1
|
|
|
+
|
|
|
* Sat Feb 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2-1
|
|
|
- new upstream release
|
|
|
- added patch1 to fix typo
|