1 # Note: This spec file is very basic to provide functionality
2 # on all known RPM based distributions.
3 # It's stronly recommended to use packages of your own distributor
8 Summary: A fast and lightweight IDE using GTK2
10 Group: Development
/Tools
12 URL: http
://www.geany.org
/
13 Vendor: The Geany developer team
<info@geany.org
>
14 Packager: Dominic Hopf
<dmaphy@googlemail.com
>
15 Source: http
://download.geany.org
/%{name}-%{version}.tar.bz2
17 # The following tags files were retrieved 2nd Jan 2010
18 # You will have to download these and put them into your rpmbuild/SOURCES directory,
19 # otherwise comment these lines out
20 Source1: http
://download.geany.org
/contrib
/tags
/sqlite3.c.tags
21 Source2: http
://download.geany.org
/contrib
/tags
/std.glsl.tags
22 Source3: http
://download.geany.org
/contrib
/tags
/gtk218.c.tags
23 Source4: http
://download.geany.org
/contrib
/tags
/xfce46.c.tags
24 Source5: http
://download.geany.org
/contrib
/tags
/dbus
-glib
-0.76.c.tags
25 Source6: http
://download.geany.org
/contrib
/tags
/standard.css.tags
26 Source7: http
://download.geany.org
/contrib
/tags
/geany
-api
-0.18.c.tags
27 Source8: http
://download.geany.org
/contrib
/tags
/std.vala.tags
28 Source9: http
://download.geany.org
/contrib
/tags
/drupal.php.tags
29 Source10: http
://download.geany.org
/contrib
/tags
/std.latex.tags
30 Source11: http
://download.geany.org
/contrib
/tags
/libxml
-2.0.c.tags
32 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
33 Requires: glib2
, gtk2
, pango
34 BuildRequires
: glib2
-devel
, gtk2
-devel
, pango
-devel
, gettext
, intltool
37 Geany is a small and fast integrated development enviroment with basic
38 features and few dependencies to other packages or Desktop Environments.
44 - Construct completion
/snippets
45 - Auto
-closing of XML and HTML tags
47 - Support
for Many languages like C
, Java
, PHP
, HTML
, Python
, Perl
, Pascal
48 - symbol lists and symbol name auto
-completion
50 - Simple project management
54 Summary: Header files
for building Geany plug
-ins
55 Group: Development
/Tools
56 Requires: geany
= %{version}-%{release}
57 Requires: pkgconfig gtk2
-devel
60 This package contains the header files and pkg
-config file needed
for building
61 Geany plug
-ins. You
do not need to
install this package to use Geany.
65 # remove waf since this isn't needed for the build, we're building the package
75 %__rm -Rf $RPM_BUILD_ROOT
77 # If you experience build problems like
78 # "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
79 # try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
80 #sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
82 %__rm -f $RPM_BUILD_ROOT
%{_datadir}/icons
/hicolor
/icon
-theme.cache
85 # comment the following two lines out if you didn't download the tags files mentioned
87 mkdir -p $RPM_BUILD_ROOT
%{_datadir}/%{name}/tags
/
88 install -p
%{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags
/
91 %__rm -Rf $RPM_BUILD_ROOT
94 %defattr(-, root
, root
, -)
95 %doc %{_datadir}/doc/%{name}/*
96 %doc %{_mandir}/man1/%{name}.1.gz
101 %{_datadir}/applications/%{name}.desktop
102 %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
103 %{_datadir}/icons
/hicolor
/16x16
/apps
/*.png
104 %{_datadir}/icons
/hicolor
/48x48
/apps
/*.png
105 %{_datadir}/icons
/hicolor
/scalable
/apps
/*.svg
109 %defattr(-, root
, root
, -)
111 %{_libdir}/pkgconfig
/geany.pc