1 | Name: kuickshow |
---|
2 | Summary: a very fast and comfortable imageviewer for KDE |
---|
3 | Version: 0.9.1 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | |
---|
6 | Group: Applications/Graphics |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://kuickshow.sourceforge.net/ |
---|
9 | |
---|
10 | Source0: ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/extragear/%{name}-%{version}-kde4.4.0.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: desktop-file-utils |
---|
14 | BuildRequires: gettext |
---|
15 | BuildRequires: kdelibs4-devel |
---|
16 | BuildRequires: imlib-devel |
---|
17 | BuildRequires: qt4-devel |
---|
18 | BuildRequires: libXpm-devel |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | KuickShow is an image browser/viewer with a nice filebrowser to select |
---|
25 | images to be shown, slideshow support and the ability to display the |
---|
26 | following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm |
---|
27 | and eim. Images can be displayed either in their own window, as large |
---|
28 | as the image, or fullscreen (which shrinks images too large to display). |
---|
29 | KuickShow also has a slideshow mode. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n %{name}-%{version}-kde4.4.0 |
---|
33 | |
---|
34 | %build |
---|
35 | mkdir -p %{_target_platform} |
---|
36 | pushd %{_target_platform} |
---|
37 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
38 | %{cmake} \ |
---|
39 | -DCMAKE_BUILD_TYPE=release \ |
---|
40 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
41 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
42 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
43 | .. |
---|
44 | popd |
---|
45 | |
---|
46 | make %{?_smp_mflags} -C %{_target_platform} |
---|
47 | |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | make install/fast -C %{_target_platform} DESTDIR=$RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %find_lang %{name} |
---|
54 | |
---|
55 | %check |
---|
56 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/kuickshow.desktop |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | %post |
---|
62 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
63 | |
---|
64 | %postun |
---|
65 | if [ $1 -eq 0 ] ; then |
---|
66 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
67 | update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||: |
---|
68 | fi |
---|
69 | |
---|
70 | %posttrans |
---|
71 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
72 | update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||: |
---|
73 | |
---|
74 | |
---|
75 | %files -f %{name}.lang |
---|
76 | %defattr(-,root,root,755) |
---|
77 | %{_bindir}/kuickshow |
---|
78 | %{_libdir}/libkdeinit4_*.so |
---|
79 | %{_datadir}/applications/kde4/*.desktop |
---|
80 | %{_datadir}/kde4/apps/kuickshow/ |
---|
81 | %{_datadir}/icons/hicolor/*/*/* |
---|
82 | %{_datadir}/doc/HTML/*/kuickshow/ |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.1-2 |
---|
86 | - add BuildRequires: qt4-devel, libXpm-devel |
---|
87 | |
---|
88 | * Fri Jul 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.1-1 |
---|
89 | - initial build for Vine Linux |
---|