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