source: projects/specs/trunk/p/palapeli/palapeli-vl.spec @ 9222

Revision 9222, 3.4 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

RevLine 
[7728]1Name: palapeli
2Summary: Jigsaw puzzle game for KDE
[9222]3Version: 4.14.3
[7728]4Release: 1%{?_dist_release}
5
6License: GPLv2
[9222]7Group: Applications/Games
[7728]8URL: http://www.kde.org/applications/games/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: desktop-file-utils
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: libkdegames-devel >= %{version}
17
18Requires(posttrans,postun): desktop-file-utils
19Requires(post,postun): shared-mime-info
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: Takemikaduchi
24
25%description
26Palapeli is a single-player jigsaw puzzle game. Unlike other games in that genre,
27you are not limited to aligning pieces on imaginary grids. The pieces are freely
28moveable. Also, Palapeli features real persistency, i.e. everything you do is saved
29on your disk immediately.
30
31
32%package devel
33Summary:  Development files for %{name}
34Summary(ja): %{name} の開発用ファイル
35Group:   Development/Libraries
36Requires: %{name} = %{version}-%{release}
37Requires: kdelibs-devel
38
39%description devel
40%{summary}.
41
42
43%prep
44%setup -q
45
46%build
47mkdir -p %{_target_platform}
48pushd %{_target_platform}
49%cmake \
50    -DCMAKE_BUILD_TYPE=release \
51    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
52    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
53    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
54    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
55    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
56    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
57    ..
58popd
59
60make %{?_smp_mflags} -C %{_target_platform}
61
62
63%install
64rm -rf $RPM_BUILD_ROOT
65make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post
71touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
72update-mime-database %{_datadir}/mime &> /dev/null || :
73
74%posttrans
75gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
76update-desktop-database -q &> /dev/null ||:
77
78%postun
79update-mime-database %{_datadir}/mime &> /dev/null || :
80if [ $1 -eq 0 ] ; then
81    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
82    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
83        update-desktop-database -q &> /dev/null ||:
84fi
85
86
87%files
88%defattr(-,root,root)
89%doc COPYING COPYING.DOC
90%{_bindir}/%{name}
91%{_libdir}/libpala.so.*
92%{_libdir}/kde4/*.so
93%{_datadir}/applications/kde4/%{name}.desktop
94%{_datadir}/config/palapeli-collectionrc
95%{_datadir}/icons/hicolor/*/*/*
96%{_datadir}/kde4/apps/%{name}
97%{_datadir}/kde4/services/*.desktop
98%{_datadir}/kde4/services/ServiceMenus/palapeli_servicemenu.desktop
99%{_datadir}/kde4/servicetypes/libpala-slicerplugin.desktop
100%{_datadir}/mime/packages/palapeli-mimetypes.xml
101%doc %{_docdir}/HTML/en/%{name}/
102
103%files devel
104%defattr(-,root,root)
105%{_includedir}/kde4/Pala
106%{_includedir}/kde4/libpala
107%{_libdir}/libpala.so
108%{_libdir}/libpala/*.cmake
109
110%changelog
[9222]111* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
112- new upstream release
113
[8430]114* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
115- new upstream release
116
[8252]117* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
118- new upstream release
119
[8056]120* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
121- new upstream release
122
[7801]123* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
124- new upstream release
125
[7728]126* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
127- initial build
Note: See TracBrowser for help on using the repository browser.