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

Revision 10564, 2.4 KB checked in by Takemikaduchi, 7 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:    libkmahjongg
2Summary: The library for KDE mahjongg game
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: libkdegames-devel >= %{version}
16
17Requires: kdelibs >= %{version}
18Requires: libkdegames >= %{version}
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24This package contains the library used for loading and rendering of Mahjongg tilesets and associated backgrounds, used by KMahjongg and KShisen.
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}/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
Note: See TracBrowser for help on using the repository browser.