4a88efc005
Add file HACKING and classviewer icons. Prevent installing geany.desktop twice. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2106 ea778897-0a13-0410-b9d1-a72fbfd435f5
55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
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
|
|
URL: http://geany.uvena.de/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Requires: glib2, gtk2, pango
|
|
BuildRequires: glib2-devel, gtk2-devel, pango-devel
|
|
|
|
%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
|
|
|
|
%install
|
|
%__rm -Rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
%__rm -Rf $RPM_BUILD_ROOT%{_datadir}/icons/
|
|
%__rm $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.ico
|
|
|
|
%clean
|
|
%__rm -Rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS
|
|
%{_bindir}/%{name}
|
|
%{_libdir}/geany/
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_datadir}/doc/%{name}/
|
|
%{_datadir}/man/man1/%{name}.1.gz
|
|
%{_datadir}/icons/hicolor/16x16/apps/classviewer-*.png
|