1 | Name: libkmahjongg |
---|
2 | Summary: The library for KDE mahjongg game |
---|
3 | Summary(ja): KDE 麻雀系ゲーム用ライブラリ |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+, LGPLv2 and FDL |
---|
8 | URL: https://code.launchpad.net/~neon/kdegames/libkdegames |
---|
9 | Group: System Environment/Libraries |
---|
10 | |
---|
11 | Source0: ftp://ftp.kde.org/pub/kde/table/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: kdelibs-devel >= %{version} |
---|
15 | BuildRequires: libkdegames-devel >= %{version} |
---|
16 | |
---|
17 | Requires: kdelibs >= %{version} |
---|
18 | Requires: libkdegames >= %{version} |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | This package contains the library used for loading and rendering of Mahjongg tilesets and associated backgrounds, used by KMahjongg and KShisen. |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development files for %{name} |
---|
28 | Summary(ja): %{name} の開発用ファイル |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: kdelibs-devel |
---|
32 | |
---|
33 | %description devel |
---|
34 | %{summary}. |
---|
35 | |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q |
---|
39 | |
---|
40 | %build |
---|
41 | mkdir -p %{_target_platform} |
---|
42 | pushd %{_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 | .. |
---|
52 | popd |
---|
53 | |
---|
54 | make %{?_smp_mflags} -C %{_target_platform} |
---|
55 | |
---|
56 | |
---|
57 | %install |
---|
58 | rm -rf %{buildroot} |
---|
59 | |
---|
60 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
61 | |
---|
62 | |
---|
63 | %post -p /sbin/ldconfig |
---|
64 | |
---|
65 | %postun -p /sbin/ldconfig |
---|
66 | |
---|
67 | |
---|
68 | %files |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %doc COPYING COPYING.DOC README |
---|
71 | %{_libdir}/libkmahjongglib.so.* |
---|
72 | %{_datadir}/kde4/apps/kmahjongglib/ |
---|
73 | |
---|
74 | %files devel |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %{_includedir}/kde4/* |
---|
77 | %{_libdir}/libkmahjongglib.so |
---|
78 | |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
---|
82 | - rebuild with gcc-5.4.0 |
---|
83 | |
---|
84 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
91 | - new upstream release |
---|
92 | |
---|
93 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
100 | - initial build |
---|