Summary: Fast and lightweight IDE using GTK+2
Summary(pl.UTF-8): Szybkie i lekkie IDE używające GTK+2
Name: geany
-Version: 0.17
-Release: 1
+Version: 1.22
+Release: 2
License: GPL v2+
Group: Development/Tools
-Source0: http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2
-# Source0-md5: 097f619f5f0800098a2438a216a28e7b
+Source0: http://download.geany.org/%{name}-%{version}.tar.bz2
+# Source0-md5: 0672077fe83e2a739aa0eaca426aacf0
Patch0: %{name}-desktop.patch
-URL: http://geany.uvena.de/
-BuildRequires: autoconf
-BuildRequires: automake
+URL: http://www.geany.org/
BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.4.0
+BuildRequires: glib2-devel >= 1:2.20.0
+BuildRequires: gtk+2-devel >= 2:2.16.0
BuildRequires: intltool
BuildRequires: libstdc++-devel
-BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: vte-devel
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: which
Obsoletes: geany-plugin-vcdiff
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Geany is a small and lightweight integrated development environment.
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 często używanych konstrukcji jak if, fi
+ while
- automatyczne uzupełnianie znaczników XML i HTML
- wyświetlanie podpowiedzi
- wiele wspieranych typów plików jak C, Java, PHP, Python, Perl,
%patch0 -p1
%build
-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__autoconf}
-%{__automake}
%configure \
- --docdir=%{_defaultdocdir}/%{name}-%{version}
+ --disable-silent-rules \
+ --docdir=%{_docdir}/%{name}-%{version}
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico
+rm -f $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.ico
+
+# fix locales
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/lb
%find_lang %{name}
-%{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'}
+%{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'}
%clean
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/%{name}
%{_desktopdir}/%{name}.desktop
%{_datadir}/%{name}
-%{_pixmapsdir}/%{name}.png
+#%{_pixmapsdir}/%{name}.png
+%{_iconsdir}/hicolor/16x16/apps/geany.png
+%{_iconsdir}/hicolor/48x48/apps/geany.png
+%{_iconsdir}/hicolor/scalable/apps/geany.svg
%{_mandir}/man1/%{name}.1*
%dir %{_libdir}/%{name}
%doc %{_docdir}/%{name}-%{version}