[1432] | 1 | Name: kuickshow |
---|
| 2 | Summary: a very fast and comfortable imageviewer for KDE |
---|
[9275] | 3 | Summary(ja): KDE 用の高速かつ快適な画像ビューワー |
---|
[1432] | 4 | Version: 0.9.1 |
---|
[10763] | 5 | Release: 4%{?_dist_release} |
---|
[1432] | 6 | |
---|
| 7 | Group: Applications/Graphics |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://kuickshow.sourceforge.net/ |
---|
| 10 | |
---|
| 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/extragear/%{name}-%{version}-kde4.4.0.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: desktop-file-utils |
---|
| 15 | BuildRequires: gettext |
---|
| 16 | BuildRequires: kdelibs4-devel |
---|
| 17 | BuildRequires: imlib-devel |
---|
[3881] | 18 | BuildRequires: qt4-devel |
---|
| 19 | BuildRequires: libXpm-devel |
---|
[1432] | 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
| 24 | %description |
---|
[9275] | 25 | KuickShow is an image browser/viewer with a nice filebrowser to select |
---|
[1432] | 26 | images to be shown, slideshow support and the ability to display the |
---|
| 27 | following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm |
---|
| 28 | and eim. Images can be displayed either in their own window, as large |
---|
| 29 | as the image, or fullscreen (which shrinks images too large to display). |
---|
| 30 | KuickShow also has a slideshow mode. |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q -n %{name}-%{version}-kde4.4.0 |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | mkdir -p %{_target_platform} |
---|
| 37 | pushd %{_target_platform} |
---|
| 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 |
---|
[10763] | 85 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.9.1-4 |
---|
| 86 | - rebuild with gcc-5.4.0 |
---|
| 87 | |
---|
[9275] | 88 | * Fri Jan 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9.1-3 |
---|
| 89 | - rebuilt on current VineSeed |
---|
| 90 | |
---|
[3881] | 91 | * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.1-2 |
---|
| 92 | - add BuildRequires: qt4-devel, libXpm-devel |
---|
| 93 | |
---|
[1432] | 94 | * Fri Jul 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.1-1 |
---|
| 95 | - initial build for Vine Linux |
---|