]>
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 | |
c7a29af4 | 16 | BuildRequires: libstdc++-devel |
43214188 | 17 | BuildRequires: libtool |
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 | ||
43214188 AG |
57 | %package devel |
58 | Summary: Header files for geany | |
59 | Summary(pl.UTF-8): Pliki nagłówkowe dla geany | |
60 | Group: Development/Libraries | |
61 | Requires: %{name} = %{version}-%{release} | |
62 | ||
63 | %description devel | |
64 | Header files for geany. | |
65 | ||
66 | %description devel -l pl.UTF-8 | |
67 | Pliki nagłówkowe dla geany. | |
68 | ||
01886853 | 69 | %package plugin-classbuilder |
70 | Summary: Plugin for class maintenance in geany | |
71 | Summary(pl.UTF-8): Wtyczka do zarządzenia klasami w geany | |
72 | Group: Libraries | |
73 | ||
74 | %description plugin-classbuilder | |
e6b4866e | 75 | Plugin that allows maintenance of classes within geany. |
01886853 | 76 | |
43214188 | 77 | %description plugin-classbuilder -l pl.UTF-8 |
e6b4866e | 78 | Wtyczka pozwalająca na zarządzanie klasami w geany. |
01886853 | 79 | |
80 | %package plugin-export | |
81 | Summary: Plugin for exporting projects from geany | |
82 | Summary(pl.UTF-8): Wtyczka do eksportowania projektów z geany | |
83 | Group: Libraries | |
84 | ||
85 | %description plugin-export | |
86 | Plugin that allows exporting projects from geany into various formats | |
e6b4866e | 87 | (HTML and LaTeX by now). |
01886853 | 88 | |
89 | %description plugin-export -l pl.UTF-8 | |
90 | Wtyczka służąca do eksportowania projektów z geany do różnych formatów | |
e6b4866e | 91 | (aktualnie HTML i LaTeX). |
01886853 | 92 | |
93 | %package plugin-htmlchars | |
94 | Summary: Plugin for enhanced HTML editing in geany | |
95 | Summary(pl.UTF-8): Wtyczka z rozszerzeniami do edycji HTML w geany | |
96 | Group: Libraries | |
97 | ||
98 | %description plugin-htmlchars | |
99 | Plugin containing a library of special HTML tags. | |
100 | ||
101 | %description plugin-htmlchars -l pl.UTF-8 | |
e6b4866e | 102 | Wtyczka zawierająca bibliotekę znaczników specjalnych HTML. |
01886853 | 103 | |
e167492e | 104 | %package plugin-filebrowser |
105 | Summary: Sidebar File Browser plugin | |
106 | Summary(pl.UTF-8): Panel boczny do przeglądania systemu plików | |
107 | Group: Libraries | |
108 | ||
109 | %description plugin-filebrowser | |
110 | Sidebar File Browser. | |
111 | ||
112 | %description plugin-filebrowser -l pl.UTF-8 | |
113 | Przeglądarka plików w panelu bocznym. | |
114 | ||
0546be37 | 115 | %package plugin-saveactions |
116 | Summary: Provides different actions related to saving files | |
117 | Summary(pl.UTF-8): Wtyczka do automatycznego zapisu plików | |
e167492e | 118 | Group: Libraries |
119 | ||
0546be37 | 120 | %description plugin-saveactions |
121 | Provides different actions related to saving files (autosave, | |
122 | instantsave, backupcopy). | |
e167492e | 123 | |
0546be37 | 124 | %description plugin-saveactions -l pl.UTF-8 |
125 | Wtyczka umożliwiająca wybór rodzaju zapisu pliku (autozapis, zapis | |
126 | ciągły, kopia zapasowa). | |
e167492e | 127 | |
0546be37 | 128 | %package plugin-splitwindow |
129 | Summary: Splits the editor view into two windows | |
130 | Summary(pl.UTF-8): Wtyczka dzieląca okno na dwie części | |
e167492e | 131 | Group: Libraries |
132 | ||
0546be37 | 133 | %description plugin-splitwindow |
134 | Splits the editor view into two windows. | |
e167492e | 135 | |
0546be37 | 136 | %description plugin-splitwindow -l pl.UTF-8 |
137 | Wtyczka dzieląca okno na dwie części. | |
e167492e | 138 | |
bcbae9f2 | 139 | %prep |
140 | %setup -q | |
1beb7ec2 | 141 | %patch0 -p1 |
bcbae9f2 | 142 | |
143 | %build | |
0546be37 | 144 | %{__intltoolize} |
43214188 | 145 | %{__libtoolize} |
1beb7ec2 | 146 | %{__aclocal} |
4d792e24 | 147 | %{__autoheader} |
1beb7ec2 | 148 | %{__autoconf} |
149 | %{__automake} | |
d4cbc162 | 150 | %configure \ |
151 | --docdir=%{_defaultdocdir}/%{name}-%{version} | |
bcbae9f2 | 152 | %{__make} |
153 | ||
154 | %install | |
155 | rm -rf $RPM_BUILD_ROOT | |
bcbae9f2 | 156 | |
157 | %{__make} install \ | |
158 | DESTDIR=$RPM_BUILD_ROOT | |
159 | ||
2138c93e | 160 | rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico |
161 | ||
1beb7ec2 | 162 | %find_lang %{name} |
d4cbc162 | 163 | %{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'} |
1beb7ec2 | 164 | |
bcbae9f2 | 165 | %clean |
166 | rm -rf $RPM_BUILD_ROOT | |
167 | ||
1beb7ec2 | 168 | %files -f %{name}.lang |
bcbae9f2 | 169 | %defattr(644,root,root,755) |
2138c93e | 170 | %attr(755,root,root) %{_bindir}/%{name} |
171 | %{_desktopdir}/%{name}.desktop | |
bcbae9f2 | 172 | %{_datadir}/%{name} |
2138c93e | 173 | %{_pixmapsdir}/%{name}.png |
174 | %{_mandir}/man1/%{name}.1* | |
01886853 | 175 | %dir %{_libdir}/%{name} |
43214188 AG |
176 | %doc %{_docdir}/%{name}-%{version} |
177 | ||
178 | %files devel | |
179 | %defattr(644,root,root,755) | |
180 | %{_includedir}/%{name} | |
181 | %{_libdir}/%{name}/*.la | |
182 | %{_pkgconfigdir}/*.pc | |
01886853 | 183 | |
184 | %files plugin-classbuilder | |
e6b4866e JB |
185 | %defattr(644,root,root,755) |
186 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
01886853 | 187 | %{_iconsdir}/hicolor/16x16/apps/classviewer-class.png |
188 | %{_iconsdir}/hicolor/16x16/apps/classviewer-macro.png | |
189 | %{_iconsdir}/hicolor/16x16/apps/classviewer-member.png | |
190 | %{_iconsdir}/hicolor/16x16/apps/classviewer-method.png | |
191 | %{_iconsdir}/hicolor/16x16/apps/classviewer-namespace.png | |
192 | %{_iconsdir}/hicolor/16x16/apps/classviewer-other.png | |
193 | %{_iconsdir}/hicolor/16x16/apps/classviewer-struct.png | |
194 | %{_iconsdir}/hicolor/16x16/apps/classviewer-var.png | |
195 | ||
196 | %files plugin-export | |
e6b4866e JB |
197 | %defattr(644,root,root,755) |
198 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
01886853 | 199 | |
200 | %files plugin-htmlchars | |
e6b4866e JB |
201 | %defattr(644,root,root,755) |
202 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so | |
e167492e | 203 | |
0546be37 | 204 | %files plugin-saveactions |
e167492e | 205 | %defattr(644,root,root,755) |
0546be37 | 206 | %attr(755,root,root) %{_libdir}/%{name}/saveactions.so |
e167492e | 207 | |
0546be37 | 208 | %files plugin-splitwindow |
e167492e | 209 | %defattr(644,root,root,755) |
0546be37 | 210 | %attr(755,root,root) %{_libdir}/%{name}/splitwindow.so |
e167492e | 211 | |
212 | %files plugin-filebrowser | |
213 | %defattr(644,root,root,755) | |
214 | %attr(755,root,root) %{_libdir}/%{name}/filebrowser.so |