Group :: Gráficos
RPM: gpicview
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable gtk3
Name: gpicview
Version: 0.2.5
Release: alt1
Summary: A simple and fast image viewer with low memory usage
License: GPLv2+
Group: Graphics
Url: http://lxde.sourceforge.net/gpicview/
Source: http://downloads.sourceforge.net/lxde/gpicview-%version.tar.xz
# gpicview may use invocation of xdg-mime from xdg-utils to become default
# viewer for supported image formats
Requires: xdg-utils
BuildRequires: intltool libgtk+2-devel libjpeg-devel
%{?_enable_gtk3:BuildRequires: libgtk+3-devel}
%description
GPicView is a simple and fast image viewer with low memory usage. It's aimed at
replacing the default image viewer of current desktop systems. Fast startup, low
memory usage, and a simple user interface make it a good choice for a default
viewer. It is extremely lightweight and fast with low memory usage, has a simple
and intuitive interface, minimal library dependencies (only GTK+ is used), and
doesn't require any specific desktop environment. It was inspired by the Windows
XP image viewer and gimmage.
%prep
%setup
%build
%configure %{subst_enable gtk3}
%make_build
%install
%makeinstall_std
install -pD -m644 %name.png %buildroot%_liconsdir/%name.png
%find_lang %name
%files -f %name.lang
%_bindir/*
%_datadir/gpicview/
%_liconsdir/*
%_desktopdir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: gpicview
Version: 0.2.5
Release: alt1
Summary: A simple and fast image viewer with low memory usage
License: GPLv2+
Group: Graphics
Url: http://lxde.sourceforge.net/gpicview/
Source: http://downloads.sourceforge.net/lxde/gpicview-%version.tar.xz
# gpicview may use invocation of xdg-mime from xdg-utils to become default
# viewer for supported image formats
Requires: xdg-utils
BuildRequires: intltool libgtk+2-devel libjpeg-devel
%{?_enable_gtk3:BuildRequires: libgtk+3-devel}
%description
GPicView is a simple and fast image viewer with low memory usage. It's aimed at
replacing the default image viewer of current desktop systems. Fast startup, low
memory usage, and a simple user interface make it a good choice for a default
viewer. It is extremely lightweight and fast with low memory usage, has a simple
and intuitive interface, minimal library dependencies (only GTK+ is used), and
doesn't require any specific desktop environment. It was inspired by the Windows
XP image viewer and gimmage.
%prep
%setup
%build
%configure %{subst_enable gtk3}
%make_build
%install
%makeinstall_std
install -pD -m644 %name.png %buildroot%_liconsdir/%name.png
%find_lang %name
%files -f %name.lang
%_bindir/*
%_datadir/gpicview/
%_liconsdir/*
%_desktopdir/*
%changelog
…
Todas as alterações você pod ver aqui