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