]>
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 |
d4cbc162 | 4 | Version: 0.14 |
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 |
d4cbc162 | 9 | # Source0-md5: c6c22c7f9feff81a15f5c8ece03b87c1 |
1beb7ec2 | 10 | Patch0: %{name}-desktop.patch |
bcbae9f2 | 11 | URL: http://geany.uvena.de/ |
437a651b | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
1beb7ec2 | 14 | BuildRequires: gettext-devel |
15 | BuildRequires: gtk+2-devel >= 2:2.4.0 | |
c7a29af4 | 16 | BuildRequires: libstdc++-devel |
1beb7ec2 | 17 | BuildRequires: pkgconfig |
858dae5d | 18 | BuildRequires: vte-devel |
bcbae9f2 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
1beb7ec2 | 22 | Geany is a small and lightweight integrated development environment. |
23 | It was developed to provide a small and fast IDE, which has only a few | |
24 | dependencies from other packages. Another goal was to be as | |
25 | independent as possible from a special Desktop Environment like KDE or | |
60040de4 | 26 | GNOME. |
bcbae9f2 | 27 | |
28 | Basic features of Geany | |
29 | - syntax highlighting | |
30 | - code completion | |
31 | - auto completion of often used constructs like if, for and while | |
32 | - auto completion of XML and HTML tags | |
33 | - call tips | |
1beb7ec2 | 34 | - many supported filetypes like C, Java, PHP, HTML, Python, Perl, |
35 | Pascal | |
bcbae9f2 | 36 | - symbol lists |
37 | ||
23610f4a JR |
38 | %description -l pl.UTF-8 |
39 | Geany jest małym i lekkim zintegrowanym środowiskiem programistycznym. | |
40 | Został napisany z myślą o byciu małym i szybkim IDE, z małą liczbą | |
41 | zależności od innych pakietów. Kolejnym, przyświecającym tworzeniu go | |
42 | celem było maksymalne uniezależnienie od konkretnego środowiska | |
60040de4 | 43 | graficznego jak KDE czy GNOME. |
44 | ||
45 | Podstawowe cechy Geany to: | |
23610f4a JR |
46 | - podświetlanie składni |
47 | - uzupełnianie kodu | |
48 | - automatyczne uzupełnianie często używanych konstrukcji jak if, for | |
60040de4 | 49 | i while |
23610f4a JR |
50 | - automatyczne uzupełnianie znaczników XML i HTML |
51 | - wyświetlanie podpowiedzi | |
52 | - wiele wspieranych typów plików jak C, Java, PHP, Python, Perl, | |
60040de4 | 53 | Pascal |
54 | - wykazy symboli | |
55 | ||
01886853 | 56 | %package plugin-classbuilder |
57 | Summary: Plugin for class maintenance in geany | |
58 | Summary(pl.UTF-8): Wtyczka do zarządzenia klasami w geany | |
59 | Group: Libraries | |
60 | ||
61 | %description plugin-classbuilder | |
e6b4866e | 62 | Plugin that allows maintenance of classes within geany. |
01886853 | 63 | |
64 | %description plugin-classbuilder -l pl.UTF-8 | |
e6b4866e | 65 | Wtyczka pozwalająca na zarządzanie klasami w geany. |
01886853 | 66 | |
67 | %package plugin-export | |
68 | Summary: Plugin for exporting projects from geany | |
69 | Summary(pl.UTF-8): Wtyczka do eksportowania projektów z geany | |
70 | Group: Libraries | |
71 | ||
72 | %description plugin-export | |
73 | Plugin that allows exporting projects from geany into various formats | |
e6b4866e | 74 | (HTML and LaTeX by now). |
01886853 | 75 | |
76 | %description plugin-export -l pl.UTF-8 | |
77 | Wtyczka służąca do eksportowania projektów z geany do różnych formatów | |
e6b4866e | 78 | (aktualnie HTML i LaTeX). |
01886853 | 79 | |
80 | %package plugin-htmlchars | |
81 | Summary: Plugin for enhanced HTML editing in geany | |
82 | Summary(pl.UTF-8): Wtyczka z rozszerzeniami do edycji HTML w geany | |
83 | Group: Libraries | |
84 | ||
85 | %description plugin-htmlchars | |
86 | Plugin containing a library of special HTML tags. | |
87 | ||
88 | %description plugin-htmlchars -l pl.UTF-8 | |
e6b4866e | 89 | Wtyczka zawierająca bibliotekę znaczników specjalnych HTML. |
01886853 | 90 | |
e167492e | 91 | %package plugin-filebrowser |
92 | Summary: Sidebar File Browser plugin | |
93 | Summary(pl.UTF-8): Panel boczny do przeglądania systemu plików | |
94 | Group: Libraries | |
95 | ||
96 | %description plugin-filebrowser | |
97 | Sidebar File Browser. | |
98 | ||
99 | %description plugin-filebrowser -l pl.UTF-8 | |
100 | Przeglądarka plików w panelu bocznym. | |
101 | ||
102 | %package plugin-autosave | |
103 | Summary: Auto Save plugin | |
104 | Summary(pl.UTF-8): Wtyczka do auto zapisu | |
105 | Group: Libraries | |
106 | ||
107 | %description plugin-autosave | |
108 | Plugin for automatically saving changes. | |
109 | ||
110 | %description plugin-autosave -l pl.UTF-8 | |
111 | Wtyczka do automatycznego zapisywania zmian. | |
112 | ||
113 | %package plugin-vcdiff | |
114 | Summary: Version Control Diff plugin | |
115 | Summary(pl.UTF-8): Wtyczka Version Control Diff | |
116 | Group: Libraries | |
117 | ||
118 | %description plugin-vcdiff | |
119 | Plugin form getting diffs over Version Control system, supports: | |
120 | - svn | |
121 | - cvs | |
122 | - git | |
123 | ||
124 | %description plugin-vcdiff -l pl.UTF-8 | |
125 | Wtyczka do porównywania zmian względem systemu kontroli wersji. | |
126 | Aktualnie wspierane są: | |
127 | - svn | |
128 | - cvs | |
129 | - git | |
130 | ||
bcbae9f2 | 131 | %prep |
132 | %setup -q | |
1beb7ec2 | 133 | %patch0 -p1 |
bcbae9f2 | 134 | |
135 | %build | |
4d792e24 | 136 | %{__glib_gettextize} |
1beb7ec2 | 137 | %{__aclocal} |
4d792e24 | 138 | %{__autoheader} |
1beb7ec2 | 139 | %{__autoconf} |
140 | %{__automake} | |
d4cbc162 | 141 | %configure \ |
142 | --docdir=%{_defaultdocdir}/%{name}-%{version} | |
bcbae9f2 | 143 | %{__make} |
144 | ||
145 | %install | |
146 | rm -rf $RPM_BUILD_ROOT | |
bcbae9f2 | 147 | |
148 | %{__make} install \ | |
149 | DESTDIR=$RPM_BUILD_ROOT | |
150 | ||
2138c93e | 151 | rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico |
152 | ||
1beb7ec2 | 153 | %find_lang %{name} |
d4cbc162 | 154 | %{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'} |
1beb7ec2 | 155 | |
bcbae9f2 | 156 | %clean |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | ||
1beb7ec2 | 159 | %files -f %{name}.lang |
bcbae9f2 | 160 | %defattr(644,root,root,755) |
2138c93e | 161 | %attr(755,root,root) %{_bindir}/%{name} |
162 | %{_desktopdir}/%{name}.desktop | |
bcbae9f2 | 163 | %{_datadir}/%{name} |
2138c93e | 164 | %{_pixmapsdir}/%{name}.png |
165 | %{_mandir}/man1/%{name}.1* | |
01886853 | 166 | %dir %{_libdir}/%{name} |
d4cbc162 | 167 | %doc %{_defaultdocdir}/%{name}-%{version} |
01886853 | 168 | |
169 | %files plugin-classbuilder | |
e6b4866e JB |
170 | %defattr(644,root,root,755) |
171 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
01886853 | 172 | %{_iconsdir}/hicolor/16x16/apps/classviewer-class.png |
173 | %{_iconsdir}/hicolor/16x16/apps/classviewer-macro.png | |
174 | %{_iconsdir}/hicolor/16x16/apps/classviewer-member.png | |
175 | %{_iconsdir}/hicolor/16x16/apps/classviewer-method.png | |
176 | %{_iconsdir}/hicolor/16x16/apps/classviewer-namespace.png | |
177 | %{_iconsdir}/hicolor/16x16/apps/classviewer-other.png | |
178 | %{_iconsdir}/hicolor/16x16/apps/classviewer-struct.png | |
179 | %{_iconsdir}/hicolor/16x16/apps/classviewer-var.png | |
180 | ||
181 | %files plugin-export | |
e6b4866e JB |
182 | %defattr(644,root,root,755) |
183 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
01886853 | 184 | |
185 | %files plugin-htmlchars | |
e6b4866e JB |
186 | %defattr(644,root,root,755) |
187 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so | |
e167492e | 188 | |
189 | %files plugin-autosave | |
190 | %defattr(644,root,root,755) | |
191 | %attr(755,root,root) %{_libdir}/%{name}/autosave.so | |
192 | ||
193 | %files plugin-vcdiff | |
194 | %defattr(644,root,root,755) | |
195 | %attr(755,root,root) %{_libdir}/%{name}/vcdiff.so | |
196 | ||
197 | %files plugin-filebrowser | |
198 | %defattr(644,root,root,755) | |
199 | %attr(755,root,root) %{_libdir}/%{name}/filebrowser.so |