source: projects/specs/trunk/k/klines/klines-vl.spec @ 9222

Revision 9222, 2.7 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name: klines
2Summary: Tactical Game for KDE
3Version: 4.14.3
4Release: 1%{?_dist_release}
5
6License: GPLv2
7Group: Applications/Games
8URL: http://www.kde.org/applications/games/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: desktop-file-utils
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: libkdegames-devel >= %{version}
17
18Requires(posttrans,postun): desktop-file-utils
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: Takemikaduchi
23
24%description
25KLines is a simple but highly addictive one player game. The player has to move the
26colored balls around the game board, gathering them into the lines of the same color
27by five. Once the line is complete it is removed from the board, therefore freeing
28precious space. In the same time the new balls keep arriving by three after each move,
29filling up the game board.
30
31
32%prep
33%setup -q
34
35%build
36mkdir -p %{_target_platform}
37pushd %{_target_platform}
38%cmake \
39    -DCMAKE_BUILD_TYPE=release \
40    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
41    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
42    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
43    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
44    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
45    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
46    ..
47popd
48
49make %{?_smp_mflags} -C %{_target_platform}
50
51
52%install
53rm -rf $RPM_BUILD_ROOT
54make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
55
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%post
61touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
62
63%posttrans
64gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
65update-desktop-database -q &> /dev/null ||:
66
67%postun
68if [ $1 -eq 0 ] ; then
69    touch --no-create %{_datadir}/icons/hicolor &> /dev/null
70    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
71        update-desktop-database -q &> /dev/null ||:
72fi
73
74
75%files
76%defattr(-,root,root)
77%doc COPYING COPYING.DOC
78%{_bindir}/%{name}
79%{_datadir}/applications/kde4/%{name}.desktop
80%{_datadir}/config.kcfg/%{name}.kcfg
81%{_datadir}/icons/hicolor/*/*/*
82%{_datadir}/kde4/apps/%{name}
83%doc %{_docdir}/HTML/en/%{name}/
84
85
86%changelog
87* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
88- new upstream release
89
90* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
91- new upstream release
92
93* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
94- new upstream release
95
96* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
97- new upstream release
98
99* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
100- new upstream release
101
102* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
103- initial build
Note: See TracBrowser for help on using the repository browser.