]>
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 |
3effa45d | 4 | Version: 0.18 |
0546be37 | 5 | Release: 1 |
1beb7ec2 | 6 | License: GPL v2+ |
7 | Group: Development/Tools | |
3effa45d | 8 | Source0: http://download.geany.org/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: d8e301f6933c828e2c36b3afdb3f4c34 | |
1beb7ec2 | 10 | Patch0: %{name}-desktop.patch |
3effa45d | 11 | URL: http://geany.org/ |
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 |
6c7fa6a3 | 21 | Obsoletes: geany-plugin-vcdiff |
3effa45d | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
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 | |
3effa45d | 51 | - automatyczne uzupełnianie często używanych konstrukcji jak if, fi |
52 | 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 \ |
3effa45d | 155 | --docdir=%{_docdir}/%{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} |
3effa45d | 167 | %{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_docdir}/%{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} |
3effa45d | 177 | #%{_pixmapsdir}/%{name}.png |
178 | %{_iconsdir}/hicolor/16x16/apps/geany.png | |
179 | %{_iconsdir}/hicolor/48x48/apps/geany.png | |
180 | %{_iconsdir}/hicolor/scalable/apps/geany.svg | |
2138c93e | 181 | %{_mandir}/man1/%{name}.1* |
01886853 | 182 | %dir %{_libdir}/%{name} |
43214188 AG |
183 | %doc %{_docdir}/%{name}-%{version} |
184 | ||
185 | %files devel | |
186 | %defattr(644,root,root,755) | |
187 | %{_includedir}/%{name} | |
188 | %{_libdir}/%{name}/*.la | |
189 | %{_pkgconfigdir}/*.pc | |
01886853 | 190 | |
191 | %files plugin-classbuilder | |
e6b4866e JB |
192 | %defattr(644,root,root,755) |
193 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
01886853 | 194 | %{_iconsdir}/hicolor/16x16/apps/classviewer-class.png |
195 | %{_iconsdir}/hicolor/16x16/apps/classviewer-macro.png | |
196 | %{_iconsdir}/hicolor/16x16/apps/classviewer-member.png | |
197 | %{_iconsdir}/hicolor/16x16/apps/classviewer-method.png | |
198 | %{_iconsdir}/hicolor/16x16/apps/classviewer-namespace.png | |
199 | %{_iconsdir}/hicolor/16x16/apps/classviewer-other.png | |
200 | %{_iconsdir}/hicolor/16x16/apps/classviewer-struct.png | |
201 | %{_iconsdir}/hicolor/16x16/apps/classviewer-var.png | |
202 | ||
203 | %files plugin-export | |
e6b4866e JB |
204 | %defattr(644,root,root,755) |
205 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
01886853 | 206 | |
207 | %files plugin-htmlchars | |
e6b4866e JB |
208 | %defattr(644,root,root,755) |
209 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so | |
e167492e | 210 | |
0546be37 | 211 | %files plugin-saveactions |
e167492e | 212 | %defattr(644,root,root,755) |
0546be37 | 213 | %attr(755,root,root) %{_libdir}/%{name}/saveactions.so |
e167492e | 214 | |
0546be37 | 215 | %files plugin-splitwindow |
e167492e | 216 | %defattr(644,root,root,755) |
0546be37 | 217 | %attr(755,root,root) %{_libdir}/%{name}/splitwindow.so |
e167492e | 218 | |
219 | %files plugin-filebrowser | |
220 | %defattr(644,root,root,755) | |
221 | %attr(755,root,root) %{_libdir}/%{name}/filebrowser.so |