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

Revision 9222, 2.8 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: kajongg
2Summary: Mah Jongg 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}
17BuildRequires: PyQt4-devel
18BuildRequires: PyKDE4-devel >= %{version}
19BuildRequires: sqlite3-devel
20BuildRequires: python-twisted
21
22Requires: PyKDE4
23Requires: python-twisted
24Requires(posttrans,postun): desktop-file-utils
25
26Vendor: Project Vine
27Distribution: Vine Linux
28Packager: Takemikaduchi
29
30%description
31Kajongg is the ancient Chinese board game for 4 players. Kajongg can be used in two
32different ways: Scoring a manual game where you play as always and use Kajongg for
33the computation of scores and for bookkeeping. Or you can use Kajongg to play against
34any combination of other human players or computer players.
35
36
37%prep
38%setup -q
39
40%build
41mkdir -p %{_target_platform}
42pushd %{_target_platform}
43%cmake \
44    -DCMAKE_BUILD_TYPE=release \
45    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
46    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
47    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
48    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
49    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
50    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
51    ..
52popd
53
54make %{?_smp_mflags} -C %{_target_platform}
55
56
57%install
58rm -rf $RPM_BUILD_ROOT
59make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
60
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post
66touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
67
68%posttrans
69gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
70update-desktop-database -q &> /dev/null ||:
71
72%postun
73if [ $1 -eq 0 ] ; then
74    touch --no-create %{_datadir}/icons/hicolor &> /dev/null
75    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
76        update-desktop-database -q &> /dev/null ||:
77fi
78
79
80%files
81%defattr(-,root,root)
82%doc COPYING COPYING.DOC
83%{_bindir}/%{name}
84%{_bindir}/%{name}server
85%{_datadir}/applications/kde4/%{name}.desktop
86%{_datadir}/icons/hicolor/*/*/*
87%{_datadir}/kde4/apps/%{name}
88%doc %{_docdir}/HTML/en/%{name}/
89
90
91%changelog
92* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
93- new upstream release
94
95* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
96- new upstream release
97
98* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
99- new upstream release
100
101* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
102- new upstream release
103
104* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
105- new upstream release
106
107* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
108- initial build
Note: See TracBrowser for help on using the repository browser.