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