]>
Commit | Line | Data |
---|---|---|
1 | Summary: Fast and lightweight IDE using GTK+2 | |
2 | Summary(pl.UTF-8): Szybkie i lekkie IDE używające GTK+2 | |
3 | Name: geany | |
4 | Version: 1.37 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Development/Tools | |
8 | Source0: http://download.geany.org/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: cf9c2d550cf2fa895580e68b7c40af19 | |
10 | URL: http://www.geany.org/ | |
11 | BuildRequires: gettext-tools | |
12 | BuildRequires: glib2-devel >= 1:2.20.0 | |
13 | BuildRequires: gtk+3-devel >= 3.22.0 | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libstdc++-devel | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: which | |
18 | Obsoletes: geany-plugin-vcdiff | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
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 | |
26 | GNOME. | |
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 | |
34 | - many supported filetypes like C, Java, PHP, HTML, Python, Perl, | |
35 | Pascal | |
36 | - symbol lists | |
37 | ||
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 | |
43 | graficznego jak KDE czy GNOME. | |
44 | ||
45 | Podstawowe cechy Geany to: | |
46 | - podświetlanie składni | |
47 | - uzupełnianie kodu | |
48 | - automatyczne uzupełnianie często używanych konstrukcji jak if, fi | |
49 | while | |
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, | |
53 | Pascal | |
54 | - wykazy symboli | |
55 | ||
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 | ||
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 | |
74 | Plugin that allows maintenance of classes within geany. | |
75 | ||
76 | %description plugin-classbuilder -l pl.UTF-8 | |
77 | Wtyczka pozwalająca na zarządzanie klasami w geany. | |
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 | |
86 | (HTML and LaTeX by now). | |
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 | |
90 | (aktualnie HTML i LaTeX). | |
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 | |
101 | Wtyczka zawierająca bibliotekę znaczników specjalnych HTML. | |
102 | ||
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 | ||
114 | %package plugin-saveactions | |
115 | Summary: Provides different actions related to saving files | |
116 | Summary(pl.UTF-8): Wtyczka do automatycznego zapisu plików | |
117 | Group: Libraries | |
118 | Provides: geany-plugin-autosave | |
119 | Obsoletes: geany-plugin-autosave | |
120 | ||
121 | %description plugin-saveactions | |
122 | Provides different actions related to saving files (autosave, | |
123 | instantsave, backupcopy). | |
124 | ||
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). | |
128 | ||
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 | |
132 | Group: Libraries | |
133 | ||
134 | %description plugin-splitwindow | |
135 | Splits the editor view into two windows. | |
136 | ||
137 | %description plugin-splitwindow -l pl.UTF-8 | |
138 | Wtyczka dzieląca okno na dwie części. | |
139 | ||
140 | %prep | |
141 | %setup -q | |
142 | ||
143 | %build | |
144 | %configure \ | |
145 | --disable-silent-rules \ | |
146 | --docdir=%{_docdir}/%{name}-%{version} | |
147 | %{__make} | |
148 | ||
149 | %install | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
152 | %{__make} install \ | |
153 | DESTDIR=$RPM_BUILD_ROOT | |
154 | ||
155 | %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/Tango | |
156 | ||
157 | # fix locales | |
158 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ie,lb} | |
159 | ||
160 | %{__rm} $RPM_BUILD_ROOT%{_libdir}{/%{name},}/*.la | |
161 | ||
162 | %find_lang %{name} | |
163 | %{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'} | |
164 | ||
165 | %clean | |
166 | rm -rf $RPM_BUILD_ROOT | |
167 | ||
168 | %files -f %{name}.lang | |
169 | %defattr(644,root,root,755) | |
170 | %attr(755,root,root) %{_bindir}/%{name} | |
171 | %{_desktopdir}/%{name}.desktop | |
172 | %{_datadir}/%{name} | |
173 | %attr(755,root,root) %{_libdir}/libgeany.so.*.*.* | |
174 | %ghost %attr(755,root,root) %{_libdir}/libgeany.so.0 | |
175 | %{_iconsdir}/hicolor/*x*/apps/geany.png | |
176 | %{_iconsdir}/hicolor/*x*/actions/geany*.png | |
177 | %{_iconsdir}/hicolor/scalable/apps/geany.svg | |
178 | %{_iconsdir}/hicolor/scalable/actions/geany*.svg | |
179 | ||
180 | %{_mandir}/man1/%{name}.1* | |
181 | %dir %{_libdir}/%{name} | |
182 | %doc %{_docdir}/%{name}-%{version} | |
183 | ||
184 | %files devel | |
185 | %defattr(644,root,root,755) | |
186 | %{_includedir}/%{name} | |
187 | %attr(755,root,root) %{_libdir}/libgeany.so | |
188 | %{_pkgconfigdir}/*.pc | |
189 | ||
190 | %files plugin-classbuilder | |
191 | %defattr(644,root,root,755) | |
192 | %attr(755,root,root) %{_libdir}/%{name}/classbuilder.so | |
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 | |
203 | %defattr(644,root,root,755) | |
204 | %attr(755,root,root) %{_libdir}/%{name}/export.so | |
205 | ||
206 | %files plugin-htmlchars | |
207 | %defattr(644,root,root,755) | |
208 | %attr(755,root,root) %{_libdir}/%{name}/htmlchars.so | |
209 | ||
210 | %files plugin-saveactions | |
211 | %defattr(644,root,root,755) | |
212 | %attr(755,root,root) %{_libdir}/%{name}/saveactions.so | |
213 | ||
214 | %files plugin-splitwindow | |
215 | %defattr(644,root,root,755) | |
216 | %attr(755,root,root) %{_libdir}/%{name}/splitwindow.so | |
217 | ||
218 | %files plugin-filebrowser | |
219 | %defattr(644,root,root,755) | |
220 | %attr(755,root,root) %{_libdir}/%{name}/filebrowser.so |