Windows: Add new Pango dependencies to bundle creation script
[geany-mirror.git] / geany.spec.in
blob11e6cda0c7489d627b6be6b88aff508957490439
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
5 Name: geany
6 Version: @VERSION@
7 Release: 1
8 Summary: A fast and lightweight IDE using GTK+
10 Group: Development/Tools
11 License: GPLv2+
12 URL: https://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
36 %description
37 Geany is a small and fast integrated development environment with basic
38 features and few dependencies to other packages or Desktop Environments.
40 Some features:
41 - Syntax highlighting
42 - Code completion
43 - Code folding
44 - Construct completion/snippets
45 - Auto-closing of XML and HTML tags
46 - Call tips
47 - Support for Many languages like C, Java, PHP, HTML, Python, Perl, Pascal
48 - symbol lists and symbol name auto-completion
49 - Code navigation
50 - Simple project management
51 - Plugin interface
53 %package devel
54 Summary: Header files for building Geany plug-ins
55 Group: Development/Tools
56 Requires: geany = %{version}-%{release}
57 Requires: pkgconfig gtk2-devel
59 %description 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.
63 %prep
64 %setup -q
66 %build
67 %configure
68 %__make
70 %install
71 %__rm -Rf $RPM_BUILD_ROOT
72 %makeinstall
73 # If you experience build problems like
74 # "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
75 # try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
76 #sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
78 %__rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
80 # Install tags files
81 # comment the following two lines out if you didn't download the tags files mentioned
82 # above
83 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
84 install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
86 %clean
87 %__rm -Rf $RPM_BUILD_ROOT
89 %files
90 %defattr(-, root, root, -)
91 %doc %{_datadir}/doc/%{name}/*
92 %doc %{_mandir}/man1/%{name}.1.gz
94 %{_bindir}/%{name}
95 %{_datadir}/%{name}
96 %{_libdir}/%{name}
97 %{_datadir}/applications/%{name}.desktop
98 %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
99 %{_datadir}/icons/hicolor/16x16/apps/*.png
100 %{_datadir}/icons/hicolor/48x48/apps/*.png
101 %{_datadir}/icons/hicolor/scalable/apps/*.svg
104 %files devel
105 %defattr(-, root, root, -)
106 %{_includedir}/geany
107 %{_libdir}/pkgconfig/geany.pc