source: projects/specs/trunk/k/kuickshow/kuickshow-vl.spec @ 10763

Revision 10763, 2.6 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: kuickshow
2Summary: a very fast and comfortable imageviewer for KDE
3Summary(ja): KDE 用の高速かつ快適な画像ビューワー
4Version: 0.9.1
5Release: 4%{?_dist_release}
6
7Group: Applications/Graphics
8License: GPLv2+
9URL: http://kuickshow.sourceforge.net/
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/extragear/%{name}-%{version}-kde4.4.0.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: desktop-file-utils
15BuildRequires: gettext
16BuildRequires: kdelibs4-devel
17BuildRequires: imlib-devel
18BuildRequires: qt4-devel
19BuildRequires: libXpm-devel
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25KuickShow is an image browser/viewer with a nice filebrowser to select
26images to be shown, slideshow support and the ability to display the
27following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm
28and eim. Images can be displayed either in their own window, as large
29as the image, or fullscreen (which shrinks images too large to display).
30KuickShow also has a slideshow mode.
31
32%prep
33%setup -q -n %{name}-%{version}-kde4.4.0
34
35%build
36mkdir -p %{_target_platform}
37pushd %{_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    ..
44popd
45
46make %{?_smp_mflags} -C %{_target_platform}
47
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install/fast -C %{_target_platform} DESTDIR=$RPM_BUILD_ROOT
52
53%find_lang %{name}
54
55%check
56desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/kuickshow.desktop
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post
62touch --no-create %{_datadir}/icons/hicolor ||:
63
64%postun
65if [ $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 ||:
68fi
69
70%posttrans
71gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
72update-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* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.9.1-4
86- rebuild with gcc-5.4.0
87
88* Fri Jan 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9.1-3
89- rebuilt on current VineSeed
90
91* Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.1-2
92- add BuildRequires: qt4-devel, libXpm-devel
93
94* Fri Jul 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.1-1
95- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.