Group :: Graphics
RPM: ksquirrel
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
#%%define buildnum pre2
Name: ksquirrel
Version: 0.7.0
Release: alt2
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.7.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
BuildPreReq: libmesa-devel libXext-devel libXt-devel
BuildPreReq: ksquirrel-libs-devel = %version
%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
#%%__subst 's,\.la\>,.so,' admin/acinclude.m4.in
[ -f admin/Makefile.common ] && %make_build -f admin/Makefile.common
%build
%configure \
--disable-rpath \
%{subst_enable debug}
%make_build
%install
%makeinstall
%__mkdir_p %buildroot%_desktopdir/
mv %buildroot%_datadir/applnk/Graphics/*.desktop %buildroot%_desktopdir/
echo 'Categories=Qt;KDE;Application;Graphics;Viewer;' >> %buildroot%_desktopdir/%name.desktop
%find_lang %name --with-kde
%post bin
%update_menus
%postun bin
%clean_menus
%files
%files bin -f %name.lang
%_bindir/%name
%_datadir/apps/%name/
%_iconsdir/hicolor/*/apps/%name.png
%_desktopdir/%name.desktop
%_man1dir/%name.*
%doc AUTHORS ChangeLog COPYING README TODO fmt_filters_README ksquirrel.lsm
%changelog
…
Full changelog you can see here
#%%define buildnum pre2
Name: ksquirrel
Version: 0.7.0
Release: alt2
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.7.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
BuildPreReq: libmesa-devel libXext-devel libXt-devel
BuildPreReq: ksquirrel-libs-devel = %version
%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
#%%__subst 's,\.la\>,.so,' admin/acinclude.m4.in
[ -f admin/Makefile.common ] && %make_build -f admin/Makefile.common
%build
%configure \
--disable-rpath \
%{subst_enable debug}
%make_build
%install
%makeinstall
%__mkdir_p %buildroot%_desktopdir/
mv %buildroot%_datadir/applnk/Graphics/*.desktop %buildroot%_desktopdir/
echo 'Categories=Qt;KDE;Application;Graphics;Viewer;' >> %buildroot%_desktopdir/%name.desktop
%find_lang %name --with-kde
%post bin
%update_menus
%postun bin
%clean_menus
%files
%files bin -f %name.lang
%_bindir/%name
%_datadir/apps/%name/
%_iconsdir/hicolor/*/apps/%name.png
%_desktopdir/%name.desktop
%_man1dir/%name.*
%doc AUTHORS ChangeLog COPYING README TODO fmt_filters_README ksquirrel.lsm
%changelog
…
Full changelog you can see here