]>
Commit | Line | Data |
---|---|---|
ac0d68bd | 1 | %define kdeappsver 21.12.3 |
48119b3f | 2 | %define kframever 5.56.0 |
1dce20a1 | 3 | %define qtver 5.9.0 |
d76da3c4 WF |
4 | %define kaname kate |
5 | ||
6 | Summary: K Desktop Environment - Advanced Text Editor | |
7 | Summary(pl.UTF-8): K Desktop Environment - Zaawansowany edytor tekstu | |
8 | Name: ka5-%{kaname} | |
ac0d68bd | 9 | Version: 21.12.3 |
e360b2c2 | 10 | Release: 2 |
d76da3c4 WF |
11 | License: GPL |
12 | Group: X11/Applications/Editors | |
da740faa | 13 | Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
ac0d68bd | 14 | # Source0-md5: bf1c02c26c45fe03d4be8603105413b4 |
d76da3c4 | 15 | URL: http://www.kde.org/ |
1dce20a1 WF |
16 | BuildRequires: Qt5Core-devel |
17 | BuildRequires: Qt5DBus-devel | |
18 | BuildRequires: Qt5Gui-devel >= 5.11.1 | |
19 | BuildRequires: Qt5Sql-devel | |
20 | BuildRequires: Qt5Test-devel >= 5.4.0 | |
21 | BuildRequires: Qt5Widgets-devel | |
22 | BuildRequires: gettext-devel | |
48119b3f WF |
23 | BuildRequires: kf5-extra-cmake-modules >= %{kframever} |
24 | BuildRequires: kf5-kconfig-devel >= %{kframever} | |
25 | BuildRequires: kf5-kcrash-devel >= %{kframever} | |
26 | BuildRequires: kf5-kdbusaddons-devel >= %{kframever} | |
27 | BuildRequires: kf5-kguiaddons-devel >= %{kframever} | |
28 | BuildRequires: kf5-ki18n-devel >= %{kframever} | |
29 | BuildRequires: kf5-kiconthemes-devel >= %{kframever} | |
30 | BuildRequires: kf5-kio-devel >= %{kframever} | |
31 | BuildRequires: kf5-kjobwidgets-devel >= %{kframever} | |
32 | BuildRequires: kf5-knewstuff-devel >= %{kframever} | |
33 | BuildRequires: kf5-kparts-devel >= %{kframever} | |
34 | BuildRequires: kf5-ktexteditor-devel >= %{kframever} | |
35 | BuildRequires: kf5-kwindowsystem-devel >= %{kframever} | |
36 | BuildRequires: kf5-kxmlgui-devel >= %{kframever} | |
443db19f | 37 | BuildRequires: ninja |
d76da3c4 WF |
38 | BuildRequires: shared-mime-info |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
41 | %description | |
42 | KDE advanced text editor featuring among others: | |
43 | - fast opening/editing of files even the big ones (opens a 50MB file | |
44 | in a few seconds) | |
45 | - powerful syntaxhighlighting engine, extensible via XML files | |
46 | - Code Folding capabilities for C++, C, PHP and more | |
47 | - Dynamic Word Wrap - long lines are wrapped at the window border on | |
48 | the fly for better overview | |
49 | - multiple views allows you to view more instances of the same | |
50 | document and/or more documents at one time | |
51 | - support for different encodings globally and at write time | |
52 | - built in dockable terminal emulation | |
53 | - sidebars with a list of open documents, a directory viewer with a | |
54 | directory chooser, a filter chooser and more | |
55 | - a plugin interface to allow third party plugins | |
56 | - a "Filter" command allows you to run selected text through a shell | |
57 | command | |
58 | ||
59 | KWrite is a simple texteditor, with syntaxhighlighting, codefolding, | |
60 | dynamic word wrap and more, it's the lightweight version of Kate, | |
61 | providing more speed for minor tasks. | |
62 | ||
63 | %description -l pl.UTF-8 | |
64 | Kate (KDE advanced text editor) to zaawansowany edytor tekstu KDE o | |
65 | możliwościach obejmujących m.in.: | |
ac0d68bd WF |
66 | - szybkie otwieranie i edycję nawet dużych plików (otwiera plik |
67 | 50MB w parę sekund) | |
68 | - potężny silnik podświetlania składni, rozszerzalny za pomocą | |
69 | plików XML | |
d76da3c4 WF |
70 | - możliwość zwijania kodu dla C++, C, PHP i innych języków |
71 | - dynamiczne zawijanie wierszy - długie linie są zawijane na granicy | |
72 | okna w locie dla lepszej widoczności | |
ac0d68bd WF |
73 | - wiele widoków pozwalających oglądać więcej instancji tego |
74 | samego dokumentu i/lub więcej dokumentów w tym samym czasie | |
d76da3c4 WF |
75 | - obsługę różnych kodowań globalnie i w czasie zapisu |
76 | - wbudowaną emulację dokowalnego terminala | |
77 | - paski z listą otwartych dokumentów, przeglądarkę katalogów z | |
78 | możliwością wybierania katalogu i filtrów | |
79 | - interfejs wtyczek obsługujący zewnętrzne wtyczki | |
80 | - polecenie "Filtr" pozwalające przepuszczać zaznaczony tekst przez | |
81 | polecenie powłoki | |
82 | ||
83 | KWrite to prosty edytor tekstu z podświetlaniem składni, zwijaniem | |
84 | kodu, dynamicznym zawijaniem wierszy itp. Jest lżejszą wersją Kate, | |
85 | szybszą dla mniejszych zadań. | |
86 | ||
87 | %package devel | |
88 | Summary: kate development files | |
89 | Summary(pl.UTF-8): Pliki dla programistów kate | |
90 | Group: X11/Development/Libraries | |
91 | Requires: %{name} = %{version}-%{release} | |
92 | Obsoletes: kate-devel <= 4.8.0 | |
93 | ||
94 | %description devel | |
95 | kate development files. | |
96 | ||
97 | %description devel -l pl.UTF-8 | |
98 | Pliki dla programistów kate. | |
99 | ||
100 | %prep | |
101 | %setup -q -n %{kaname}-%{version} | |
102 | ||
103 | %build | |
104 | install -d build | |
105 | cd build | |
106 | %cmake \ | |
443db19f | 107 | -G Ninja \ |
48119b3f | 108 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
d76da3c4 WF |
109 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
110 | .. | |
443db19f | 111 | %ninja_build |
d76da3c4 WF |
112 | |
113 | %install | |
114 | rm -rf $RPM_BUILD_ROOT | |
443db19f | 115 | %ninja_install -C build |
d76da3c4 | 116 | |
da740faa WF |
117 | rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/ko |
118 | ||
d76da3c4 WF |
119 | %find_lang %{kaname} --all-name --with-kde |
120 | ||
121 | %clean | |
122 | rm -rf $RPM_BUILD_ROOT | |
123 | ||
124 | %post -p /sbin/ldconfig | |
125 | %postun -p /sbin/ldconfig | |
126 | ||
127 | %files -f %{kaname}.lang | |
128 | %defattr(644,root,root,755) | |
129 | %attr(755,root,root) %{_bindir}/kate | |
130 | %attr(755,root,root) %{_bindir}/kwrite | |
da740faa | 131 | %{_libdir}/qt5/plugins/ktexteditor/externaltoolsplugin.so |
d76da3c4 WF |
132 | %{_libdir}/qt5/plugins/ktexteditor/katebacktracebrowserplugin.so |
133 | %{_libdir}/qt5/plugins/ktexteditor/katebuildplugin.so | |
134 | %{_libdir}/qt5/plugins/ktexteditor/katecloseexceptplugin.so | |
135 | %{_libdir}/qt5/plugins/ktexteditor/katectagsplugin.so | |
136 | %{_libdir}/qt5/plugins/ktexteditor/katefilebrowserplugin.so | |
137 | %{_libdir}/qt5/plugins/ktexteditor/katefiletreeplugin.so | |
138 | %{_libdir}/qt5/plugins/ktexteditor/kategdbplugin.so | |
139 | %{_libdir}/qt5/plugins/ktexteditor/katekonsoleplugin.so | |
d76da3c4 WF |
140 | %{_libdir}/qt5/plugins/ktexteditor/kateprojectplugin.so |
141 | %{_libdir}/qt5/plugins/ktexteditor/katereplicodeplugin.so | |
142 | %{_libdir}/qt5/plugins/ktexteditor/katesearchplugin.so | |
143 | %{_libdir}/qt5/plugins/ktexteditor/katesnippetsplugin.so | |
144 | %{_libdir}/qt5/plugins/ktexteditor/katesqlplugin.so | |
145 | %{_libdir}/qt5/plugins/ktexteditor/katesymbolviewerplugin.so | |
146 | %{_libdir}/qt5/plugins/ktexteditor/katexmlcheckplugin.so | |
147 | %{_libdir}/qt5/plugins/ktexteditor/katexmltoolsplugin.so | |
da740faa WF |
148 | %{_libdir}/qt5/plugins/ktexteditor/ktexteditorpreviewplugin.so |
149 | %{_libdir}/qt5/plugins/ktexteditor/lspclientplugin.so | |
d76da3c4 WF |
150 | %{_libdir}/qt5/plugins/ktexteditor/tabswitcherplugin.so |
151 | %{_libdir}/qt5/plugins/ktexteditor/textfilterplugin.so | |
a21f8f99 WF |
152 | %{_libdir}/qt5/plugins/ktexteditor/compilerexplorer.so |
153 | %{_libdir}/qt5/plugins/ktexteditor/latexcompletionplugin.so | |
d76da3c4 WF |
154 | %{_libdir}/qt5/plugins/plasma/dataengine/plasma_engine_katesessions.so |
155 | %{_desktopdir}/org.kde.kate.desktop | |
156 | %{_desktopdir}/org.kde.kwrite.desktop | |
157 | %{_iconsdir}/hicolor/128x128/apps/kate.png | |
158 | %{_iconsdir}/hicolor/128x128/apps/kwrite.png | |
159 | %{_iconsdir}/hicolor/16x16/apps/kate.png | |
160 | %{_iconsdir}/hicolor/16x16/apps/kwrite.png | |
161 | %{_iconsdir}/hicolor/22x22/apps/kate.png | |
162 | %{_iconsdir}/hicolor/22x22/apps/kwrite.png | |
163 | %{_iconsdir}/hicolor/32x32/apps/kate.png | |
164 | %{_iconsdir}/hicolor/32x32/apps/kwrite.png | |
165 | %{_iconsdir}/hicolor/48x48/apps/kate.png | |
166 | %{_iconsdir}/hicolor/48x48/apps/kwrite.png | |
167 | %{_iconsdir}/hicolor/64x64/apps/kate.png | |
168 | %{_iconsdir}/hicolor/64x64/apps/kwrite.png | |
da740faa WF |
169 | %dir %{_iconsdir}/hicolor/150x150 |
170 | %dir %{_iconsdir}/hicolor/150x150/apps | |
171 | %{_iconsdir}/hicolor/150x150/apps/kate.png | |
172 | %dir %{_iconsdir}/hicolor/310x310 | |
173 | %dir %{_iconsdir}/hicolor/310x310/apps | |
174 | %{_iconsdir}/hicolor/310x310/apps/kate.png | |
175 | %dir %{_iconsdir}/hicolor/44x44 | |
176 | %dir %{_iconsdir}/hicolor/44x44/apps | |
177 | %{_iconsdir}/hicolor/44x44/apps/kate.png | |
178 | %dir %{_iconsdir}/hicolor/256x256 | |
179 | %dir %{_iconsdir}/hicolor/256x256/apps | |
180 | %{_iconsdir}/hicolor/256x256/apps/kate.png | |
181 | %dir %{_iconsdir}/hicolor/512x512 | |
182 | %dir %{_iconsdir}/hicolor/512x512/apps | |
183 | %{_iconsdir}/hicolor/512x512/apps/kate.png | |
184 | %{_iconsdir}/hicolor/scalable/apps/kate.svg | |
d76da3c4 | 185 | %{_iconsdir}/hicolor/scalable/apps/kwrite.svgz |
f00ecbe0 | 186 | %dir %{_datadir}/kateproject |
d76da3c4 | 187 | %{_datadir}/kateproject/kateproject.example |
f00ecbe0 | 188 | %dir %{_datadir}/katexmltools |
d76da3c4 WF |
189 | %{_datadir}/katexmltools/html4-loose.dtd.xml |
190 | %{_datadir}/katexmltools/html4-strict.dtd.xml | |
191 | %{_datadir}/katexmltools/kcfg.dtd.xml | |
192 | %{_datadir}/katexmltools/kde-docbook.dtd.xml | |
193 | %{_datadir}/katexmltools/kpartgui.dtd.xml | |
194 | %{_datadir}/katexmltools/language.dtd.xml | |
195 | %{_datadir}/katexmltools/simplify_dtd.xsl | |
196 | %{_datadir}/katexmltools/testcases.xml | |
197 | %{_datadir}/katexmltools/xhtml1-frameset.dtd.xml | |
198 | %{_datadir}/katexmltools/xhtml1-strict.dtd.xml | |
199 | %{_datadir}/katexmltools/xhtml1-transitional.dtd.xml | |
200 | %{_datadir}/katexmltools/xslt-1.0.dtd.xml | |
d76da3c4 WF |
201 | %{_datadir}/kservices5/plasma-dataengine-katesessions.desktop |
202 | %{_mandir}/ca/man1/kate.1* | |
203 | %{_mandir}/de/man1/kate.1* | |
204 | %{_mandir}/es/man1/kate.1* | |
205 | %{_mandir}/it/man1/kate.1* | |
206 | %{_mandir}/man1/kate.1* | |
207 | %{_mandir}/nl/man1/kate.1* | |
208 | %{_mandir}/pt/man1/kate.1* | |
209 | %{_mandir}/pt_BR/man1/kate.1* | |
ac0d68bd | 210 | %{_mandir}/ru/man1/kate.1* |
d76da3c4 WF |
211 | %{_mandir}/sv/man1/kate.1* |
212 | %{_mandir}/uk/man1/kate.1* | |
213 | %{_datadir}/metainfo/org.kde.kate.appdata.xml | |
214 | %{_datadir}/metainfo/org.kde.kwrite.appdata.xml | |
215 | %{_datadir}/metainfo/org.kde.plasma.katesessions.appdata.xml | |
f00ecbe0 WF |
216 | %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions |
217 | %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/contents | |
218 | %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/contents/ui | |
d76da3c4 WF |
219 | %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/contents/ui/KateSessionsItemDelegate.qml |
220 | %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/contents/ui/Menu.qml | |
221 | %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/contents/ui/katesessions.qml | |
222 | %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/metadata.desktop | |
223 | %{_datadir}/plasma/plasmoids/org.kde.plasma.katesessions/metadata.json | |
224 | %{_datadir}/plasma/services/org.kde.plasma.katesessions.operations | |
3b9c996a WF |
225 | %{_libdir}/qt5/plugins/ktexteditor/katecolorpickerplugin.so |
226 | %{_libdir}/qt5/plugins/ktexteditor/kategitblameplugin.so | |
6bc6dafd WF |
227 | %{_libdir}/qt5/plugins/ktexteditor/rainbowparens.so |
228 | %{_datadir}/kservices5/plasma-applet-org.kde.plasma.katesessions.desktop |