1 | Name: kate |
---|
2 | Summary: Advanced Text Editor |
---|
3 | Summary(ja): 高機能なテキストエディタ |
---|
4 | Version: 4.12.5 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | # kwrite LGPLv2+ |
---|
8 | # kate: app LGPLv2, plugins, LGPLv2 and LGPLv2+ and GPLv2+ |
---|
9 | # ktexteditor: LGPLv2 |
---|
10 | # katepart: LGPLv2 |
---|
11 | License: LGPLv2 and LGPLv2+ and GPLv2+ |
---|
12 | Group: Applications/Editors |
---|
13 | URL: https://projects.kde.org/projects/kde/kdebase/kate |
---|
14 | |
---|
15 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version} |
---|
18 | BuildRequires: desktop-file-utils |
---|
19 | BuildRequires: kdelibs-devel >= %{version} |
---|
20 | BuildRequires: kactivities-devel >= %{version} |
---|
21 | BuildRequires: soprano-devel |
---|
22 | BuildRequires: sip-devel |
---|
23 | BuildRequires: python-devel |
---|
24 | BuildRequires: PyQt4-devel |
---|
25 | BuildRequires: PyKDE4-devel |
---|
26 | BuildRequires: qjson-devel |
---|
27 | |
---|
28 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
29 | Requires: %{name}-part = %{version}-%{release} |
---|
30 | Requires: %{name}-libs = %{version}-%{release} |
---|
31 | |
---|
32 | Vendor: Project Vine |
---|
33 | Distribution: Vine Linux |
---|
34 | |
---|
35 | %description |
---|
36 | %{summary}. |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development files for %{name} |
---|
40 | Summary(ja): %{name} の開発用ファイル |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name}-libs = %{version}-%{release} |
---|
43 | Requires: kdelibs-devel |
---|
44 | |
---|
45 | %description devel |
---|
46 | %{summary}. |
---|
47 | |
---|
48 | %package libs |
---|
49 | Summary: Runtime files for %{name} |
---|
50 | Summary(ja): %{name} のランタイムライブラリ |
---|
51 | Group: System Environment/Libraries |
---|
52 | # when split occurred |
---|
53 | Conflicts: kdesdk4-libs < 4.6.95-10 |
---|
54 | #Requires: %{name} = %{version}-%{release} |
---|
55 | |
---|
56 | %description libs |
---|
57 | %{summary}. |
---|
58 | |
---|
59 | %package part |
---|
60 | Summary: Kate kpart plugin |
---|
61 | Summary(ja): Kate kpart プラグイン |
---|
62 | License: LGPLv2 |
---|
63 | Group: Applications/Editors |
---|
64 | # when split occurred |
---|
65 | Conflicts: kdelibs4 < 4.6.95-10 |
---|
66 | |
---|
67 | %description part |
---|
68 | %{summary}. |
---|
69 | |
---|
70 | %package -n kwrite |
---|
71 | Summary: Text Editor |
---|
72 | Summary(ja): テキストエディタ |
---|
73 | License: LGPLv2+ |
---|
74 | Group: Applications/Editors |
---|
75 | # when split occurred |
---|
76 | Conflicts: kdebase4 < 4.6.95-10 |
---|
77 | Requires: %{name}-part = %{version}-%{release} |
---|
78 | Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} |
---|
79 | |
---|
80 | %description -n kwrite |
---|
81 | %{summary}. |
---|
82 | |
---|
83 | %package pate |
---|
84 | Summary: Kate python plugin |
---|
85 | Summary(ja): Kate python プラグイン |
---|
86 | License: LGPLv2 |
---|
87 | Group: System Environment/Libraries |
---|
88 | |
---|
89 | %description pate |
---|
90 | %{summary}. |
---|
91 | |
---|
92 | %prep |
---|
93 | %setup -q |
---|
94 | |
---|
95 | |
---|
96 | %build |
---|
97 | mkdir -p %{_target_platform} |
---|
98 | pushd %{_target_platform} |
---|
99 | %cmake \ |
---|
100 | -DCMAKE_BUILD_TYPE=release \ |
---|
101 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
102 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
103 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
104 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
105 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
106 | .. |
---|
107 | popd |
---|
108 | |
---|
109 | make %{?_smp_mflags} -C %{_target_platform} |
---|
110 | |
---|
111 | |
---|
112 | %install |
---|
113 | rm -rf $RPM_BUILD_ROOT |
---|
114 | |
---|
115 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
116 | |
---|
117 | # move devel symlinks (that would otherwise conflict with kdelibs3-devel) |
---|
118 | mkdir -p $RPM_BUILD_ROOT%{_libdir}/kde4/devel |
---|
119 | pushd $RPM_BUILD_ROOT%{_libdir} |
---|
120 | for i in lib*.so |
---|
121 | do |
---|
122 | case "$i" in |
---|
123 | libkate*interfaces.so) |
---|
124 | linktarget=`readlink "$i"` |
---|
125 | rm -f "$i" |
---|
126 | ln -sf "../../$linktarget" "kde4/devel/$i" |
---|
127 | ;; |
---|
128 | esac |
---|
129 | done |
---|
130 | popd |
---|
131 | |
---|
132 | ## unpackaged files |
---|
133 | # playground artsticomment -devel bits |
---|
134 | rm -fv $RPM_BUILD_ROOT%{_includedir}/kde4/artisticcomment.h |
---|
135 | rm -fv $RPM_BUILD_ROOT%{_libdir}/libacomment.a |
---|
136 | |
---|
137 | |
---|
138 | %check |
---|
139 | for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do |
---|
140 | desktop-file-validate $f |
---|
141 | done |
---|
142 | |
---|
143 | |
---|
144 | %post |
---|
145 | touch --no-create %{_datadir}icons/hicolor &> /dev/null || : |
---|
146 | |
---|
147 | %posttrans |
---|
148 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
149 | update-mime-database %{_datadir}/mime >& /dev/null |
---|
150 | |
---|
151 | %postun |
---|
152 | if [ $1 -eq 0 ] ; then |
---|
153 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
154 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
155 | update-mime-database %{_datadir}/mime >& /dev/null |
---|
156 | fi |
---|
157 | |
---|
158 | %post part -p /sbin/ldconfig |
---|
159 | %postun part -p /sbin/ldconfig |
---|
160 | |
---|
161 | |
---|
162 | %files |
---|
163 | %doc kate/AUTHORS kate/ChangeLog kate/COPYING.LIB kate/README kate/TODO |
---|
164 | %{_bindir}/kate |
---|
165 | %{_libdir}/libkdeinit4_kate.so |
---|
166 | %{_datadir}/applications/kde4/kate.desktop |
---|
167 | %{_datadir}/kde4/apps/kate/ |
---|
168 | %{_datadir}/kde4/apps/katexmltools/ |
---|
169 | %{_datadir}/kde4/apps/kconf_update/kate*.upd |
---|
170 | %{_datadir}/icons/hicolor/*/*/* |
---|
171 | %{_mandir}/man1/kate.1.gz |
---|
172 | %{_datadir}/config/katerc |
---|
173 | %{_datadir}/kde4/services/kate*.desktop |
---|
174 | %{_libdir}/kde4/kate*plugin.so |
---|
175 | %{_libdir}/kde4/katefiletemplates.so |
---|
176 | %{_datadir}/kde4/apps/katepart/ |
---|
177 | %{_datadir}/kde4/apps/ktexteditor_*/ |
---|
178 | %{_datadir}/kde4/services/ktexteditor_*.desktop |
---|
179 | %{_libdir}/kde4/ktexteditor_*.so |
---|
180 | %{_datadir}/kde4/services/plasma-applet-katesession.desktop |
---|
181 | %{_datadir}/kde4/servicetypes/kateplugin.desktop |
---|
182 | %{_libdir}/kde4/plasma_applet_katesession.so |
---|
183 | %{_libdir}/kde4/kate_kttsd.so |
---|
184 | %{_datadir}/config/ktexteditor_codesnippets_core.knsrc |
---|
185 | # these should *probably* be moved to hicolor -- rex |
---|
186 | %{_datadir}/doc/HTML/en/kate/ |
---|
187 | |
---|
188 | %files libs |
---|
189 | %{_libdir}/libkateinterfaces.so.4* |
---|
190 | %{_libdir}/libkatepartinterfaces.so.4* |
---|
191 | |
---|
192 | %files devel |
---|
193 | %{_libdir}/kde4/devel/libkateinterfaces.so |
---|
194 | %{_libdir}/kde4/devel/libkatepartinterfaces.so |
---|
195 | %{_includedir}/kde4/kate_export.h |
---|
196 | %{_includedir}/kde4/kate/ |
---|
197 | |
---|
198 | %files part |
---|
199 | %doc part/AUTHORS part/ChangeLog part/COPYING.LIB |
---|
200 | %doc part/INDENTATION part/NEWS part/README* part/TODO* |
---|
201 | %{_libdir}/kde4/katepart.so |
---|
202 | %{_libdir}/libkatepartinterfaces.so.4* |
---|
203 | %{_datadir}/config/katemoderc |
---|
204 | %{_datadir}/kde4/services/katepart.desktop |
---|
205 | |
---|
206 | %files -n kwrite |
---|
207 | %{_bindir}/kwrite |
---|
208 | %{_datadir}/kde4/apps/kwrite |
---|
209 | %{_libdir}/libkdeinit4_kwrite.so |
---|
210 | %{_datadir}/applications/kde4/kwrite.desktop |
---|
211 | %{_datadir}/doc/HTML/en/kwrite/ |
---|
212 | |
---|
213 | %files pate |
---|
214 | %{python_sitearch}/PyKate4 |
---|
215 | %{_datadir}/config/kateschemarc |
---|
216 | %{_datadir}/config/katesyntaxhighlightingrc |
---|
217 | %{_datadir}/kde4/services/pate.desktop |
---|
218 | |
---|
219 | |
---|
220 | %changelog |
---|
221 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
222 | - new upstream release |
---|
223 | |
---|
224 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
225 | - new upstream release |
---|
226 | |
---|
227 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
228 | - new upstream release |
---|
229 | |
---|
230 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
231 | - new upstream release |
---|
232 | |
---|
233 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
234 | - new upstream release |
---|
235 | - add BuildRequires: kactivities-devel, sip-devel, python-devel, PyQt4-devel, PyKDE4-devel, qjson-devel |
---|
236 | - create %%{name}-pate subpackage |
---|
237 | |
---|
238 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
239 | - new upstream release |
---|
240 | |
---|
241 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
242 | - new upstream release |
---|
243 | |
---|
244 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
245 | - new upstream release |
---|
246 | |
---|
247 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
248 | - new upstream release |
---|
249 | |
---|
250 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
251 | - new upstream release |
---|
252 | |
---|
253 | * Fri Dec 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1 |
---|
254 | - new upstream release |
---|
255 | |
---|
256 | * Sat Oct 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
257 | - new upstream release |
---|
258 | |
---|
259 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
260 | - Initial build for Vine Linux |
---|
261 | |
---|
262 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
263 | - 4.7.0 |
---|
264 | |
---|
265 | * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
266 | - first try |
---|
267 | |
---|