]>
Commit | Line | Data |
---|---|---|
2b1eaaa5 | 1 | %define _version 2.1b5 |
7a5d5d8e | 2 | Summary: KDE Integrated LaTeX Environment |
577c864c | 3 | Summary(pl.UTF-8): Zintegrowane środowisko LaTeXowe dla KDE |
7a5d5d8e | 4 | Name: kile |
e6f3fb6b ŁM |
5 | Version: 2.9.93 |
6 | Release: 0.1 | |
634116b9 | 7 | License: GPL v2 |
094600f6 | 8 | Group: X11/Applications/Publishing |
3687fe5f | 9 | Source0: http://downloads.sourceforge.net/kile/%{name}-%{version}.tar.bz2 |
e6f3fb6b | 10 | # Source0-md5: 3fd6bef325eaba51744cc36bfde22097 |
52eaf635 | 11 | URL: http://kile.sourceforge.net/ |
d70d8d60 | 12 | Patch0: %{name}-cmake.patch |
538d2ee9 | 13 | BuildRequires: QtNetwork-devel |
14 | BuildRequires: QtScript-devel | |
15 | BuildRequires: QtSvg-devel | |
16 | BuildRequires: automoc4 | |
17 | BuildRequires: cmake | |
e6f3fb6b | 18 | #BuildRequires: kde4-kdelibs-devel >= 4.4.0 |
538d2ee9 | 19 | BuildRequires: qt4-build |
20 | BuildRequires: qt4-qmake | |
36b072ec | 21 | BuildRequires: rpmbuild(macros) >= 1.129 |
e6f3fb6b | 22 | Requires: ka5-kate |
a87733a6 | 23 | Requires: tetex-format-latex |
7a5d5d8e | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c6bb74e5 | 25 | |
26 | %description | |
ce2632e9 | 27 | KDE Integrated LaTeX Environment. Features: |
28 | ||
29 | - an editor to write your LaTeX source files (syntax highlighting, | |
30 | undo-redo, search-replace, spellcheck ...) | |
ccbb27c7 | 31 | - the principal LaTeX tags can be inserted directly with the "LaTeX", |
ce2632e9 | 32 | "Math" and "Greek" menus |
33 | - 370 mathematical symbols can be inserted in just one click | |
3919ae9b | 34 | - wizards to generate code ('Quick document', 'Quick letter', tabular, |
35 | tabbing and array environments) | |
ce2632e9 | 36 | - LaTeX-related programs can be launched via the "Tools" menu |
37 | - contextual help in the "Messages / Log File" frame | |
38 | - the standard Bibtex entry types can be inserted in the ".bib" file | |
39 | with the "Bibliography" menu | |
ccbb27c7 JB |
40 | - a "structure view" of the document for easier navigation of a |
41 | document (by clicking on an item in the "Structure" frame, you can | |
42 | jump directly to the corresponding part of your document | |
ce2632e9 | 43 | - extensive LaTeX documentation |
44 | - in the "Messages / Log File" frame, you can see information about | |
45 | processes and the logfile after a LaTeX compilation | |
46 | - the "Next Latex Error" and "Previous Latex Error" commands let you | |
47 | reach the LaTeX errors detected by Kile in the log file | |
ccbb27c7 JB |
48 | - by clicking on the number of a line in the log file, the cursor |
49 | jumps to the corresponding line in the editor | |
ce2632e9 | 50 | - a Gnuplot front end (adaptation of the Xgfe program) |
51 | - support for "Inverse and Forward Search" with KDVI | |
52 | ||
ccbb27c7 JB |
53 | The program's aim is to simplify the edition of LaTeX source code and |
54 | the use of the LaTeX-related programs for users who want to retain | |
0f1864b8 | 55 | control over their LaTeX documents. |
ccbb27c7 | 56 | |
913e4f45 JR |
57 | %description -l pl.UTF-8 |
58 | Zintegrowane środowisko LaTeXowe dla KDE. Możliwości: | |
59 | - edytor do pisania plików źródłowych w LaTeXu (z podświetlaniem | |
60 | składni, cofaniem i powtarzaniem, szukaniem i zastępowaniem, kontrolą | |
3919ae9b | 61 | pisowni...) |
913e4f45 | 62 | - podstawowe znaczniki LaTeXa mogą być wstawiane bezpośrednio z menu |
ccbb27c7 | 63 | "LaTeX", "Math" lub "Greek" |
913e4f45 JR |
64 | - 370 symboli matematycznych może być wstawianych pojedynczym |
65 | kliknięciem | |
ccbb27c7 | 66 | - automaty do generowania kodu ("Szybki dokument", "Szybki list", |
913e4f45 JR |
67 | środowiska tabular, tabbing i array) |
68 | - programy związane z LaTeXem mogą być uruchamiane z menu "Tools" | |
ccbb27c7 | 69 | - kontekstowa pomoc w ramce "Messages / Log File" |
913e4f45 | 70 | - standardowe typy wpisów Bibtexa mogą być wstawiane do pliku .bib z |
ccbb27c7 | 71 | menu "Bibliography" |
913e4f45 JR |
72 | - "strukturalny widok" dokumentu dla łatwiejszej nawigacji po |
73 | dokumencie (poprzez kliknięcie elementu w ramce "Structure", można | |
74 | skoczyć bezpośrednio do odpowiedniej części dokumentu) | |
ccbb27c7 | 75 | - obszerna dokumentacja do LaTeXa |
913e4f45 | 76 | - w ramce "Messages / Log File" można zobaczyć informacje o |
ccbb27c7 | 77 | przetwarzaniu i plik loga po kompilacji LaTeXa |
913e4f45 JR |
78 | - polecenia "Next Latex Error" i "Previous Latex Error" pozwalają na |
79 | przechodzenie do miejsc wystąpienia błędów znalezionych przez Kile w | |
3919ae9b | 80 | pliku loga |
913e4f45 | 81 | - po kliknięciu na numerze linii w pliku loga, kursor skacze do |
ccbb27c7 JB |
82 | odpowiedniej linii w edytorze |
83 | - interfejs do Gnuplota (adaptacja programu Xgfe) | |
913e4f45 | 84 | - obsługa "Inverse and Forward Search" w KDVI. |
ccbb27c7 | 85 | |
913e4f45 JR |
86 | Celem programu jest uproszczenie edycji kodu źródłowego w LaTeXu i |
87 | używania programów związanych z LaTeXem dla użytkowników, którzy chcą | |
88 | zachować kontrolę nad dokumentami w LaTeXu. | |
c6bb74e5 | 89 | |
7a5d5d8e | 90 | %prep |
3687fe5f | 91 | %setup -q |
29d91444 | 92 | #%patch0 -p1 |
c6bb74e5 | 93 | |
94 | %build | |
366226cc | 95 | install -d build |
96 | cd build | |
97 | %cmake \ | |
3687fe5f | 98 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
99 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
100 | -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ | |
101 | -DKILE_VERSION=%{version} \ | |
102 | ../ | |
7a5d5d8e | 103 | %{__make} |
c6bb74e5 | 104 | |
105 | %install | |
7a5d5d8e | 106 | rm -rf $RPM_BUILD_ROOT |
c6bb74e5 | 107 | |
366226cc | 108 | %{__make} -C build install \ |
3687fe5f | 109 | DESTDIR=$RPM_BUILD_ROOT \ |
110 | kde_htmldir=%{_kdedocdir} | |
111 | ||
e6f3fb6b ŁM |
112 | %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/*/44x44 |
113 | %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/*/150x150 | |
114 | %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/*/310x310 | |
115 | ||
116 | #%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
ae9f1b03 | 117 | |
2b1eaaa5 | 118 | |
3687fe5f | 119 | %find_lang %{name} |
c6bb74e5 | 120 | |
c6bb74e5 | 121 | %clean |
3c12a074 | 122 | rm -rf $RPM_BUILD_ROOT |
c6bb74e5 | 123 | |
3687fe5f | 124 | %files -f %{name}.lang |
7a5d5d8e | 125 | %defattr(644,root,root,755) |
e6f3fb6b | 126 | %doc AUTHORS ChangeLog README README.cwl kile-remote-control.txt README.MacOSX |
7a5d5d8e | 127 | %attr(755,root,root) %{_bindir}/* |
e6f3fb6b ŁM |
128 | %attr(755,root,root) %{_libdir}/libkdeinit5_kile.so |
129 | %{_datadir}/kile | |
29d91444 | 130 | #%{_datadir}/mimelnk/text/x-kilepr.desktop |
e6f3fb6b ŁM |
131 | %{_datadir}/kconf_update/* |
132 | #%attr(755,root,root) %{_datadir}/kconf_update/kile*_upd.pl | |
ce25302d | 133 | %{_datadir}/config.kcfg/kile.kcfg |
e6f3fb6b | 134 | %{_desktopdir}/org.kde.kile.desktop |
36b072ec | 135 | %{_iconsdir}/*/*/apps/*.png |
e6f3fb6b ŁM |
136 | %{_iconsdir}/*/*/apps/*.svg |
137 | %{_docdir}/* | |
366226cc | 138 | %{_datadir}/dbus-1/interfaces/net.sourceforge.kile.main.xml |
3687fe5f | 139 | %{_datadir}/mime/packages/kile.xml |
e6f3fb6b ŁM |
140 | %{_datadir}/metainfo/org.kde.kile.appdata.xml |
141 | /etc/xdg/kile.categories | |
142 |