2 %define orgname kdewebdev
5 Summary: Web development tools for KDE
6 Summary(es.UTF-8): Uno editor WEB para KDE
7 Summary(pl.UTF-8): Narzędzia do tworzenia WWW dla KDE
8 Summary(pt_BR.UTF-8): Um editor web para o KDE
13 Group: X11/Development/Tools
14 Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
15 # Source0-md5: 2025e1e290a689ac5109a184c26b5c34
16 URL: http://www.kde.org/
17 BuildRequires: automoc4 >= 0.9.88
18 BuildRequires: boost-devel
19 BuildRequires: cmake >= 2.8.0
20 BuildRequires: kde4-kdelibs-devel >= %{version}
21 BuildRequires: kde4-kdepimlibs-devel >= %{version}
22 BuildRequires: libgcrypt-devel
23 BuildRequires: libxml2-devel >= 1:2.6.0
24 BuildRequires: libxslt-devel >= 1.0.18
25 BuildRequires: phonon-devel >= 4.4.1
26 BuildRequires: qt4-build >= %{qtver}
27 BuildRequires: qt4-qmake >= %{qtver}
28 BuildRequires: rpmbuild(macros) >= 1.600
29 BuildRequires: ruby-devel
30 BuildRequires: tidy-devel
31 BuildRequires: zlib-devel
32 BuildConflicts: quanta
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Quanta Plus is a web development tool for the K Desktop Environment.
37 Quanta is designed for quick web development and is rapidly becoming a
38 mature editor with a number of great features.
40 %description -l es.UTF-8
41 Quanta Plus és una herramienta de desarrollo web para KDE. Es
42 projetado para rapido desarrollo web e es casi pronto com excelent
43 quantidad de caracteristicas.
45 %description -l pl.UTF-8
46 Quanta Plus to narzędzie do tworzenia WWW dla środowiska KDE. Służy do
47 szybkiego tworzenia stron i staje się dojrzałym edytorem z wieloma
48 przydatnymi możliwościami.
50 %description -l pt_BR.UTF-8
51 O Quanta Plus é uma ferramenta para desenvolvimento web para o KDE. É
52 projetado para desenvolvimento web rápido e está rapidamente se
53 tornando um editor maduro com um bom número de excelentes
57 Summary: A powerful string replacer
58 Summary(pl.UTF-8): Rozbudowane narzędzie do zamiany tekstu
59 Group: X11/Development/Tools
60 Requires: kde4-kdebase >= %{version}
61 Conflicts: quanta < 1:3.2.90
63 %description kfilereplace
64 KFileReplace is a KDE utility which replace some strings with others
65 in a lot of files in an only operation.
67 %description kfilereplace -l pl.UTF-8
68 KFileReplace to narzędzie do masowej zmiany różnych tekstów w dużej
69 ilości plików, podczas jednej operacji.
71 %package kimagemapeditor
72 Summary: An HTML image map editor
73 Summary(pl.UTF-8): Edytor map obrazów w HTML
74 Group: X11/Development/Tools
75 Requires: kde4-kdebase >= %{version}
77 %description kimagemapeditor
78 An HTML image map editor.
80 %description kimagemapeditor -l pl.UTF-8
81 Edytor map obrazów w HTML.
84 Summary: Link checker for KDE
85 Summary(pl.UTF-8): Program do sprawdzania odnośników pod KDE
86 Group: X11/Development/Tools
87 Requires: kde4-kdebase >= %{version}
89 %description klinkstatus
90 KLinkStatus is an Open Source tool for checking links in a web page.
91 It can search by depth, domain or both. On a domain search it's also
92 possible to choose the search depth of URLs with foreign domain. For
93 performance, it supports several simultaneous connections and try to
94 use the same connection for the same sequence of requests.
96 %description klinkstatus -l pl.UTF-8
97 KLinkStatus jest narzędziem do sprawdzania odnośników na stronie.
98 Obsługuje wyszukiwanie według głębokości, domeny lub obu naraz. W
99 wyszukiwaniu według domeny można również dodać maksymalną głębokość
100 dla pozostałych domen. Dla uzyskania jak najlepszej wydajności program
101 obsługuje symultaniczne połączenia oraz próbuje wykorzystać jedno
102 połączenie dla wszystkich sekwencji żądań.
104 %package klinkstatus-devel
105 Summary: Development files for klinkstatus library
106 Summary(pl.UTF-8): Pliki programistyczne biblioteki klinkstatus
107 Group: X11/Development/Tools
108 Requires: kde4-kdewebdev-klinkstatus = %{version}-%{release}
110 %description klinkstatus-devel
111 Development files for klinkstatus library.
113 %description klinkstatus-devel -l pl.UTF-8
114 Pliki programistyczne biblioteki klinkstatus.
117 Summary: A langauage independent visual dialog building tool
118 Summary(pl.UTF-8): Niezależne od języka narzędzie do budowy okien dialogowych
119 Group: X11/Development/Tools
120 Requires: %{name}-kommander-executor = %{version}-%{release}
121 Requires: kde4-kdebase >= %{version}
122 Conflicts: quanta < 1:3.2.3
124 %description kommander
125 Kommander is a visual dialog building tool which may be expanded to
126 create full mainwindow applications. The primary objective is to
127 create as much functionality as possible without using any scripting
128 language. This is provided by the following features:
129 - Specials - these are prefaced with an "@" like @widgetText. They
130 offer special features like the value of a widget, functions, aliases,
131 global variables and such.
132 - DCOP integration - this allows Kommander dialogs to control and be
133 controlled in interactions with other KDE applications.
134 - Signals and Slots - this is a little less intuitive to a new user.
135 It is under review for how we process things in the first major
136 release. These offer a limited event model for when a button is pushed
137 or a widget is changed. Combined with "Population Text" it is rather
140 The central key feature of Kommander dialogs is that you can bind text
141 (Kommander Text) to a widget. So if you have @widget1 and @widget2 and
142 they are line edits you can set Kommander to show their contents by
143 entering @widgetText in their Kommander Text area. Then enter "hello"
144 in @widget1 and "world" in @widget2. A button can have the string "My
145 first @widget1 @widget2 program in Kommander". If you run this dialog
146 from a console it will output "My first hello world program in
149 Kommander also seeks to build on standards. It is built on the Qt
150 Designer framework and creates *.ui files which it renames to *.kmdr.
151 It can easily import any KDE widget and this can be done without
152 having to rebuild Kommander, by using plugins.
154 Kommander's other significant factor is being language neutral and
155 allowing a Kommander dialog to be extended by using any scripting
156 language. Kommander positions itself in a unique position for wide
157 spread adoption. Multiple script languages can be used in a single
158 dialog and applications can be taken over by people using a different
159 language than the original developer and gradually converting and
160 extending it. New widgets and features can be instantly leveraged by
161 all available languages.
163 %description kommander -l pl.UTF-8
164 Kommander to wizualne narzędzie do tworzenia okien dialogowych, które
165 można rozszerzać o tworzenie pełnych aplikacji z głównym oknem.
166 Podstawowym celem jest tworzenie jak największej funkcjonalności bez
167 używania żadnego języka skryptowego. Mają to umożliwić następujące
169 - specjalne oznaczenia - poprzedzone znakiem "@", jak @widgetText.
170 Oferują one specjalne możliwości, takie jak wartość widgetu, funkcje,
171 aliasy, zmienne globalne itp.
172 - integracja DCOP - umożliwia oknom Kommandera sterowanie i bycie
173 sterowanym w interakcji z innymi aplikacjami KDE.
174 - Sygnały i sloty - są nieco mniej intuicyjne dla nowego użytkownika.
175 Jeszcze nie zostało ostatecznie ustalone, jak te rzeczy będą
176 przetwarzane w pierwszym wydaniu. Oferują one ograniczony model
177 zdarzeniowy dla sytuacji wciśnięcia przycisku czy zmiany widgetu. W
178 połączeniu z "Population Text" są dosyć potężnym narzędziem.
180 Kluczową cechą okien dialogowych Kommandera jest to, że można
181 przywiązać tekst (Kommander Text) do widgetu. Jeśli mamy @widget1 i
182 @widget2, i są one liniami edycji, można ustawić Kommandera, by
183 pokazywał ich zawartość poprzez wpisanie @widgetText w ich polach
184 Kommander Text. Potem można wpisać "hello" w @widget1 i "world" w
185 @widget2. Przycisk może mieć łańcuch "Mój pierwszy program @widget1
186 @widget2 w Kommanderze". Jeśli uruchomimy to okno dialogowe z konsoli,
187 wypisze ono "Mój pierwszy program hello world w Kommanderze".
189 Kommander także usiłuje być oparty na standardach. Jest zbudowany na
190 środowisku Qt Designera i tworzy pliki *.ui, którym zmienia nazwy na
191 - *.kmdr. Może łatwo zaimportować dowolny widget KDE, co można łatwo
192 zrobić poprzez użycie wtyczek, bez potrzeby przebudowywania
195 Kolejnym znaczącym czynnikiem Kommandera jest bycie niezależnym od
196 języka i możliwość rozszerzania poprzez użycie dowolnego języka
197 skryptowego. Konqueror plasuje się na unikalnej pozycji do szeroko
198 rozpowszechnionej adopcji. W jednym oknie dialogowym można użyć wiele
199 języków skryptowych, a aplikacje mogą być przejęte przez ludzi
200 używających innego języka niż oryginalny twórca, a później stopniowo
201 konwertowane i rozszerzane. Nowe widgety i możliwości mogą być
202 natychmiast poddane wszystkim dostępnym językom.
204 %package kommander-executor
205 Summary: Kommander executor
206 Summary(pl.UTF-8): Wykonawca Kommandera
207 Group: X11/Applications
208 Requires: kde4-kdebase >= %{version}
210 %description kommander-executor
211 Executor of Kommander scripts.
213 %description kommander-executor -l pl.UTF-8
214 Wykonawca skryptów Kommandera.
216 %package kommander-devel
217 Summary: Development files for kommander
218 Summary(pl.UTF-8): Nagłówki dla kommandera
219 Group: X11/Development/Libraries
220 Requires: %{name}-kommander-executor = %{version}-%{release}
221 Provides: quanta-devel = %{version}-%{release}
222 Obsoletes: quanta-devel
224 %description kommander-devel
225 Development files for kommander.
227 %description kommander-devel -l pl.UTF-8
228 Nagłówki dla kommandera.
231 Summary: KXsldbg - graphical debugger and frontend to xsldbg
232 Summary(pl.UTF-8): KXsldbg - graficzny debugger i frontend do xsldbg
233 Group: X11/Development/Tools
234 Requires: kde4-kdebase >= %{version}
235 Conflicts: quanta < 1:3.2.3
238 KXsldbg is a graphical debugger and a frontend to xsldbg. It allows
240 - set and modify breakpoints
241 - display value of expressions
242 - display information about breakpoints, templates, variables,
243 callstack, stylesheets and entities found
244 - move around XSL source and XML document via XPaths
245 - lookup PUBLIC and SYSTEM ID's in the current XML catalog
247 %description kxsldbg -l pl.UTF-8
248 KXsldbg to graficzny debugger i frontend do xsldbg. Pozwana na:
249 - ustawianie i modyfikowanie pułapek
250 - wyświetlanie wartości wyrażeń
251 - wyświetlanie informacji o znalezionych pułapkach, szablonach,
252 zmiennych, stosie wywołań, arkuszach stylów i encjach
253 - przenoszenie źródła XSL i dokumentu XML poprzez XPaths
254 - wyszukiwanie identyfikatorów PUBLIC i SYSTEM w bieżącym katalogu XML
257 Summary: Web development tool for KDE
258 Summary(es.UTF-8): Uno editor WEB para KDE
259 Summary(pl.UTF-8): Narzędzie do tworzenia WWW dla KDE
260 Summary(pt_BR.UTF-8): Um editor web para o KDE
261 Group: X11/Development/Tools
262 Requires: kde4-kdebase >= %{version}
263 # Applications required for full functionality:
264 Requires: kde4-kdesdk-kompare
265 Requires: kde4-kdewebdev-kfilereplace
266 Requires: kde4-kdewebdev-kimagemapeditor
267 Requires: kde4-kdewebdev-klinkstatus
268 Requires: kde4-kdewebdev-kommander
269 Requires: kde4-kdewebdev-kxsldbg
272 Quanta Plus is a web development tool for the K Desktop Environment.
273 Quanta is designed for quick web development and is rapidly becoming a
274 mature editor with a number of great features.
276 %description quanta -l es.UTF-8
277 Quanta Plus és una herramienta de desarrollo web para KDE. Es
278 projetado para rapido desarrollo web e es casi pronto com excelent
279 quantidad de caracteristicas.
281 %description quanta -l pl.UTF-8
282 Quanta Plus to narzędzie do tworzenia WWW dla środowiska KDE. Służy do
283 szybkiego tworzenia stron i staje się dojrzałym edytorem z wieloma
284 przydatnymi możliwościami.
286 %description quanta -l pt_BR.UTF-8
287 O Quanta Plus é uma ferramenta para desenvolvimento web para o KDE. É
288 projetado para desenvolvimento web rápido e está rapidamente se
289 tornando um editor maduro com um bom número de excelentes
293 %setup -q -n %{orgname}-%{version}
299 -LIBTIDY_INCLUDE_DIR=%{_includedir} \
305 rm -rf $RPM_BUILD_ROOT
307 %{__make} -C build install \
308 DESTDIR=$RPM_BUILD_ROOT \
309 kde_htmldir=%{_kdedocdir} \
310 kde_libs_htmldir=%{_kdedocdir}
312 %find_lang kfilereplace --with-kde
313 %find_lang kimagemapeditor --with-kde
314 %find_lang klinkstatus --with-kde
315 #%find_lang kommander --with-kde
316 #%find_lang kxsldbg --with-kde
317 #%find_lang quanta --with-kde
318 #%find_lang xsldbg --with-kde
319 #cat xsldbg.lang >> kxsldbg.lang
322 rm -rf $RPM_BUILD_ROOT
324 %post kommander-executor -p /sbin/ldconfig
325 %postun kommander-executor -p /sbin/ldconfig
327 %post klinkstatus -p /sbin/ldconfig
328 %postun klinkstatus -p /sbin/ldconfig
330 %files kfilereplace -f kfilereplace.lang
331 %defattr(644,root,root,755)
332 %attr(755,root,root) %{_bindir}/kfilereplace
333 %attr(755,root,root) %{_libdir}/kde4/libkfilereplacepart.so
334 %{_datadir}/apps/kfilereplace
335 %{_datadir}/apps/kfilereplacepart
336 %{_datadir}/kde4/services/kfilereplacepart.desktop
337 %{_desktopdir}/kde4/kfilereplace.desktop
338 %{_iconsdir}/[!l]*/*/apps/kfilereplace.png
340 %files kimagemapeditor -f kimagemapeditor.lang
341 %defattr(644,root,root,755)
342 %attr(755,root,root) %{_bindir}/kimagemapeditor
343 %attr(755,root,root) %{_libdir}/kde4/libkimagemapeditor.so
344 %{_datadir}/apps/kimagemapeditor
345 %{_datadir}/kde4/services/kimagemapeditorpart.desktop
346 %{_desktopdir}/kde4/kimagemapeditor.desktop
347 %{_iconsdir}/[!l]*/*/apps/kimagemapeditor.png
349 %files klinkstatus -f klinkstatus.lang
350 %defattr(644,root,root,755)
351 %attr(755,root,root) %{_bindir}/klinkstatus
352 %attr(755,root,root) %{_libdir}/libklinkstatuscommon.so.4.*.*
353 %attr(755,root,root) %ghost %{_libdir}/libklinkstatuscommon.so.4
354 %attr(755,root,root) %{_libdir}/kde4/klinkstatuspart.so
355 %attr(755,root,root) %{_libdir}/kde4/krossmoduleklinkstatus.so
356 %{_datadir}/apps/klinkstatus
357 %{_datadir}/apps/klinkstatuspart
358 %{_datadir}/kde4/services/klinkstatus_part.desktop
359 %{_datadir}/kde4/services/krossmoduleklinkstatus.desktop
360 %{_desktopdir}/kde4/klinkstatus.desktop
361 %{_iconsdir}/hicolor/*/apps/klinkstatus.png
362 %{_datadir}/dbus-1/interfaces/org.kde.kfilereplace.xml
363 %{_datadir}/dbus-1/interfaces/org.kde.kdewebdev.klinkstatus.SearchManager.xml
364 #%{_datadir}/dbus-1/interfaces/org.kde.kdewebdev.klinkstatus.SearchManagerAgent.xml
365 %{_iconsdir}/hicolor/22x22/actions/addpoint.png
366 %{_iconsdir}/hicolor/22x22/actions/arrow.png
367 %{_iconsdir}/hicolor/22x22/actions/circle.png
368 %{_iconsdir}/hicolor/22x22/actions/circle2.png
369 %{_iconsdir}/hicolor/22x22/actions/freehand.png
370 %{_iconsdir}/hicolor/22x22/actions/lower.png
371 %{_iconsdir}/hicolor/22x22/actions/polygon.png
372 %{_iconsdir}/hicolor/22x22/actions/raise.png
373 %{_iconsdir}/hicolor/22x22/actions/rectangle.png
374 %{_iconsdir}/hicolor/22x22/actions/removepoint.png
376 %files klinkstatus-devel
377 %defattr(644,root,root,755)
378 %attr(755,root,root) %{_libdir}/libklinkstatuscommon.so
379 %{_libdir}/kde4/automationklinkstatus.so
380 %{_datadir}/kde4/services/klinkstatus_automation.desktop
381 %{_datadir}/config/klinkstatus.knsrc
383 #%files kommander -f kommander.lang
384 #%defattr(644,root,root,755)
385 #%attr(755,root,root) %{_bindir}/kmdr-editor
386 #%attr(755,root,root) %{_bindir}/kmdr-plugins
387 #%{_datadir}/mimelnk/application/x-kommander.desktop
388 #%{_desktopdir}/kde/kmdr-editor.desktop
389 #%{_datadir}/apps/kommander
390 #%{_iconsdir}/crystalsvg/*/apps/kommander.png
391 #%{_datadir}/apps/katepart/syntax/kommander.xml
393 %files kommander-executor
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_bindir}/kommander
396 %attr(755,root,root) %ghost %{_libdir}/libkommandercore.so.?
397 %attr(755,root,root) %{_libdir}/libkommandercore.so.*.*.*
398 %{_datadir}/applnk/.hidden/kommander.desktop
401 %attr(755,root,root) %ghost %{_libdir}/libkommanderwidgets.so.?
402 %attr(755,root,root) %{_libdir}/libkommanderwidgets.so.*.*.*
404 #%attr(755,root,root) %{_bindir}/kmdr-executor
405 #%attr(755,root,root) %{_libdir}/libkommanderplugin.so.*.*.*
406 #%attr(755,root,root) %{_libdir}/libkommanderwidget.so.*.*.*
407 #%attr(755,root,root) %{_libdir}/libkommanderwidgets.so.*.*.*
408 #%{_datadir}/applnk/.hidden/kmdr-executor.desktop
410 %files kommander-devel
411 %defattr(644,root,root,755)
412 %attr(755,root,root) %{_libdir}/libkommanderwidgets.so
413 %attr(755,root,root) %{_libdir}/libkommandercore.so
414 %{_includedir}/kommanderwidget.h
415 %{_includedir}/kommandercore_export.h
416 %{_includedir}/kommanderplugin.h
417 %{_includedir}/specials.h
419 #%files kxsldbg -f kxsldbg.lang
420 #%defattr(644,root,root,755)
421 #%attr(755,root,root) %{_bindir}/kxsldbg
422 #%attr(755,root,root) %{_bindir}/xsldbg
423 #%attr(755,root,root) %{_libdir}/kde4/libkxsldbgpart.so
424 #%{_desktopdir}/kde4/kxsldbg.desktop
425 #%{_desktopdir}/kde4/xsldbg.desktop
426 #%{_datadir}/apps/kxsldbgpart
427 #%{_datadir}/apps/kxsldbg
428 #%{_datadir}/apps/xsldbg
429 #%{_datadir}/dbus-1/interfaces/org.kde.kxsldbg.kxsldbg.xml
430 #%{_iconsdir}/hicolor/*/apps/kxsldbg.png
431 #%{_datadir}/kde4/services/kxsldbg_part.desktop
432 #%{_iconsdir}/hicolor/*/actions/run.png
433 #%{_iconsdir}/hicolor/*/actions/xsldbg_*.png
434 #%{_iconsdir}/hicolor/*/actions/step.png
435 #%{_iconsdir}/hicolor/*/actions/next.png
436 #%{_iconsdir}/hicolor/*/actions/1downarrow.png
437 #%{_iconsdir}/hicolor/*/actions/exit.png
438 #%{_iconsdir}/hicolor/*/actions/configure.png
439 #%{_iconsdir}/hicolor/*/actions/mark.png
440 #%{_iconsdir}/hicolor/*/actions/hash.png
441 #%{_mandir}/man1/xsldbg.1*
443 #%files quanta -f quanta.lang
444 #%defattr(644,root,root,755)
445 #%attr(755,root,root) %{_bindir}/quanta
446 #%attr(755,root,root) %{_libdir}/kde4/quantadebuggergubed.so
447 #%attr(755,root,root) %{_libdir}/kde4/quantadebuggerdbgp.so
448 #%{_datadir}/apps/kafkapart
449 #%{_datadir}/apps/quanta
450 #%{_datadir}/mimelnk/application/x-webprj.desktop
451 #%{_datadir}/services/quanta_preview_config.desktop
452 #%{_datadir}/services/quantadebuggergubed.desktop
453 #%{_datadir}/services/quantadebuggerdbgp.desktop
454 #%{_datadir}/servicetypes/quantadebugger.desktop
455 #%{_desktopdir}/kde/quanta.desktop
456 #%{_iconsdir}/[!l]*/*/apps/quanta.png
457 #%{_iconsdir}/[!l]*/*/actions/[!x]*.png