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