source: projects/specs/trunk/k/kanagram/kanagram-vl.spec @ 8430

Revision 8430, 3.9 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.12.5

Line 
1Name: kanagram
2Summary: jumble word puzzle for KDE
3Version: 4.12.5
4Release: 1%{?_dist_release}
5
6License: GPLv2+
7Group: Applications/Edutainment
8URL: http://edu.kde.org/kanagram/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12## upstream patches
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16Requires:  %{name}-libs = %{version}-%{release}
17BuildRequires: desktop-file-utils
18BuildRequires: kdelibs4-devel >= %{version}
19BuildRequires: libkdeedu-devel >= %{version}
20
21Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
22
23Conflicts: kdeedu4 < 4.6.50
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29KAnagram is a game where a random word is shown with its letters scrambled. To win, the player must rearrange the letters into the correct order.
30
31This package is part of the KDE education module.
32
33
34%package libs
35Summary: Runtime libraries for %{name}
36Summary(ja): %{name} のランタイムライブラリ
37Group:   System Environment/Libraries
38Requires: kdelibs4 >= %{version}
39
40%description libs
41%{summary}.
42
43%description -l ja libs
44%{name} のランタイムライブラリです.
45
46
47%package devel
48Summary:   Development files for %{name}
49Summary(ja): %{name} の開発用ファイル
50Group:     Development/Libraries
51Requires:  %{name}-libs = %{version}-%{release}
52Requires:  kdelibs4-devel
53
54%description devel
55%{summary}.
56
57%description -l ja devel
58%{name} の開発用ファイルです.
59
60
61%prep
62%setup -q
63
64%build
65mkdir -p %{_target_platform}
66pushd %{_target_platform}
67%cmake \
68    -DCMAKE_BUILD_TYPE=release \
69    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
70    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
71    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
72    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
73    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
74    ..
75popd
76
77make %{?_smp_mflags} -C %{_target_platform}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%check
87for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
88    desktop-file-validate $f
89done
90
91
92%post
93touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
94
95%posttrans
96update-desktop-database -q &> /dev/null ||:
97gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
98
99%postun
100if [ $1 -eq 0 ] ; then
101    update-desktop-database -q &> /dev/null ||:
102    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
103    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
104fi
105
106%files
107%defattr(-,root,root,-)
108%doc COPYING COPYING.DOC
109%{_bindir}/%{name}
110%{_datadir}/applications/kde4/%{name}.desktop
111%{_datadir}/config/%{name}.knsrc
112%{_datadir}/config.kcfg/%{name}.kcfg
113%{_datadir}/icons/hicolor/*/*/*
114%{_datadir}/kde4/apps/%{name}
115%doc %{_docdir}/HTML/en/%{name}/
116
117%files libs
118%defattr(-,root,root,-)
119%{_libdir}/libkanagramengine.so.*
120
121
122%files devel
123%defattr(-,root,root,-)
124%{_includedir}/%{name}
125%{_libdir}/libkanagramengine.so
126
127
128%changelog
129* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
130- new upstream release
131
132* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
133- new upstream release
134
135* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
136- new upstream release
137
138* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
139- new upstream release
140
141* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
142- new upstream release
143
144* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
145- new upstream release
146
147* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
148- new upstream release
149
150* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
151- new upstream release
152
153* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
154- new upstream release
155
156* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
157- new upstream release
158- create -devel and -libs subpckages
159
160* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
161- split from kdeedu
162
Note: See TracBrowser for help on using the repository browser.