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

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

rebuild with gcc-5.4.0

Line 
1Name:    libkdegames
2Summary: The library for the KDE games
3Summary(ja): KDEゲーム用ライブラリ
4Version: 4.14.3
5Release: 2%{?_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
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24This package contains the library for the kdegames package.
25
26%package devel
27Summary:  Development files for %{name}
28Summary(ja): %{name} の開発用ファイル
29Group:   Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: kdelibs-devel
32
33%description devel
34%{summary}.
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 %{buildroot}
59
60make 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* Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
87- rebuild with gcc-5.4.0
88
89* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
90- new upstream release
91
92* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
93- new upstream release
94
95* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
96- new upstream release
97
98* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
99- new upstream release
100
101* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
102- new upstream release
103
104* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
105- initial build
Note: See TracBrowser for help on using the repository browser.