source: projects/specs/trunk/lib/libk/libkdegames/libkdegames-vl.spec @ 7801

Revision 7801, 2.0 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.11.1

Line 
1Name:    libkdegames
2Summary: The library for the KDE games
3Summary(ja): KDEゲーム用ライブラリ
4Version: 4.11.1
5Release: 1%{?_dist_release}
6
7License: GPLv2+, LGPLv2 and FDL
8URL:     https://code.launchpad.net/~neon/kdegames/libkdegames
9Group:   System Environment/Libraries
10
11Source0: ftp://ftp.kde.org/pub/kde/table/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: kdelibs-devel >= %{version}
15BuildRequires: libsndfile-devel
16BuildRequires: openal-soft-devel
17
18Requires: kdelibs >= %{version}
19
20%description
21This package contains the library for the kdegames package.
22
23%package devel
24Summary:  Development files for %{name}
25Summary(ja): %{name} の開発用ファイル
26Group:   Development/Libraries
27Requires: %{name} = %{version}-%{release}
28Requires: kdelibs-devel
29
30%description devel
31%{summary}.
32
33
34%prep
35%setup -q
36
37%build
38mkdir -p %{_target_platform}
39pushd %{_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    ..
49popd
50
51make %{?_smp_mflags} -C %{_target_platform}
52
53
54%install
55rm -rf %{buildroot}
56
57make 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}/libkdegames.so.*
69%{_libdir}/libkdegamesprivate.so.*
70%{_libdir}/kde4/imports/org/kde/games/core
71%{_datadir}/kde4/apps/carddecks/
72%{_datadir}/kde4/apps/kconf_update/kgthemeprovider-migration.upd
73
74%files devel
75%defattr(-,root,root,-)
76%{_includedir}/kde4/*
77%{_libdir}/libkdegames.so
78%{_libdir}/libkdegamesprivate.so
79%{_libdir}/cmake/KDEGames
80
81
82%changelog
83* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
84- new upstream release
85
86* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
87- initial build
Note: See TracBrowser for help on using the repository browser.