Group :: Graphics
RPM: ksquirrel
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
#%%define buildnum try5
Name: ksquirrel
Version: 0.8.0
Release: alt2
#.%%buildnum
Summary: Image viewer with support for many image formats
License: GPL
Group: Graphics
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Url: http://ksquirrel.sf.net/
Source: %name-%version.tar.bz2
Patch0: %name-0.8.0-alt-link-fixes.patch
Requires: %name-bin %name-libs %name-libs-extra
BuildPreReq: gcc-c++ kdelibs-devel kdebase-devel libpng-devel libqt3-devel
BuildPreReq: xml-utils zlib-devel libkipi-devel libkexif-devel
BuildPreReq: libmesa-devel
BuildPreReq: ksquirrel-libs-devel = %version
Requires(post,postun): desktop-file-utils
BuildPreReq: desktop-file-utils
%description
Image viewer with support for dozens of image formats. It uses external
decoders (contained in ksquirrel-libs package) for handling file formats.
This is an empty package.
%package bin
Group: Graphics
Summary: Image viewer with support for many image formats
%description bin
Image viewer with support for dozens of image formats. It uses external
decoders for handling file formats.
This package contains %name executable. You will also need %name-libs
package which contains image handler plugins.
%prep
%setup
%patch0 -p1
[ -f admin/Makefile.common ] && %make_build -f admin/Makefile.common
%build
%configure \
--disable-rpath \
%{subst_enable debug}
%make_build
%install
%makeinstall
%find_lang %name --with-kde
%post bin
%update_menus
%update_desktopdb
%postun bin
%clean_menus
%clean_desktopdb
%files
%files bin -f %name.lang
%_bindir/%name
%_bindir/ksquirrel-libs-configurator*
%_libkde/libksquirrelpart.*
%_datadir/apps/%name/
%_datadir/apps/ksquirrelpart/
%_datadir/config/magic/*.magic
%_iconsdir/hicolor/*/apps/%name.png
%_Kmenudir/%name.desktop
%_Kapps/konqueror/servicemenus/konqksquirrel-dir.desktop
%_Kapps/dolphin/servicemenus/dolphksquirrel-dir.desktop
%_Kmimelnk/image/*.desktop
%_Kservices/ksquirrelpart.desktop
%_man1dir/%name.*
%doc AUTHORS ChangeLog COPYING README TODO fmt_filters_README ksquirrel.lsm
%changelog
…
Full changelog you can see here
#%%define buildnum try5
Name: ksquirrel
Version: 0.8.0
Release: alt2
#.%%buildnum
Summary: Image viewer with support for many image formats
License: GPL
Group: Graphics
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Url: http://ksquirrel.sf.net/
Source: %name-%version.tar.bz2
Patch0: %name-0.8.0-alt-link-fixes.patch
Requires: %name-bin %name-libs %name-libs-extra
BuildPreReq: gcc-c++ kdelibs-devel kdebase-devel libpng-devel libqt3-devel
BuildPreReq: xml-utils zlib-devel libkipi-devel libkexif-devel
BuildPreReq: libmesa-devel
BuildPreReq: ksquirrel-libs-devel = %version
Requires(post,postun): desktop-file-utils
BuildPreReq: desktop-file-utils
%description
Image viewer with support for dozens of image formats. It uses external
decoders (contained in ksquirrel-libs package) for handling file formats.
This is an empty package.
%package bin
Group: Graphics
Summary: Image viewer with support for many image formats
%description bin
Image viewer with support for dozens of image formats. It uses external
decoders for handling file formats.
This package contains %name executable. You will also need %name-libs
package which contains image handler plugins.
%prep
%setup
%patch0 -p1
[ -f admin/Makefile.common ] && %make_build -f admin/Makefile.common
%build
%configure \
--disable-rpath \
%{subst_enable debug}
%make_build
%install
%makeinstall
%find_lang %name --with-kde
%post bin
%update_menus
%update_desktopdb
%postun bin
%clean_menus
%clean_desktopdb
%files
%files bin -f %name.lang
%_bindir/%name
%_bindir/ksquirrel-libs-configurator*
%_libkde/libksquirrelpart.*
%_datadir/apps/%name/
%_datadir/apps/ksquirrelpart/
%_datadir/config/magic/*.magic
%_iconsdir/hicolor/*/apps/%name.png
%_Kmenudir/%name.desktop
%_Kapps/konqueror/servicemenus/konqksquirrel-dir.desktop
%_Kapps/dolphin/servicemenus/dolphksquirrel-dir.desktop
%_Kmimelnk/image/*.desktop
%_Kservices/ksquirrelpart.desktop
%_man1dir/%name.*
%doc AUTHORS ChangeLog COPYING README TODO fmt_filters_README ksquirrel.lsm
%changelog
…
Full changelog you can see here