--- /dev/null
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%bcond_without tests # build without tests
+#
+Summary: GTK Programmer's Editor
+Name: geany
+Version: 0.3
+Release: 1
+License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
+Group: Applications
+Source0: http://geany.uvena.de/files/%{name}-%{version}.tar.bz2
+# Source0-md5: 64bc92e6d0582bc3594537da5fa7cf91
+URL: http://geany.uvena.de/
+BuildRequires: gtk+2-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+Basic features of Geany
+- syntax highlighting
+- code completion
+- auto completion of often used constructs like if, for and while
+- auto completion of XML and HTML tags
+- call tips
+- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
+- symbol lists
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README THANKS TODO doc
+%attr(755,root,root) %{_bindir}/geany
+%{_desktopdir}/geany.desktop
+%{_datadir}/%{name}
+%{_pixmapsdir}/geany.png