]>
Commit | Line | Data |
---|---|---|
bcbae9f2 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_with tests # build with tests | |
4 | %bcond_without tests # build without tests | |
5 | # | |
6 | Summary: GTK Programmer's Editor | |
7 | Name: geany | |
8 | Version: 0.3 | |
9 | Release: 1 | |
10 | License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here) | |
11 | Group: Applications | |
12 | Source0: http://geany.uvena.de/files/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 64bc92e6d0582bc3594537da5fa7cf91 | |
14 | URL: http://geany.uvena.de/ | |
15 | BuildRequires: gtk+2-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Geany is a small and lightweight integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME. So it uses only the GTK2 toolkit and therefore you need only the GTK2 runtime libraries to run Geany. | |
20 | ||
21 | Basic features of Geany | |
22 | - syntax highlighting | |
23 | - code completion | |
24 | - auto completion of often used constructs like if, for and while | |
25 | - auto completion of XML and HTML tags | |
26 | - call tips | |
27 | - many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal | |
28 | - symbol lists | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | # create directories if necessary | |
40 | #install -d $RPM_BUILD_ROOT | |
41 | #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc AUTHORS NEWS README THANKS TODO doc | |
52 | %attr(755,root,root) %{_bindir}/geany | |
53 | %{_desktopdir}/geany.desktop | |
54 | %{_datadir}/%{name} | |
55 | %{_pixmapsdir}/geany.png |