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