@ -1,6 +1,6 @@
Name: geany
Name: geany
Version: 0.18
Version: 0.18.1
Release: 6 %{?dist}
Release: 1 %{?dist}
Summary: A fast and lightweight IDE using GTK2
Summary: A fast and lightweight IDE using GTK2
Group: Development/Tools
Group: Development/Tools
@ -8,15 +8,18 @@ License: GPLv2+
URL: http://www.geany.org/
URL: http://www.geany.org/
Source0: http://download.geany.org/%{name}-%{version}.tar.bz2
Source0: http://download.geany.org/%{name}-%{version}.tar.bz2
# The following tags files were retrieved 16th Aug 2009
# The following tags files were retrieved 2nd Jan 2010
Source1: http://download.geany.org/contrib/tags/sqlite3.c.tags
Source1: http://download.geany.org/contrib/tags/sqlite3.c.tags
Source2: http://download.geany.org/contrib/tags/std.glsl.tags
Source2: http://download.geany.org/contrib/tags/std.glsl.tags
Source3: http://download.geany.org/contrib/tags/gtk216 .c.tags
Source3: http://download.geany.org/contrib/tags/gtk218 .c.tags
Source4: http://download.geany.org/contrib/tags/xfce46.c.tags
Source4: http://download.geany.org/contrib/tags/xfce46.c.tags
Source5: http://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags
Source5: http://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags
Source6: http://download.geany.org/contrib/tags/standard.css.tags
Source6: http://download.geany.org/contrib/tags/standard.css.tags
Source7: http://download.geany.org/contrib/tags/geany-api-0.18.c.tags
Source7: http://download.geany.org/contrib/tags/geany-api-0.18.c.tags
Source8: http://download.geany.org/contrib/tags/std.vala.tags
Source8: http://download.geany.org/contrib/tags/std.vala.tags
Source9: http://download.geany.org/contrib/tags/drupal.php.tags
Source10: http://download.geany.org/contrib/tags/std.latex.tags
Source11: http://download.geany.org/contrib/tags/libxml-2.0.c.tags
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -27,17 +30,21 @@ Requires: vte
%define geany_docdir $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
%define geany_docdir $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
%description
%description
Geany is a small and fast editor with basic features of an
Geany is a small and fast integrated development enviroment with basic
integrated development environment .
features and few dependencies to other packages or Desktop Environments .
Some features:
Some features:
- syntax highlighting
- Syntax highlighting
- code completion
- Code completion
- code folding
- Code folding
- call tips
- Construct completion/snippets
- folding
- Auto-closing of XML and HTML tags
- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
- Call tips
- symbol lists
- Support for Many languages like C, Java, PHP, HTML, Python, Perl, Pascal
- symbol lists and symbol name auto-completion
- Code navigation
- Simple project management
- Plugin interface
%package devel
%package devel
Summary: Header files for building Geany plug-ins
Summary: Header files for building Geany plug-ins
@ -51,6 +58,10 @@ Geany plug-ins. You do not need to install this package to use Geany.
%prep
%prep
%setup -q
%setup -q
# remove waf since this isn't needed for the build, we're building the package
# with autotools
rm -f waf
rm -f wscript
%build
%build
%configure --docdir=%{_docdir}/%{name}-%{version}
%configure --docdir=%{_docdir}/%{name}-%{version}
@ -72,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/*.la
# Install tags files
# Install tags files
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
%post
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@ -91,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%files -f %{name}.lang
%defattr(-, root, root, -)
%defattr(-, root, root, -)
%doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS
%doc %{_mandir}/man1/geany.1.gz
%{_bindir}/%{name}
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/%{name}
%{_libdir}/%{name}
%{_libdir}/%{name}
@ -98,8 +112,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/16x16/apps/*.png
%{_datadir}/icons/hicolor/16x16/apps/*.png
%{_datadir}/icons/hicolor/48x48/apps/*.png
%{_datadir}/icons/hicolor/48x48/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/doc/%{name}-%{version}
%{_mandir}/man1/geany.1.gz
%files devel
%files devel
%defattr(-, root, root, -)
%defattr(-, root, root, -)
@ -107,6 +120,13 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/geany.pc
%{_libdir}/pkgconfig/geany.pc
%changelog
%changelog
* Sun Jan 14 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.18.1-1
- New Geany release: 0.18.1
- update GTK2 tags to 2.18
- add tags fpr drupal, LaTeX and libxml
- remove files concerned to the waf build system
- give the Summary and description a small rework
* Sun Aug 16 2009 Dominic Hopf <dmaphy@fedoraproject.org> - 0.18-6
* Sun Aug 16 2009 Dominic Hopf <dmaphy@fedoraproject.org> - 0.18-6
- release bump to correct the update path
- release bump to correct the update path