1 | Name: libkdegames |
---|
2 | Summary: The library for the KDE games |
---|
3 | Summary(ja): KDEゲーム用ライブラリ |
---|
4 | Version: 4.12.5 |
---|
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: libsndfile-devel |
---|
16 | BuildRequires: openal-soft-devel |
---|
17 | |
---|
18 | Requires: kdelibs >= %{version} |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | This package contains the library for the kdegames package. |
---|
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}/libkdegames.so.* |
---|
72 | %{_libdir}/libkdegamesprivate.so.* |
---|
73 | %{_libdir}/kde4/imports/org/kde/games/core |
---|
74 | %{_datadir}/kde4/apps/carddecks/ |
---|
75 | %{_datadir}/kde4/apps/kconf_update/kgthemeprovider-migration.upd |
---|
76 | |
---|
77 | %files devel |
---|
78 | %defattr(-,root,root,-) |
---|
79 | %{_includedir}/kde4/* |
---|
80 | %{_libdir}/libkdegames.so |
---|
81 | %{_libdir}/libkdegamesprivate.so |
---|
82 | %{_libdir}/cmake/KDEGames |
---|
83 | |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
99 | - initial build |
---|