]> git.pld-linux.org Git - packages/kde4-kdewebdev.git/blame - kde4-kdewebdev.spec
- 4.10.0
[packages/kde4-kdewebdev.git] / kde4-kdewebdev.spec
CommitLineData
680e07ff
SP
1%define _state stable
2%define orgname kdewebdev
a099e93e 3%define qtver 4.8.0
9cf2a66b 4
acb1ef44
RT
5Summary: Web development tools for KDE
6Summary(es.UTF-8): Uno editor WEB para KDE
7Summary(pl.UTF-8): Narzędzia do tworzenia WWW dla KDE
8Summary(pt_BR.UTF-8): Um editor web para o KDE
9Name: kde4-kdewebdev
26546b58 10Version: 4.10.0
139fe56e 11Release: 1
acb1ef44
RT
12License: GPL
13Group: X11/Development/Tools
c7348f23 14Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
26546b58 15# Source0-md5: 2025e1e290a689ac5109a184c26b5c34
acb1ef44 16URL: http://www.kde.org/
5045f298 17BuildRequires: automoc4 >= 0.9.88
9804fc11 18BuildRequires: boost-devel
2418d990 19BuildRequires: cmake >= 2.8.0
fba04987 20BuildRequires: kde4-kdelibs-devel >= %{version}
4a8920e8 21BuildRequires: kde4-kdepimlibs-devel >= %{version}
acb1ef44
RT
22BuildRequires: libgcrypt-devel
23BuildRequires: libxml2-devel >= 1:2.6.0
24BuildRequires: libxslt-devel >= 1.0.18
3081ebeb 25BuildRequires: phonon-devel >= 4.4.1
2418d990 26BuildRequires: qt4-build >= %{qtver}
27BuildRequires: qt4-qmake >= %{qtver}
139fe56e 28BuildRequires: rpmbuild(macros) >= 1.600
5045f298 29BuildRequires: ruby-devel
acb1ef44 30BuildRequires: tidy-devel
5045f298 31BuildRequires: zlib-devel
acb1ef44
RT
32BuildConflicts: quanta
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Quanta Plus is a web development tool for the K Desktop Environment.
37Quanta is designed for quick web development and is rapidly becoming a
38mature editor with a number of great features.
39
40%description -l es.UTF-8
41Quanta Plus és una herramienta de desarrollo web para KDE. Es
42projetado para rapido desarrollo web e es casi pronto com excelent
43quantidad de caracteristicas.
44
45%description -l pl.UTF-8
46Quanta Plus to narzędzie do tworzenia WWW dla środowiska KDE. Służy do
47szybkiego tworzenia stron i staje się dojrzałym edytorem z wieloma
48przydatnymi możliwościami.
49
50%description -l pt_BR.UTF-8
51O Quanta Plus é uma ferramenta para desenvolvimento web para o KDE. É
52projetado para desenvolvimento web rápido e está rapidamente se
53tornando um editor maduro com um bom número de excelentes
54características.
55
56%package kfilereplace
57Summary: A powerful string replacer
58Summary(pl.UTF-8): Rozbudowane narzędzie do zamiany tekstu
59Group: X11/Development/Tools
5045f298 60Requires: kde4-kdebase >= %{version}
acb1ef44
RT
61Conflicts: quanta < 1:3.2.90
62
63%description kfilereplace
64KFileReplace is a KDE utility which replace some strings with others
65in a lot of files in an only operation.
66
67%description kfilereplace -l pl.UTF-8
68KFileReplace to narzędzie do masowej zmiany różnych tekstów w dużej
69ilości plików, podczas jednej operacji.
70
71%package kimagemapeditor
72Summary: An HTML image map editor
73Summary(pl.UTF-8): Edytor map obrazów w HTML
74Group: X11/Development/Tools
5045f298 75Requires: kde4-kdebase >= %{version}
acb1ef44
RT
76
77%description kimagemapeditor
78An HTML image map editor.
79
80%description kimagemapeditor -l pl.UTF-8
81Edytor map obrazów w HTML.
82
83%package klinkstatus
84Summary: Link checker for KDE
bd03a1c6 85Summary(pl.UTF-8): Program do sprawdzania odnośników pod KDE
acb1ef44 86Group: X11/Development/Tools
5045f298 87Requires: kde4-kdebase >= %{version}
acb1ef44
RT
88
89%description klinkstatus
90KLinkStatus is an Open Source tool for checking links in a web page.
91It can search by depth, domain or both. On a domain search it's also
92possible to choose the search depth of URLs with foreign domain. For
93performance, it supports several simultaneous connections and try to
94use the same connection for the same sequence of requests.
95
96%description klinkstatus -l pl.UTF-8
97KLinkStatus jest narzędziem do sprawdzania odnośników na stronie.
98Obsługuje wyszukiwanie według głębokości, domeny lub obu naraz. W
99wyszukiwaniu według domeny można również dodać maksymalną głębokość
100dla pozostałych domen. Dla uzyskania jak najlepszej wydajności program
101obsługuje symultaniczne połączenia oraz próbuje wykorzystać jedno
102połączenie dla wszystkich sekwencji żądań.
103
bd03a1c6 104%package klinkstatus-devel
5045f298 105Summary: Development files for klinkstatus library
106Summary(pl.UTF-8): Pliki programistyczne biblioteki klinkstatus
107Group: X11/Development/Tools
108Requires: kde4-kdewebdev-klinkstatus = %{version}-%{release}
bd03a1c6 109
110%description klinkstatus-devel
2bef0e78 111Development files for klinkstatus library.
bd03a1c6 112
113%description klinkstatus-devel -l pl.UTF-8
2bef0e78 114Pliki programistyczne biblioteki klinkstatus.
bd03a1c6 115
acb1ef44
RT
116%package kommander
117Summary: A langauage independent visual dialog building tool
118Summary(pl.UTF-8): Niezależne od języka narzędzie do budowy okien dialogowych
119Group: X11/Development/Tools
fba04987 120Requires: %{name}-kommander-executor = %{version}-%{release}
5045f298 121Requires: kde4-kdebase >= %{version}
acb1ef44
RT
122Conflicts: quanta < 1:3.2.3
123
124%description kommander
125Kommander is a visual dialog building tool which may be expanded to
126create full mainwindow applications. The primary objective is to
127create as much functionality as possible without using any scripting
128language. 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
138 powerful.
139
140The 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
142they are line edits you can set Kommander to show their contents by
143entering @widgetText in their Kommander Text area. Then enter "hello"
144in @widget1 and "world" in @widget2. A button can have the string "My
145first @widget1 @widget2 program in Kommander". If you run this dialog
146from a console it will output "My first hello world program in
147Kommander".
148
149Kommander also seeks to build on standards. It is built on the Qt
150Designer framework and creates *.ui files which it renames to *.kmdr.
151It can easily import any KDE widget and this can be done without
152having to rebuild Kommander, by using plugins.
153
154Kommander's other significant factor is being language neutral and
155allowing a Kommander dialog to be extended by using any scripting
156language. Kommander positions itself in a unique position for wide
157spread adoption. Multiple script languages can be used in a single
158dialog and applications can be taken over by people using a different
159language than the original developer and gradually converting and
160extending it. New widgets and features can be instantly leveraged by
161all available languages.
162
163%description kommander -l pl.UTF-8
164Kommander to wizualne narzędzie do tworzenia okien dialogowych, które
165można rozszerzać o tworzenie pełnych aplikacji z głównym oknem.
166Podstawowym celem jest tworzenie jak największej funkcjonalności bez
167używania żadnego języka skryptowego. Mają to umożliwić następujące
168cechy:
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.
179
180Kluczową cechą okien dialogowych Kommandera jest to, że można
181przywiązać tekst (Kommander Text) do widgetu. Jeśli mamy @widget1 i
182@widget2, i są one liniami edycji, można ustawić Kommandera, by
183pokazywał ich zawartość poprzez wpisanie @widgetText w ich polach
184Kommander 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,
187wypisze ono "Mój pierwszy program hello world w Kommanderze".
188
189Kommander 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
193 Kommandera.
194
195Kolejnym znaczącym czynnikiem Kommandera jest bycie niezależnym od
196języka i możliwość rozszerzania poprzez użycie dowolnego języka
197skryptowego. Konqueror plasuje się na unikalnej pozycji do szeroko
198rozpowszechnionej adopcji. W jednym oknie dialogowym można użyć wiele
199języków skryptowych, a aplikacje mogą być przejęte przez ludzi
200używających innego języka niż oryginalny twórca, a później stopniowo
201konwertowane i rozszerzane. Nowe widgety i możliwości mogą być
202natychmiast poddane wszystkim dostępnym językom.
203
204%package kommander-executor
205Summary: Kommander executor
206Summary(pl.UTF-8): Wykonawca Kommandera
207Group: X11/Applications
5045f298 208Requires: kde4-kdebase >= %{version}
acb1ef44
RT
209
210%description kommander-executor
211Executor of Kommander scripts.
212
213%description kommander-executor -l pl.UTF-8
214Wykonawca skryptów Kommandera.
215
216%package kommander-devel
217Summary: Development files for kommander
218Summary(pl.UTF-8): Nagłówki dla kommandera
219Group: X11/Development/Libraries
fba04987 220Requires: %{name}-kommander-executor = %{version}-%{release}
221Provides: quanta-devel = %{version}-%{release}
acb1ef44
RT
222Obsoletes: quanta-devel
223
224%description kommander-devel
225Development files for kommander.
226
227%description kommander-devel -l pl.UTF-8
228Nagłówki dla kommandera.
229
230%package kxsldbg
231Summary: KXsldbg - graphical debugger and frontend to xsldbg
232Summary(pl.UTF-8): KXsldbg - graficzny debugger i frontend do xsldbg
233Group: X11/Development/Tools
5045f298 234Requires: kde4-kdebase >= %{version}
acb1ef44
RT
235Conflicts: quanta < 1:3.2.3
236
237%description kxsldbg
238KXsldbg is a graphical debugger and a frontend to xsldbg. It allows
239to:
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
246
247%description kxsldbg -l pl.UTF-8
248KXsldbg 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
255
256%package quanta
257Summary: Web development tool for KDE
258Summary(es.UTF-8): Uno editor WEB para KDE
259Summary(pl.UTF-8): Narzędzie do tworzenia WWW dla KDE
260Summary(pt_BR.UTF-8): Um editor web para o KDE
261Group: X11/Development/Tools
5045f298 262Requires: kde4-kdebase >= %{version}
acb1ef44 263# Applications required for full functionality:
bd03a1c6 264Requires: kde4-kdesdk-kompare
265Requires: kde4-kdewebdev-kfilereplace
266Requires: kde4-kdewebdev-kimagemapeditor
267Requires: kde4-kdewebdev-klinkstatus
268Requires: kde4-kdewebdev-kommander
269Requires: kde4-kdewebdev-kxsldbg
acb1ef44
RT
270
271%description quanta
272Quanta Plus is a web development tool for the K Desktop Environment.
273Quanta is designed for quick web development and is rapidly becoming a
274mature editor with a number of great features.
275
276%description quanta -l es.UTF-8
277Quanta Plus és una herramienta de desarrollo web para KDE. Es
278projetado para rapido desarrollo web e es casi pronto com excelent
279quantidad de caracteristicas.
280
281%description quanta -l pl.UTF-8
282Quanta Plus to narzędzie do tworzenia WWW dla środowiska KDE. Służy do
283szybkiego tworzenia stron i staje się dojrzałym edytorem z wieloma
284przydatnymi możliwościami.
285
286%description quanta -l pt_BR.UTF-8
287O Quanta Plus é uma ferramenta para desenvolvimento web para o KDE. É
288projetado para desenvolvimento web rápido e está rapidamente se
289tornando um editor maduro com um bom número de excelentes
290características.
291
292%prep
293%setup -q -n %{orgname}-%{version}
acb1ef44
RT
294
295%build
715c63ff 296install -d build
acb1ef44
RT
297cd build
298%cmake \
acb1ef44
RT
299 -LIBTIDY_INCLUDE_DIR=%{_includedir} \
300 ../
139fe56e 301
acb1ef44
RT
302%{__make}
303
304%install
305rm -rf $RPM_BUILD_ROOT
306
307%{__make} -C build install \
308 DESTDIR=$RPM_BUILD_ROOT \
309 kde_htmldir=%{_kdedocdir} \
310 kde_libs_htmldir=%{_kdedocdir}
311
acb1ef44
RT
312%find_lang kfilereplace --with-kde
313%find_lang kimagemapeditor --with-kde
314%find_lang klinkstatus --with-kde
315#%find_lang kommander --with-kde
2418d990 316#%find_lang kxsldbg --with-kde
acb1ef44 317#%find_lang quanta --with-kde
2418d990 318#%find_lang xsldbg --with-kde
319#cat xsldbg.lang >> kxsldbg.lang
acb1ef44
RT
320
321%clean
322rm -rf $RPM_BUILD_ROOT
323
324%post kommander-executor -p /sbin/ldconfig
325%postun kommander-executor -p /sbin/ldconfig
326
bd03a1c6 327%post klinkstatus -p /sbin/ldconfig
328%postun klinkstatus -p /sbin/ldconfig
329
acb1ef44
RT
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
339
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
348
349%files klinkstatus -f klinkstatus.lang
350%defattr(644,root,root,755)
351%attr(755,root,root) %{_bindir}/klinkstatus
bd03a1c6 352%attr(755,root,root) %{_libdir}/libklinkstatuscommon.so.4.*.*
353%attr(755,root,root) %ghost %{_libdir}/libklinkstatuscommon.so.4
acb1ef44 354%attr(755,root,root) %{_libdir}/kde4/klinkstatuspart.so
bd03a1c6 355%attr(755,root,root) %{_libdir}/kde4/krossmoduleklinkstatus.so
acb1ef44
RT
356%{_datadir}/apps/klinkstatus
357%{_datadir}/apps/klinkstatuspart
358%{_datadir}/kde4/services/klinkstatus_part.desktop
bd03a1c6 359%{_datadir}/kde4/services/krossmoduleklinkstatus.desktop
acb1ef44
RT
360%{_desktopdir}/kde4/klinkstatus.desktop
361%{_iconsdir}/hicolor/*/apps/klinkstatus.png
362%{_datadir}/dbus-1/interfaces/org.kde.kfilereplace.xml
bd03a1c6 363%{_datadir}/dbus-1/interfaces/org.kde.kdewebdev.klinkstatus.SearchManager.xml
c488be67 364#%{_datadir}/dbus-1/interfaces/org.kde.kdewebdev.klinkstatus.SearchManagerAgent.xml
bd03a1c6 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
375
376%files klinkstatus-devel
377%defattr(644,root,root,755)
378%attr(755,root,root) %{_libdir}/libklinkstatuscommon.so
08846739 379%{_libdir}/kde4/automationklinkstatus.so
380%{_datadir}/kde4/services/klinkstatus_automation.desktop
381%{_datadir}/config/klinkstatus.knsrc
acb1ef44 382
715c63ff 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
392
c488be67
RT
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.*.*.*
08846739 398%{_datadir}/applnk/.hidden/kommander.desktop
c488be67
RT
399
400##widgets
401%attr(755,root,root) %ghost %{_libdir}/libkommanderwidgets.so.?
402%attr(755,root,root) %{_libdir}/libkommanderwidgets.so.*.*.*
403
715c63ff 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
409
c488be67
RT
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
418
2418d990 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*
715c63ff 442
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
This page took 0.125595 seconds and 4 git commands to generate.