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