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