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