-Summary: GTK+2 Programmer's Editor
+Summary: Fast and lightweight IDE using GTK+2
+Summary(pl): Szybkie i lekkie IDE u¿ywaj±ce GTK+2
Name: geany
-Version: 0.3
-Release: 2
+Version: 0.7.1
+Release: 1
License: GPL v2+
Group: Development/Tools
-Source0: http://geany.uvena.de/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 64bc92e6d0582bc3594537da5fa7cf91
+Source0: http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2
+# Source0-md5: bc6b93011b75b7a5256c164761141fb3
Patch0: %{name}-desktop.patch
Patch1: %{name}-doc_dir.patch
URL: http://geany.uvena.de/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: gtk+2-devel >= 2:2.4.0
+BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
+BuildRequires: vte-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define filterout_ld (-Wl,)?--as-needed
+
%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 GTK+2 toolkit and therefore you need only
-the GTK+2 runtime libraries to run Geany.
+GNOME.
Basic features of Geany
- syntax highlighting
Pascal
- symbol lists
+%description -l pl
+Geany jest ma³ym i lekkim zintegrowanym ¶rodowiskiem programistycznym.
+Zosta³ napisany z my¶l± o byciu ma³ym i szybkim IDE, z ma³± liczb±
+zale¿no¶ci od innych pakietów. Kolejnym, przy¶wiecaj±cym tworzeniu go
+celem by³o maksymalne uniezale¿nienie od konkretnego ¶rodowiska
+graficznego jak KDE czy GNOME.
+
+Podstawowe cechy Geany to:
+- pod¶wietlanie sk³adni
+- uzupe³nianie kodu
+- automatyczne uzupe³nianie czêsto u¿ywanych konstrukcji jak if, for
+ i while
+- automatyczne uzupe³nianie znaczników XML i HTML
+- wy¶wietlanie podpowiedzi
+- wiele wspieranych typów plików jak C, Java, PHP, Python, Perl,
+ Pascal
+- wykazy symboli
+
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
+%{__glib_gettextize}
%{__aclocal}
+%{__autoheader}
%{__autoconf}
%{__automake}
%configure