1 | Name: libkmahjongg |
---|
2 | Summary: The library for KDE mahjongg game |
---|
3 | Summary(ja): KDE麻雀系ゲーム用ライブラリ |
---|
4 | Version: 4.11.4 |
---|
5 | Release: 1%{?_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 | %description |
---|
21 | This package contains the library used for loading and rendering of Mahjongg tilesets and associated backgrounds, used by KMahjongg and KShisen. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development files for %{name} |
---|
25 | Summary(ja): %{name} の開発用ファイル |
---|
26 | Group: Development/Libraries |
---|
27 | Requires: %{name} = %{version}-%{release} |
---|
28 | Requires: kdelibs-devel |
---|
29 | |
---|
30 | %description devel |
---|
31 | %{summary}. |
---|
32 | |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | |
---|
37 | %build |
---|
38 | mkdir -p %{_target_platform} |
---|
39 | pushd %{_target_platform} |
---|
40 | %cmake \ |
---|
41 | -DCMAKE_BUILD_TYPE=release \ |
---|
42 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
43 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
44 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
45 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
46 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
47 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
48 | .. |
---|
49 | popd |
---|
50 | |
---|
51 | make %{?_smp_mflags} -C %{_target_platform} |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
58 | |
---|
59 | |
---|
60 | %post -p /sbin/ldconfig |
---|
61 | |
---|
62 | %postun -p /sbin/ldconfig |
---|
63 | |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %doc COPYING COPYING.DOC README |
---|
68 | %{_libdir}/libkmahjongglib.so.* |
---|
69 | %{_datadir}/kde4/apps/kmahjongglib/ |
---|
70 | |
---|
71 | %files devel |
---|
72 | %defattr(-,root,root,-) |
---|
73 | %{_includedir}/kde4/* |
---|
74 | %{_libdir}/libkmahjongglib.so |
---|
75 | |
---|
76 | |
---|
77 | %changelog |
---|
78 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
79 | - new upstream release |
---|
80 | |
---|
81 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
82 | - new upstream release |
---|
83 | |
---|
84 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
85 | - initial build |
---|