Add missing header include.
[geany-mirror.git] / geany.spec.in
blob79a370dcccc7fba1096eb3b9a6e64712689b1a7d
1 Summary: A fast and lightweight IDE using GTK2
2 Name: geany
3 Version: @VERSION@
4 Release: 1
5 License: GPL2
6 Group: Development/Tools
7 Vendor: The Geany developer team <info@geany.org>
8 Packager: Dominic Hopf <dmaphy@gmail.com>
9 Source: http://download.geany.org/%{name}-%{version}.tar.gz
10 URL: http://www.geany.org/
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12 Requires: glib2, gtk2, pango
13 BuildRequires: glib2-devel, gtk2-devel, pango-devel
15 %description
16 Geany is a small and lightweight Integrated Development Environment. It
17 was developed to provide a small and fast IDE, which has only a few
18 dependencies from other packages. Another goal was to be as independent
19 as possible from a special Desktop Environment like KDE or GNOME -
20 Geany only requires the GTK2 runtime libraries.
22 Some basic features of Geany:
24 - Syntax highlighting
25 - Code folding
26 - Symbol name auto-completion
27 - Construct completion/snippets
28 - Auto-closing of XML and HTML tags
29 - Call tips
30 - Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal, and others
31 - Symbol lists
32 - Code navigation
33 - Build system to compile and execute your code
34 - Simple project management
35 - Plugin interface
37 %prep
38 %setup -q
40 %build
41 %configure
42 %__make
44 %install
45 %__rm -Rf $RPM_BUILD_ROOT
46 %makeinstall
47 # If you experience build problems like
48 # "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
49 # try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
50 #sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
52 %__rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
54 %clean
55 %__rm -Rf $RPM_BUILD_ROOT
57 %files
58 %defattr(-, root, root)
59 %doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS
60 %{_bindir}/%{name}
61 %{_libdir}/%{name}/
62 %{_datadir}/%{name}
63 %{_datadir}/applications/%{name}.desktop
64 %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
65 %{_datadir}/icons/48x48/%{name}.png
66 %{_datadir}/doc/%{name}/
67 %{_mandir}/man1/%{name}.1.gz
68 %{_datadir}/icons/hicolor/16x16/apps/*.png
69 %{_datadir}/icons/hicolor/48x48/apps/*.png
70 %{_datadir}/icons/hicolor/scalable/apps/*.svg
71 %{_includedir}/%{name}/
72 %{_libdir}/pkgconfig/