Fetching contributors…
Cannot retrieve contributors at this time
112 lines (93 sloc) 3.84 KB
# Note: This spec file is very basic to provide functionality
# on all known RPM based distributions.
# It's stronly recommended to use packages of your own distributor
Name: geany
Version: @VERSION@
Release: 1
Summary: A fast and lightweight IDE using GTK2
Group: Development/Tools
License: GPLv2+
Vendor: The Geany developer team <>
Packager: Dominic Hopf <>
# The following tags files were retrieved 2nd Jan 2010
# You will have to download these and put them into your rpmbuild/SOURCES directory,
# otherwise comment these lines out
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: glib2, gtk2, pango
BuildRequires: glib2-devel, gtk2-devel, pango-devel, gettext, intltool
Geany is a small and fast integrated development enviroment with basic
features and few dependencies to other packages or Desktop Environments.
Some features:
- Syntax highlighting
- Code completion
- Code folding
- Construct completion/snippets
- Auto-closing of XML and HTML tags
- Call tips
- 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
Summary: Header files for building Geany plug-ins
Group: Development/Tools
Requires: geany = %{version}-%{release}
Requires: pkgconfig gtk2-devel
%description devel
This package contains the header files and pkg-config file needed for building
Geany plug-ins. You do not need to install this package to use Geany.
%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
# If you experience build problems like
# "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
# try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
#sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
%__rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
# Install tags files
# comment the following two lines out if you didn't download the tags files mentioned
# above
mkdir -p $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/
%defattr(-, root, root, -)
%doc %{_datadir}/doc/%{name}/*
%doc %{_mandir}/man1/%{name}.1.gz
%files devel
%defattr(-, root, root, -)