Sisyphus repository
Last update: 12 august 2022 | SRPMs: 17595 | Visits: 24761586
en ru br
ALT Linux repos
S:1.38-alt1
5.0: 0.15-alt2
4.1: 0.14-alt1
4.0: 0.10.2-alt1.1

Other repositories
Upstream:0.13

Group :: Development/Other
RPM: geany

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1

Name: geany
Version: 0.14
Release: alt1

Summary: A fast and lightweight IDE using GTK2
License: GPL
Group: Development/Other
Url: http://geany.uvena.de/
Packager: Slava Semushin <php-coder at altlinux.ru>

Source: http://ovh.dl.sourceforge.net/%name/%name-%version.tar.bz2

Requires: libvte
BuildPreReq: desktop-file-utils
BuildRequires: libgtk+2-devel gcc-c++ intltool

%description
Geany is a small and lightweight integrated development environment.
It was developed to provide a small and fast IDE, which has only a few
dependencies from other packages. Another goal was to be as
independent as possible from a special Desktop Environment like KDE or
GNOME. So it is using only the GTK2 toolkit and therefore you need
only the GTK2 runtime libraries to run Geany.

%prep
%setup

# - Install THANKS file

sed -i '/TODO/a \
$(INSTALL_DATA) $(top_srcdir)/THANKS $(DOCDIR)
' doc/Makefile.am

# - don't force -Os gcc optimization for Scintilla

#   (based on patch from OpenBSD:
#   http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/geany/patches/patch-scintilla_Makefile_in)
sed -i 's|-Os ||' scintilla/Makefile.am

%build
%autoreconf
%configure --docdir=%_defaultdocdir/%name-%version
%make_build --silent --no-print-directory

%install
%make_install --silent --no-print-directory DESTDIR=%buildroot install
%find_lang %name

%post
%update_menus
%update_desktopdb

%postun
%clean_menus
%clean_desktopdb

%files -f %name.lang
%_bindir/%name
%_datadir/%name/
%_man1dir/%name.1.*
%_desktopdir/%name.desktop
%_pixmapsdir/%name.png
%_miconsdir/classviewer-*.png
%_defaultdocdir/%name-%version/
%_libdir/%name/
%exclude %_includedir/%name
%exclude %_pkgconfigdir/%name.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin