]>
Commit | Line | Data |
---|---|---|
4d3c0de7 JB |
1 | Summary: Fast and lightweight IDE using GTK+ |
2 | Summary(pl.UTF-8): Szybkie i lekkie IDE używające GTK+ | |
1beb7ec2 | 3 | Name: geany |
7bf7d250 | 4 | Version: 2.0 |
55b1849c | 5 | Release: 1 |
1beb7ec2 | 6 | License: GPL v2+ |
7 | Group: Development/Tools | |
840445e7 | 8 | Source0: https://download.geany.org/%{name}-%{version}.tar.bz2 |
7bf7d250 | 9 | # Source0-md5: 97459ee74d9def5cfe6119ce399bed24 |
02b9704f | 10 | URL: https://www.geany.org/ |
4d3c0de7 JB |
11 | # rst2html |
12 | BuildRequires: docutils | |
13 | BuildRequires: doxygen | |
056bdf70 | 14 | BuildRequires: gettext-tools |
4d3c0de7 | 15 | BuildRequires: glib2-devel >= 1:2.32 |
7bf7d250 | 16 | BuildRequires: gtk+3-devel >= 3.24.0 |
6c7fa6a3 | 17 | BuildRequires: intltool |
4d3c0de7 | 18 | BuildRequires: libstdc++-devel >= 6:7 |
1beb7ec2 | 19 | BuildRequires: pkgconfig |
49c968a7 | 20 | BuildRequires: python3-rst2pdf |
5edc3e0e | 21 | BuildRequires: which |
4d3c0de7 | 22 | Requires: glib2 >= 1:2.32 |
7bf7d250 | 23 | Requires: gtk+3 >= 3.24.0 |
49c968a7 | 24 | Obsoletes: geany-plugin-vcdiff < 0.17 |
3effa45d | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
bcbae9f2 | 26 | |
27 | %description | |
1beb7ec2 | 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 | |
60040de4 | 32 | GNOME. |
bcbae9f2 | 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 | |
1beb7ec2 | 40 | - many supported filetypes like C, Java, PHP, HTML, Python, Perl, |
41 | Pascal | |
bcbae9f2 | 42 | - symbol lists |
43 | ||
23610f4a JR |
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 | |
60040de4 | 49 | graficznego jak KDE czy GNOME. |
50 | ||
51 | Podstawowe cechy Geany to: | |
23610f4a JR |
52 | - podświetlanie składni |
53 | - uzupełnianie kodu | |
3effa45d | 54 | - automatyczne uzupełnianie często używanych konstrukcji jak if, fi |
55 | while | |
23610f4a JR |
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, | |
60040de4 | 59 | Pascal |
60 | - wykazy symboli | |
61 | ||
43214188 AG |
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} | |
4d3c0de7 JB |
67 | Requires: glib2-devel >= 1:2.32 |
68 | Requires: gtk+3-devel >= 3.22.0 | |
43214188 AG |
69 | |
70 | %description devel | |
71 | Header files for geany. | |
72 | ||
73 | %description devel -l pl.UTF-8 | |
74 | Pliki nagłówkowe dla geany. | |
75 | ||
01886853 | 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 | |
49c968a7 | 80 | Requires: %{name} = %{version}-%{release} |
01886853 | 81 | |
82 | %description plugin-classbuilder | |
e6b4866e | 83 | Plugin that allows maintenance of classes within geany. |
01886853 | 84 | |
43214188 | 85 | %description plugin-classbuilder -l pl.UTF-8 |
e6b4866e | 86 | Wtyczka pozwalająca na zarządzanie klasami w geany. |
01886853 | 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 | |
49c968a7 | 92 | Requires: %{name} = %{version}-%{release} |
01886853 | 93 | |
94 | %description plugin-export | |
95 | Plugin that allows exporting projects from geany into various formats | |
e6b4866e | 96 | (HTML and LaTeX by now). |
01886853 | 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 | |
e6b4866e | 100 | (aktualnie HTML i LaTeX). |
01886853 | 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 | |
49c968a7 | 106 | Requires: %{name} = %{version}-%{release} |
01886853 | 107 | |
108 | %description plugin-htmlchars | |
109 | Plugin containing a library of special HTML tags. | |
110 | ||
111 | %description plugin-htmlchars -l pl.UTF-8 | |
e6b4866e | 112 | Wtyczka zawierająca bibliotekę znaczników specjalnych HTML. |
01886853 | 113 | |
e167492e | 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 | |
49c968a7 | 118 | Requires: %{name} = %{version}-%{release} |
e167492e | 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 | ||
0546be37 | 126 | %package plugin-saveactions |
127 | Summary: Provides different actions related to saving files | |
128 | Summary(pl.UTF-8): Wtyczka do automatycznego zapisu plików | |
e167492e | 129 | Group: Libraries |
49c968a7 | 130 | Requires: %{name} = %{version}-%{release} |
6c7fa6a3 | 131 | Provides: geany-plugin-autosave |
49c968a7 | 132 | Obsoletes: geany-plugin-autosave < 0.17 |
e167492e | 133 | |
0546be37 | 134 | %description plugin-saveactions |
135 | Provides different actions related to saving files (autosave, | |
136 | instantsave, backupcopy). | |
e167492e | 137 | |
0546be37 | 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). | |
e167492e | 141 | |
0546be37 | 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 | |
e167492e | 145 | Group: Libraries |
49c968a7 | 146 | Requires: %{name} = %{version}-%{release} |
e167492e | 147 | |
0546be37 | 148 | %description plugin-splitwindow |
149 | Splits the editor view into two windows. | |
e167492e | 150 | |
0546be37 | 151 | %description plugin-splitwindow -l pl.UTF-8 |
152 | Wtyczka dzieląca okno na dwie części. | |
e167492e | 153 | |
bcbae9f2 | 154 | %prep |
155 | %setup -q | |
156 | ||
157 | %build | |
d4cbc162 | 158 | %configure \ |
3d86f3e2 | 159 | --disable-silent-rules \ |
3322ac44 | 160 | --disable-gtkdoc-header \ |
3effa45d | 161 | --docdir=%{_docdir}/%{name}-%{version} |
bcbae9f2 | 162 | %{__make} |
163 | ||
164 | %install | |
165 | rm -rf $RPM_BUILD_ROOT | |
bcbae9f2 | 166 | |
167 | %{__make} install \ | |
168 | DESTDIR=$RPM_BUILD_ROOT | |
169 | ||
fa0a01fe | 170 | %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/Tango |
2138c93e | 171 | |
c278e37c | 172 | # fix locales |
55b1849c | 173 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ie,lb} |
fa0a01fe JR |
174 | |
175 | %{__rm} $RPM_BUILD_ROOT%{_libdir}{/%{name},}/*.la | |
c278e37c | 176 | |
1beb7ec2 | 177 | %find_lang %{name} |
3effa45d | 178 | %{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'} |
1beb7ec2 | 179 | |
bcbae9f2 | 180 | %clean |
181 | rm -rf $RPM_BUILD_ROOT | |
182 | ||
ab3b1421 JP |
183 | %post -p /sbin/ldconfig |
184 | %postun -p /sbin/ldconfig | |
185 | ||
1beb7ec2 | 186 | %files -f %{name}.lang |
bcbae9f2 | 187 | %defattr(644,root,root,755) |
49c968a7 | 188 | %attr(755,root,root) %{_bindir}/geany |
fa0a01fe JR |
189 | %attr(755,root,root) %{_libdir}/libgeany.so.*.*.* |
190 | %ghost %attr(755,root,root) %{_libdir}/libgeany.so.0 | |
49c968a7 JB |
191 | %dir %{_libdir}/%{name} |
192 | %{_datadir}/%{name} | |
193 | %doc %{_docdir}/%{name}-%{version} | |
194 | %{_desktopdir}/%{name}.desktop | |
8aa6490e AM |
195 | %{_iconsdir}/hicolor/*x*/apps/geany.png |
196 | %{_iconsdir}/hicolor/*x*/actions/geany*.png | |
3effa45d | 197 | %{_iconsdir}/hicolor/scalable/apps/geany.svg |
8aa6490e | 198 | %{_iconsdir}/hicolor/scalable/actions/geany*.svg |
49c968a7 | 199 | %{_mandir}/man1/geany.1* |
43214188 AG |
200 | |
201 | %files devel | |
202 | %defattr(644,root,root,755) | |
203 | %{_includedir}/%{name} | |
f7a10afb | 204 | %attr(755,root,root) %{_libdir}/libgeany.so |
49c968a7 | 205 | %{_pkgconfigdir}/geany.pc |
01886853 | 206 | |
207 | %files plugin-classbuilder | |
e6b4866e JB |
208 | %defattr(644,root,root,755) |
209 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
01886853 | 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 | |
e6b4866e JB |
220 | %defattr(644,root,root,755) |
221 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
01886853 | 222 | |
223 | %files plugin-htmlchars | |
e6b4866e JB |
224 | %defattr(644,root,root,755) |
225 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so | |
e167492e | 226 | |
0546be37 | 227 | %files plugin-saveactions |
e167492e | 228 | %defattr(644,root,root,755) |
0546be37 | 229 | %attr(755,root,root) %{_libdir}/%{name}/saveactions.so |
e167492e | 230 | |
0546be37 | 231 | %files plugin-splitwindow |
e167492e | 232 | %defattr(644,root,root,755) |
0546be37 | 233 | %attr(755,root,root) %{_libdir}/%{name}/splitwindow.so |
e167492e | 234 | |
235 | %files plugin-filebrowser | |
236 | %defattr(644,root,root,755) | |
237 | %attr(755,root,root) %{_libdir}/%{name}/filebrowser.so |