File kuickshow.spec of Package kuickshow
# spec file for package kuickshow
#
# Copyright (c) 2009 Klaas Freitag
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments via mailto:kollix@aon.at
# norootforbuild
Summary: Simple and fast image viewer
Name: kuickshow
Version: 0.9.1
Release: 1
License: GPL
Group: Productivity/Archiving/Backup
Source: %{name}-%{version}-kde4.3.1.tar.bz2
BuildRequires: libkde4-devel imlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
KuickShow is an image browser/viewer with a nice filebrowser to select images
to be shown, slideshow support and the ability to display the following image
formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm and eim.
Images can be displayed either in their own window, as large as the image, or
fullscreen (which shrinks images too large to display). KuickShow also has a
slideshow mode.
The program was designed to be very simple in its use so that it can be used
by non-computer experts.
Authors:
--------
Carsten Pfeiffer <pfeiffer@kde.org>
#================= PREP ==================
%prep
%setup -q -n %{name}-%{version}-kde4.3.1
#================= BUILD ==================
%build
%cmake_kde4 -d build
%make_jobs
#================= INSTALL ==================
%install
pushd build
%{makeinstall}
popd
%{__rm} %{buildroot}/usr/share/doc/kde/HTML/*/%{name}/common
%find_lang %{name}
%if 0%{?suse_version}
%suse_update_desktop_file %name Graphics Viewer
%else
%endif
%kde_post_install
#================= POST / POSTUN Mandriva ==================
%if 0%{?mandriva_version}
%post
%update_menus
%postun
%clean_menus
%endif
#================= CLEAN ==================
%clean
rm -rf $RPM_BUILD_ROOT
#================= FILES ==================
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog README TODO
%{_bindir}/%{name}
%{_libdir}/libkdeinit4_kuickshow.so
%{_datadir}/applications/kde4/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/kde4/apps/%{name}
#================= CHANGELOG ==================
%changelog
* Thu Dec 3 2009 Klaas Freitag <freitag@suse.de> - 0.9.1
- Packaging KDE4 version