]>
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 |
0546be37 | 4 | Version: 0.17 |
5 | Release: 1 | |
1beb7ec2 | 6 | License: GPL v2+ |
7 | Group: Development/Tools | |
4d792e24 | 8 | Source0: http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2 |
0546be37 | 9 | # Source0-md5: 097f619f5f0800098a2438a216a28e7b |
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 | |
6c7fa6a3 | 16 | BuildRequires: intltool |
c7a29af4 | 17 | BuildRequires: libstdc++-devel |
43214188 | 18 | BuildRequires: libtool |
1beb7ec2 | 19 | BuildRequires: pkgconfig |
858dae5d | 20 | BuildRequires: vte-devel |
bcbae9f2 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
6c7fa6a3 | 22 | Obsoletes: geany-plugin-vcdiff |
bcbae9f2 | 23 | |
24 | %description | |
1beb7ec2 | 25 | Geany is a small and lightweight integrated development environment. |
26 | It was developed to provide a small and fast IDE, which has only a few | |
27 | dependencies from other packages. Another goal was to be as | |
28 | independent as possible from a special Desktop Environment like KDE or | |
60040de4 | 29 | GNOME. |
bcbae9f2 | 30 | |
31 | Basic features of Geany | |
32 | - syntax highlighting | |
33 | - code completion | |
34 | - auto completion of often used constructs like if, for and while | |
35 | - auto completion of XML and HTML tags | |
36 | - call tips | |
1beb7ec2 | 37 | - many supported filetypes like C, Java, PHP, HTML, Python, Perl, |
38 | Pascal | |
bcbae9f2 | 39 | - symbol lists |
40 | ||
23610f4a JR |
41 | %description -l pl.UTF-8 |
42 | Geany jest małym i lekkim zintegrowanym środowiskiem programistycznym. | |
43 | Został napisany z myślą o byciu małym i szybkim IDE, z małą liczbą | |
44 | zależności od innych pakietów. Kolejnym, przyświecającym tworzeniu go | |
45 | celem było maksymalne uniezależnienie od konkretnego środowiska | |
60040de4 | 46 | graficznego jak KDE czy GNOME. |
47 | ||
48 | Podstawowe cechy Geany to: | |
23610f4a JR |
49 | - podświetlanie składni |
50 | - uzupełnianie kodu | |
51 | - automatyczne uzupełnianie często używanych konstrukcji jak if, for | |
60040de4 | 52 | i while |
23610f4a JR |
53 | - automatyczne uzupełnianie znaczników XML i HTML |
54 | - wyświetlanie podpowiedzi | |
55 | - wiele wspieranych typów plików jak C, Java, PHP, Python, Perl, | |
60040de4 | 56 | Pascal |
57 | - wykazy symboli | |
58 | ||
43214188 AG |
59 | %package devel |
60 | Summary: Header files for geany | |
61 | Summary(pl.UTF-8): Pliki nagłówkowe dla geany | |
62 | Group: Development/Libraries | |
63 | Requires: %{name} = %{version}-%{release} | |
64 | ||
65 | %description devel | |
66 | Header files for geany. | |
67 | ||
68 | %description devel -l pl.UTF-8 | |
69 | Pliki nagłówkowe dla geany. | |
70 | ||
01886853 | 71 | %package plugin-classbuilder |
72 | Summary: Plugin for class maintenance in geany | |
73 | Summary(pl.UTF-8): Wtyczka do zarządzenia klasami w geany | |
74 | Group: Libraries | |
75 | ||
76 | %description plugin-classbuilder | |
e6b4866e | 77 | Plugin that allows maintenance of classes within geany. |
01886853 | 78 | |
43214188 | 79 | %description plugin-classbuilder -l pl.UTF-8 |
e6b4866e | 80 | Wtyczka pozwalająca na zarządzanie klasami w geany. |
01886853 | 81 | |
82 | %package plugin-export | |
83 | Summary: Plugin for exporting projects from geany | |
84 | Summary(pl.UTF-8): Wtyczka do eksportowania projektów z geany | |
85 | Group: Libraries | |
86 | ||
87 | %description plugin-export | |
88 | Plugin that allows exporting projects from geany into various formats | |
e6b4866e | 89 | (HTML and LaTeX by now). |
01886853 | 90 | |
91 | %description plugin-export -l pl.UTF-8 | |
92 | Wtyczka służąca do eksportowania projektów z geany do różnych formatów | |
e6b4866e | 93 | (aktualnie HTML i LaTeX). |
01886853 | 94 | |
95 | %package plugin-htmlchars | |
96 | Summary: Plugin for enhanced HTML editing in geany | |
97 | Summary(pl.UTF-8): Wtyczka z rozszerzeniami do edycji HTML w geany | |
98 | Group: Libraries | |
99 | ||
100 | %description plugin-htmlchars | |
101 | Plugin containing a library of special HTML tags. | |
102 | ||
103 | %description plugin-htmlchars -l pl.UTF-8 | |
e6b4866e | 104 | Wtyczka zawierająca bibliotekę znaczników specjalnych HTML. |
01886853 | 105 | |
e167492e | 106 | %package plugin-filebrowser |
107 | Summary: Sidebar File Browser plugin | |
108 | Summary(pl.UTF-8): Panel boczny do przeglądania systemu plików | |
109 | Group: Libraries | |
110 | ||
111 | %description plugin-filebrowser | |
112 | Sidebar File Browser. | |
113 | ||
114 | %description plugin-filebrowser -l pl.UTF-8 | |
115 | Przeglądarka plików w panelu bocznym. | |
116 | ||
0546be37 | 117 | %package plugin-saveactions |
118 | Summary: Provides different actions related to saving files | |
119 | Summary(pl.UTF-8): Wtyczka do automatycznego zapisu plików | |
e167492e | 120 | Group: Libraries |
6c7fa6a3 | 121 | Provides: geany-plugin-autosave |
122 | Obsoletes: geany-plugin-autosave | |
e167492e | 123 | |
0546be37 | 124 | %description plugin-saveactions |
125 | Provides different actions related to saving files (autosave, | |
126 | instantsave, backupcopy). | |
e167492e | 127 | |
0546be37 | 128 | %description plugin-saveactions -l pl.UTF-8 |
129 | Wtyczka umożliwiająca wybór rodzaju zapisu pliku (autozapis, zapis | |
130 | ciągły, kopia zapasowa). | |
e167492e | 131 | |
0546be37 | 132 | %package plugin-splitwindow |
133 | Summary: Splits the editor view into two windows | |
134 | Summary(pl.UTF-8): Wtyczka dzieląca okno na dwie części | |
e167492e | 135 | Group: Libraries |
136 | ||
0546be37 | 137 | %description plugin-splitwindow |
138 | Splits the editor view into two windows. | |
e167492e | 139 | |
0546be37 | 140 | %description plugin-splitwindow -l pl.UTF-8 |
141 | Wtyczka dzieląca okno na dwie części. | |
e167492e | 142 | |
bcbae9f2 | 143 | %prep |
144 | %setup -q | |
1beb7ec2 | 145 | %patch0 -p1 |
bcbae9f2 | 146 | |
147 | %build | |
0546be37 | 148 | %{__intltoolize} |
43214188 | 149 | %{__libtoolize} |
1beb7ec2 | 150 | %{__aclocal} |
4d792e24 | 151 | %{__autoheader} |
1beb7ec2 | 152 | %{__autoconf} |
153 | %{__automake} | |
d4cbc162 | 154 | %configure \ |
155 | --docdir=%{_defaultdocdir}/%{name}-%{version} | |
bcbae9f2 | 156 | %{__make} |
157 | ||
158 | %install | |
159 | rm -rf $RPM_BUILD_ROOT | |
bcbae9f2 | 160 | |
161 | %{__make} install \ | |
162 | DESTDIR=$RPM_BUILD_ROOT | |
163 | ||
2138c93e | 164 | rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico |
165 | ||
1beb7ec2 | 166 | %find_lang %{name} |
d4cbc162 | 167 | %{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'} |
1beb7ec2 | 168 | |
bcbae9f2 | 169 | %clean |
170 | rm -rf $RPM_BUILD_ROOT | |
171 | ||
1beb7ec2 | 172 | %files -f %{name}.lang |
bcbae9f2 | 173 | %defattr(644,root,root,755) |
2138c93e | 174 | %attr(755,root,root) %{_bindir}/%{name} |
175 | %{_desktopdir}/%{name}.desktop | |
bcbae9f2 | 176 | %{_datadir}/%{name} |
2138c93e | 177 | %{_pixmapsdir}/%{name}.png |
178 | %{_mandir}/man1/%{name}.1* | |
01886853 | 179 | %dir %{_libdir}/%{name} |
43214188 AG |
180 | %doc %{_docdir}/%{name}-%{version} |
181 | ||
182 | %files devel | |
183 | %defattr(644,root,root,755) | |
184 | %{_includedir}/%{name} | |
185 | %{_libdir}/%{name}/*.la | |
186 | %{_pkgconfigdir}/*.pc | |
01886853 | 187 | |
188 | %files plugin-classbuilder | |
e6b4866e JB |
189 | %defattr(644,root,root,755) |
190 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
01886853 | 191 | %{_iconsdir}/hicolor/16x16/apps/classviewer-class.png |
192 | %{_iconsdir}/hicolor/16x16/apps/classviewer-macro.png | |
193 | %{_iconsdir}/hicolor/16x16/apps/classviewer-member.png | |
194 | %{_iconsdir}/hicolor/16x16/apps/classviewer-method.png | |
195 | %{_iconsdir}/hicolor/16x16/apps/classviewer-namespace.png | |
196 | %{_iconsdir}/hicolor/16x16/apps/classviewer-other.png | |
197 | %{_iconsdir}/hicolor/16x16/apps/classviewer-struct.png | |
198 | %{_iconsdir}/hicolor/16x16/apps/classviewer-var.png | |
199 | ||
200 | %files plugin-export | |
e6b4866e JB |
201 | %defattr(644,root,root,755) |
202 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
01886853 | 203 | |
204 | %files plugin-htmlchars | |
e6b4866e JB |
205 | %defattr(644,root,root,755) |
206 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so | |
e167492e | 207 | |
0546be37 | 208 | %files plugin-saveactions |
e167492e | 209 | %defattr(644,root,root,755) |
0546be37 | 210 | %attr(755,root,root) %{_libdir}/%{name}/saveactions.so |
e167492e | 211 | |
0546be37 | 212 | %files plugin-splitwindow |
e167492e | 213 | %defattr(644,root,root,755) |
0546be37 | 214 | %attr(755,root,root) %{_libdir}/%{name}/splitwindow.so |
e167492e | 215 | |
216 | %files plugin-filebrowser | |
217 | %defattr(644,root,root,755) | |
218 | %attr(755,root,root) %{_libdir}/%{name}/filebrowser.so |