]>
Commit | Line | Data |
---|---|---|
60040de4 | 1 | Summary: Fast and lightweight IDE using GTK+2 |
015bed13 | 2 | Summary(pl.UTF-8): Szybkie i lekkie IDE używające GTK+2 |
1beb7ec2 | 3 | Name: geany |
01886853 | 4 | Version: 0.12 |
2138c93e | 5 | Release: 1 |
1beb7ec2 | 6 | License: GPL v2+ |
7 | Group: Development/Tools | |
4d792e24 | 8 | Source0: http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2 |
01886853 | 9 | # Source0-md5: bfb6dd5e833f2852935f93218a09de93 |
1beb7ec2 | 10 | Patch0: %{name}-desktop.patch |
11 | Patch1: %{name}-doc_dir.patch | |
bcbae9f2 | 12 | URL: http://geany.uvena.de/ |
437a651b | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
1beb7ec2 | 15 | BuildRequires: gettext-devel |
16 | BuildRequires: gtk+2-devel >= 2:2.4.0 | |
c7a29af4 | 17 | BuildRequires: libstdc++-devel |
1beb7ec2 | 18 | BuildRequires: pkgconfig |
858dae5d | 19 | BuildRequires: vte-devel |
bcbae9f2 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
1beb7ec2 | 23 | Geany is a small and lightweight integrated development environment. |
24 | It was developed to provide a small and fast IDE, which has only a few | |
25 | dependencies from other packages. Another goal was to be as | |
26 | independent as possible from a special Desktop Environment like KDE or | |
60040de4 | 27 | GNOME. |
bcbae9f2 | 28 | |
29 | Basic features of Geany | |
30 | - syntax highlighting | |
31 | - code completion | |
32 | - auto completion of often used constructs like if, for and while | |
33 | - auto completion of XML and HTML tags | |
34 | - call tips | |
1beb7ec2 | 35 | - many supported filetypes like C, Java, PHP, HTML, Python, Perl, |
36 | Pascal | |
bcbae9f2 | 37 | - symbol lists |
38 | ||
23610f4a JR |
39 | %description -l pl.UTF-8 |
40 | Geany jest małym i lekkim zintegrowanym środowiskiem programistycznym. | |
41 | Został napisany z myślą o byciu małym i szybkim IDE, z małą liczbą | |
42 | zależności od innych pakietów. Kolejnym, przyświecającym tworzeniu go | |
43 | celem było maksymalne uniezależnienie od konkretnego środowiska | |
60040de4 | 44 | graficznego jak KDE czy GNOME. |
45 | ||
46 | Podstawowe cechy Geany to: | |
23610f4a JR |
47 | - podświetlanie składni |
48 | - uzupełnianie kodu | |
49 | - automatyczne uzupełnianie często używanych konstrukcji jak if, for | |
60040de4 | 50 | i while |
23610f4a JR |
51 | - automatyczne uzupełnianie znaczników XML i HTML |
52 | - wyświetlanie podpowiedzi | |
53 | - wiele wspieranych typów plików jak C, Java, PHP, Python, Perl, | |
60040de4 | 54 | Pascal |
55 | - wykazy symboli | |
56 | ||
01886853 | 57 | %package plugin-classbuilder |
58 | Summary: Plugin for class maintenance in geany | |
59 | Summary(pl.UTF-8): Wtyczka do zarządzenia klasami w geany | |
60 | Group: Libraries | |
61 | ||
62 | %description plugin-classbuilder | |
e6b4866e | 63 | Plugin that allows maintenance of classes within geany. |
01886853 | 64 | |
65 | %description plugin-classbuilder -l pl.UTF-8 | |
e6b4866e | 66 | Wtyczka pozwalająca na zarządzanie klasami w geany. |
01886853 | 67 | |
68 | %package plugin-export | |
69 | Summary: Plugin for exporting projects from geany | |
70 | Summary(pl.UTF-8): Wtyczka do eksportowania projektów z geany | |
71 | Group: Libraries | |
72 | ||
73 | %description plugin-export | |
74 | Plugin that allows exporting projects from geany into various formats | |
e6b4866e | 75 | (HTML and LaTeX by now). |
01886853 | 76 | |
77 | %description plugin-export -l pl.UTF-8 | |
78 | Wtyczka służąca do eksportowania projektów z geany do różnych formatów | |
e6b4866e | 79 | (aktualnie HTML i LaTeX). |
01886853 | 80 | |
81 | %package plugin-htmlchars | |
82 | Summary: Plugin for enhanced HTML editing in geany | |
83 | Summary(pl.UTF-8): Wtyczka z rozszerzeniami do edycji HTML w geany | |
84 | Group: Libraries | |
85 | ||
86 | %description plugin-htmlchars | |
87 | Plugin containing a library of special HTML tags. | |
88 | ||
89 | %description plugin-htmlchars -l pl.UTF-8 | |
e6b4866e | 90 | Wtyczka zawierająca bibliotekę znaczników specjalnych HTML. |
01886853 | 91 | |
bcbae9f2 | 92 | %prep |
93 | %setup -q | |
1beb7ec2 | 94 | %patch0 -p1 |
95 | %patch1 -p1 | |
bcbae9f2 | 96 | |
97 | %build | |
4d792e24 | 98 | %{__glib_gettextize} |
1beb7ec2 | 99 | %{__aclocal} |
4d792e24 | 100 | %{__autoheader} |
1beb7ec2 | 101 | %{__autoconf} |
102 | %{__automake} | |
bcbae9f2 | 103 | %configure |
104 | %{__make} | |
105 | ||
106 | %install | |
107 | rm -rf $RPM_BUILD_ROOT | |
bcbae9f2 | 108 | |
109 | %{__make} install \ | |
110 | DESTDIR=$RPM_BUILD_ROOT | |
111 | ||
2138c93e | 112 | rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico |
113 | ||
1beb7ec2 | 114 | %find_lang %{name} |
115 | ||
bcbae9f2 | 116 | %clean |
117 | rm -rf $RPM_BUILD_ROOT | |
118 | ||
1beb7ec2 | 119 | %files -f %{name}.lang |
bcbae9f2 | 120 | %defattr(644,root,root,755) |
8894a95e | 121 | %doc AUTHORS NEWS README THANKS TODO scintilla/License.txt |
2138c93e | 122 | %attr(755,root,root) %{_bindir}/%{name} |
123 | %{_desktopdir}/%{name}.desktop | |
bcbae9f2 | 124 | %{_datadir}/%{name} |
2138c93e | 125 | %{_pixmapsdir}/%{name}.png |
126 | %{_mandir}/man1/%{name}.1* | |
01886853 | 127 | %dir %{_libdir}/%{name} |
128 | ||
129 | %files plugin-classbuilder | |
e6b4866e JB |
130 | %defattr(644,root,root,755) |
131 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
01886853 | 132 | %{_iconsdir}/hicolor/16x16/apps/classviewer-class.png |
133 | %{_iconsdir}/hicolor/16x16/apps/classviewer-macro.png | |
134 | %{_iconsdir}/hicolor/16x16/apps/classviewer-member.png | |
135 | %{_iconsdir}/hicolor/16x16/apps/classviewer-method.png | |
136 | %{_iconsdir}/hicolor/16x16/apps/classviewer-namespace.png | |
137 | %{_iconsdir}/hicolor/16x16/apps/classviewer-other.png | |
138 | %{_iconsdir}/hicolor/16x16/apps/classviewer-struct.png | |
139 | %{_iconsdir}/hicolor/16x16/apps/classviewer-var.png | |
140 | ||
141 | %files plugin-export | |
e6b4866e JB |
142 | %defattr(644,root,root,755) |
143 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
01886853 | 144 | |
145 | %files plugin-htmlchars | |
e6b4866e JB |
146 | %defattr(644,root,root,755) |
147 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so |