|
|
|
Name: geany
|
|
|
|
Version: 0.11
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A fast and lightweight IDE using GTK2
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
License: GPL
|
|
|
|
URL: http://geany.uvena.de/
|
|
|
|
Source0: http://files.uvena.de/geany/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils, gettext, gtk2-devel, glib2-devel, pango-devel
|
|
|
|
Requires: vte
|
|
|
|
|
|
|
|
%define geany_docdir $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Geany is a small and fast editor with basic features of an
|
|
|
|
integrated development environment.
|
|
|
|
|
|
|
|
Some features:
|
|
|
|
- syntax highlighting
|
|
|
|
- code completion
|
|
|
|
- code folding
|
|
|
|
- call tips
|
|
|
|
- folding
|
|
|
|
- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
|
|
|
|
- symbol lists
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT DOCDIR=%{geany_docdir}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.ico
|
|
|
|
desktop-file-install --delete-original --vendor="fedora" \
|
|
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
--mode 0644 \
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
|
|
|
|
sed -i 's/\r//' %{geany_docdir}/ScintillaLicense.txt
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/doc/%{name}-%{version}
|
|
|
|
%{_mandir}/man1/geany.1.gz
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sun Sep 9 2007 Jonathan G. Underwood <j.underwood@gmail.com> - 0.11-1
|
|
|
|
- Update to version 0.11
|
|
|
|
|
|
|
|
* Fri Feb 23 2007 Josef Whiter <josef@toxicpanda.com> 0.10.1-1
|
|
|
|
- updating to 0.10.1 of geany
|
|
|
|
|
|
|
|
* Thu Jan 25 2007 Josef Whiter <josef@toxicpanda.com> 0.10-5
|
|
|
|
- removed autoconf/automake/vte-devel from BR as they are not needed
|
|
|
|
- removed patch to dynamically link in libvte
|
|
|
|
- adding patch to find appropriate libvte library from the vte package
|
|
|
|
- added vte as a Requires
|
|
|
|
|
|
|
|
* Wed Jan 24 2007 Josef Whiter <josef@toxicpanda.com> 0.10-4
|
|
|
|
- added autoconf and automake as a BR
|
|
|
|
|
|
|
|
* Wed Jan 24 2007 Josef Whiter <josef@toxicpanda.com> 0.10-3
|
|
|
|
- adding patch to dynamically link in libvte instead of using g_module_open
|
|
|
|
|
|
|
|
* Tue Jan 04 2007 Josef Whiter <josef@toxicpanda.com> 0.10-2
|
|
|
|
- Fixed mixed spaces/tabs problem
|
|
|
|
- added sed command to install to fix the ScintillaLicense.txt eol encoding
|
|
|
|
- fixed the docs so they are installed into the right place
|
|
|
|
- added an rm pixmaps/geany.ico, its only for windows installations
|
|
|
|
|
|
|
|
* Thu Dec 28 2006 Josef Whiter <josef@toxicpanda.com> 0.10-1
|
|
|
|
- Initial Release
|