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