Author: arekm Date: Tue Jul 26 22:07:30 2011 GMT Module: packages Tag: HEAD ---- Log message: - kde 4.7.0; kate/kwrite initial
---- Files affected: packages/kate: kate.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/kate/kate.spec diff -u /dev/null packages/kate/kate.spec:1.1 --- /dev/null Wed Jul 27 00:07:30 2011 +++ packages/kate/kate.spec Wed Jul 27 00:07:24 2011 @@ -0,0 +1,163 @@ +# $Revision$, $Date$ +%define _state stable +%define orgname kate +%define qtver 4.7.3 + +Summary: K Desktop Environment - Advanced Text Editor +Summary(pl.UTF-8): K Desktop Environment - Zaawansowany edytor tekstu +Name: kate +Version: 4.7.0 +Release: 0.1 +License: GPL +Group: X11/Applications/Editors +Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 +# Source0-md5: 844ac138c6391f0266a9140cfd86d0b3 +URL: http://www.kde.org/ +# BuildRequires: FIXME +Obsoletes: kde4-kdebase-kwrite +Obsoletes: kde4-kdesdk-kate +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +KDE advanced text editor featuring among others: +- fast opening/editing of files even the big ones (opens a 50MB file + in a few seconds) +- powerful syntaxhighlighting engine, extensible via XML files +- Code Folding capabilities for C++, C, PHP and more +- Dynamic Word Wrap - long lines are wrapped at the window border on + the fly for better overview +- multiple views allows you to view more instances of the same + document and/or more documents at one time +- support for different encodings globally and at write time +- built in dockable terminal emulation +- sidebars with a list of open documents, a directory viewer with a + directory chooser, a filter chooser and more +- a plugin interface to allow third party plugins +- a "Filter" command allows you to run selected text through a shell + command + +KWrite is a simple texteditor, with syntaxhighlighting, codefolding, +dynamic word wrap and more, it's the lightweight version of Kate, +providing more speed for minor tasks. + +%description -l pl.UTF-8 +Kate (KDE advanced text editor) to zaawansowany edytor tekstu KDE o +możliwościach obejmujących m.in.: +- szybkie otwieranie i edycję nawet dużych plików (otwiera plik 50MB w + parę sekund) +- potężny silnik podświetlania składni, rozszerzalny za pomocą plików + XML +- możliwość zwijania kodu dla C++, C, PHP i innych języków +- dynamiczne zawijanie wierszy - długie linie są zawijane na granicy + okna w locie dla lepszej widoczności +- wiele widoków pozwalających oglądać więcej instancji tego samego + dokumentu i/lub więcej dokumentów w tym samym czasie +- obsługę różnych kodowań globalnie i w czasie zapisu +- wbudowaną emulację dokowalnego terminala +- paski z listą otwartych dokumentów, przeglądarkę katalogów z + możliwością wybierania katalogu i filtrów +- interfejs wtyczek obsługujący zewnętrzne wtyczki +- polecenie "Filtr" pozwalające przepuszczać zaznaczony tekst przez + polecenie powłoki + +KWrite to prosty edytor tekstu z podświetlaniem składni, zwijaniem +kodu, dynamicznym zawijaniem wierszy itp. Jest lżejszą wersją Kate, +szybszą dla mniejszych zadań. + +%package devel +Summary: kate development files +Summary(pl.UTF-8): Pliki dla programistów kate +Group: X11/Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +kate development files. + +%description devel -l pl.UTF-8 +Pliki dla programistów kate. + +%prep +%setup -q -n %{orgname}-%{version} + +%build +install -d build +cd build +%cmake \ + .. +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} -C build/ install \ + DESTDIR=$RPM_BUILD_ROOT \ + kde_htmldir=%{_kdedocdir} + +%find_lang kate --with-kde + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/kate +%attr(755,root,root) %{_bindir}/ktesnippets_editor +%attr(755,root,root) %{_bindir}/kwrite +%attr(755,root,root) %{_libdir}/kde4/*.so +%attr(755,root,root) %{_libdir}/libkateinterfaces.so +%attr(755,root,root) %{_libdir}/libkateinterfaces.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libkateinterfaces.so.? +%attr(755,root,root) %{_libdir}/libkatepartinterfaces.so +%attr(755,root,root) %{_libdir}/libkatepartinterfaces.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libkatepartinterfaces.so.? +%attr(755,root,root) %{_libdir}/libkdeinit4_kate.so +%attr(755,root,root) %{_libdir}/libkdeinit4_kwrite.so +%attr(755,root,root) %{_libdir}/libktexteditor_codesnippets_core.so +%attr(755,root,root) %{_libdir}/libktexteditor_codesnippets_core.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libktexteditor_codesnippets_core.so.? +%{_datadir}/apps/kate +%{_datadir}/apps/katepart +%{_datadir}/apps/katexmltools +%{_datadir}/apps/kconf_update/kate-2.4.upd +%{_datadir}/apps/ktexteditor_* +%{_datadir}/apps/kwrite +%{_datadir}/config/katefiletemplates.knsrc +%{_datadir}/config/katemoderc +%{_datadir}/config/katepartpluginsrc +%{_datadir}/config/katerc +%{_datadir}/config/ktexteditor_codesnippets_core.knsrc +%{_datadir}/kde4/services/kate*.desktop +%{_datadir}/kde4/services/ktexteditor_*.desktop +%{_datadir}/kde4/services/plasma-applet-katesession.desktop +%{_datadir}/kde4/servicetypes/kateplugin.desktop +%{_datadir}/mime/packages/ktesnippets.xml +%{_desktopdir}/kde4/kate.desktop +%{_desktopdir}/kde4/ktesnippets_editor.desktop +%{_desktopdir}/kde4/kwrite.desktop +%{_iconsdir}/*/*/actions/debug.png +%{_iconsdir}/*/*/actions/repoadd.png +%{_iconsdir}/*/*/actions/repomanage.png +%{_iconsdir}/*/*/actions/snippetadd.png +%{_iconsdir}/*/*/actions/snippetedit.png +%{_iconsdir}/*/*/apps/kate.* +%{_includedir}/ktexteditor_codesnippets_core +%{_kdedocdir}/en/kwrite +%{_mandir}/man1/kate.1* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/kate +%{_includedir}/kate_export.h + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/26 22:07:24 arekm +- kde 4.7.0; kate/kwrite initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
