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

Revision 10564, 2.8 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

RevLine 
[7728]1Name: kajongg
2Summary: Mah Jongg for KDE
[9222]3Version: 4.14.3
[10564]4Release: 2%{?_dist_release}
[7728]5
6License: GPLv2
[9222]7Group: Applications/Games
[7728]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
[10564]92* Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
93- rebuild with gcc-5.4.0
94
[9222]95* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
96- new upstream release
97
[8430]98* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
99- new upstream release
100
[8252]101* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
102- new upstream release
103
[8056]104* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
105- new upstream release
106
[7801]107* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
108- new upstream release
109
[7728]110* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
111- initial build
Note: See TracBrowser for help on using the repository browser.