source: projects/specs/branches/6/k/kuickshow/kuickshow-vl.spec @ 3881

Revision 3881, 2.4 KB checked in by Takemikaduchi, 13 years ago (diff)

add BuildRequires?

Line 
1Name: kuickshow
2Summary: a very fast and comfortable imageviewer for KDE
3Version: 0.9.1
4Release: 2%{?_dist_release}
5
6Group: Applications/Graphics
7License: GPLv2+
8URL: http://kuickshow.sourceforge.net/
9
10Source0: ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/extragear/%{name}-%{version}-kde4.4.0.tar.bz2
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: desktop-file-utils
14BuildRequires: gettext
15BuildRequires: kdelibs4-devel
16BuildRequires: imlib-devel
17BuildRequires: qt4-devel
18BuildRequires: libXpm-devel
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24 KuickShow is an image browser/viewer with a nice filebrowser to select
25images to be shown, slideshow support and the ability to display the
26following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm
27and eim. Images can be displayed either in their own window, as large
28as the image, or fullscreen (which shrinks images too large to display).
29KuickShow also has a slideshow mode.
30
31%prep
32%setup -q -n %{name}-%{version}-kde4.4.0
33
34%build
35mkdir -p %{_target_platform}
36pushd %{_target_platform}
37unset 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    ..
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* 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
Note: See TracBrowser for help on using the repository browser.