2006-06-08 14:59:23 +00:00
|
|
|
Summary: A fast and lightweight IDE using GTK2
|
|
|
|
Name: geany
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
|
|
|
License: GPL2
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: Enrico Tröger <enrico.troeger@uvena.de>
|
|
|
|
Packager: Enrico Tröger <enrico.troeger@uvena.de>
|
|
|
|
Source: http://files.uvena.de/geany/%{name}-%{version}.tar.bz2
|
2008-09-01 11:15:16 +00:00
|
|
|
URL: http://www.geany.org/
|
2006-10-29 01:25:47 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2006-06-08 14:59:23 +00:00
|
|
|
Requires: glib2, gtk2, pango
|
|
|
|
BuildRequires: glib2-devel, gtk2-devel, pango-devel
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
%description
|
2006-06-08 14:59:23 +00:00
|
|
|
Geany is a small and fast editor with basic features of an integrated development environment.
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
Some features:
|
|
|
|
- syntax highlighting
|
|
|
|
- code completion
|
2006-06-08 14:59:23 +00:00
|
|
|
- code folding
|
2005-11-22 12:26:26 +00:00
|
|
|
- call tips
|
2006-04-29 23:56:09 +00:00
|
|
|
- folding
|
2005-11-22 12:26:26 +00:00
|
|
|
- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
|
|
|
|
- symbol lists
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2006-06-08 14:59:23 +00:00
|
|
|
%configure
|
|
|
|
%__make
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
%install
|
2006-06-08 14:59:23 +00:00
|
|
|
%__rm -Rf $RPM_BUILD_ROOT
|
2005-11-22 12:26:26 +00:00
|
|
|
%makeinstall
|
2008-12-07 13:40:48 +00:00
|
|
|
# If you experience build problems like
|
|
|
|
# "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
|
2008-12-08 21:23:56 +00:00
|
|
|
# try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
|
2008-12-07 13:40:48 +00:00
|
|
|
#sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
|
|
|
|
|
2007-12-18 16:30:57 +00:00
|
|
|
%__rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
%clean
|
2006-06-08 14:59:23 +00:00
|
|
|
%__rm -Rf $RPM_BUILD_ROOT
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2007-12-17 17:20:55 +00:00
|
|
|
%doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS
|
2006-06-08 14:59:23 +00:00
|
|
|
%{_bindir}/%{name}
|
2008-12-08 21:23:56 +00:00
|
|
|
%{_libdir}/%{name}/
|
2006-06-08 14:59:23 +00:00
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/doc/%{name}/
|
2007-12-18 16:30:57 +00:00
|
|
|
%{_mandir}/man1/%{name}.1.gz
|
2007-12-17 17:20:55 +00:00
|
|
|
%{_datadir}/icons/hicolor/16x16/apps/classviewer-*.png
|
2008-12-08 21:23:56 +00:00
|
|
|
%{_includedir}/%{name}/
|
2008-03-14 17:28:37 +00:00
|
|
|
%{_libdir}/pkgconfig/
|