97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
Name: gpicview
|
|
Version: 0.2.4
|
|
Release: 1mamba
|
|
Summary: Simple and fast Image Viewer for X
|
|
Group: Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Fabio Giani <fabio.giani@gmail.com>
|
|
URL: http://lxde.sourceforge.net/gpicview/
|
|
Source: http://downloads.sourceforge.net/project/lxde/GPicView%20%28image%20Viewer%29/GpicView%20%{version}/gpicview-%{version}.tar.gz
|
|
License: GPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libglitz-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpixman-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libselinux
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxcb-util-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXrender-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: xdg-utils
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
|
|
%description
|
|
Gpicview is an simple and image viewer with a simple and intuitive interface.
|
|
It's extremely lightweight and fast with low memory usage.
|
|
This makes it very suitable as default image viewer of desktop system.
|
|
Although it is developed as the primary image viewer of LXDE, the Lightweight X11 Desktop Environment, it only requires GTK+ and can be used in any desktop environment.
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall DESTDIR=%{buildroot}
|
|
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
if [ $1 -ge 1 ]; then
|
|
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
|
fi
|
|
:
|
|
|
|
%posttrans
|
|
update-desktop-database -q >/dev/null 2>&1
|
|
update-mime-database %{_datadir}/mime >/dev/null 2>&1
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1
|
|
:
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog
|
|
%{_bindir}/gpicview
|
|
%{_datadir}/applications/gpicview.desktop
|
|
%{_datadir}/gpicview/
|
|
%{_datadir}/icons/hicolor/48x48/apps/gpicview.png
|
|
|
|
%changelog
|
|
* Fri Oct 25 2013 Automatic Build System <autodist@mambasoft.it> 0.2.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
|
|
- update to 0.2.3
|
|
|
|
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-2mamba
|
|
- rebuilt with libjpeg 8
|
|
|
|
* Fri Jan 15 2010 Fabio Giani <fabio.giani@gmail.com> 0.2.1-1mamba
|
|
- package created by autospec
|