Skip to content
This repository
Newer
Older
100644 111 lines (93 sloc) 3.928 kb
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
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
4
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
5 Name: geany
6 Version: @VERSION@
7 Release: 1
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
8 Summary: A fast and lightweight IDE using GTK2
9
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
10 Group: Development/Tools
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
11 License: GPLv2+
f101e95a » eht16
2008-09-01 New website address: www.geany.org.
12 URL: http://www.geany.org/
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
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
16
da6897df » eht16
2010-01-28 Update RPM Spec file (patch by Dominic Hopf, thanks).
17 # The following tags files were retrieved 2nd Jan 2010
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
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
da6897df » eht16
2010-01-28 Update RPM Spec file (patch by Dominic Hopf, thanks).
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
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
31
32 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
33 Requires: glib2, gtk2, pango
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
34 BuildRequires: glib2-devel, gtk2-devel, pango-devel, gettext, intltool
8cb2cf09 » eht16
2005-11-22 Initial import
35
36 %description
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
37 Geany is a small and fast integrated development enviroment with basic
38 features and few dependencies to other packages or Desktop Environments.
aec992e1 » eht16
2009-02-27 Update the Packager tag due to Dominic's various contributions.
39
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
40 Some features:
aec992e1 » eht16
2009-02-27 Update the Packager tag due to Dominic's various contributions.
41 - Syntax highlighting
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
42 - Code completion
aec992e1 » eht16
2009-02-27 Update the Packager tag due to Dominic's various contributions.
43 - Code folding
44 - Construct completion/snippets
45 - Auto-closing of XML and HTML tags
46 - Call tips
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
47 - Support for Many languages like C, Java, PHP, HTML, Python, Perl, Pascal
48 - symbol lists and symbol name auto-completion
aec992e1 » eht16
2009-02-27 Update the Packager tag due to Dominic's various contributions.
49 - Code navigation
50 - Simple project management
51 - Plugin interface
8cb2cf09 » eht16
2005-11-22 Initial import
52
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
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
58
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.
62
8cb2cf09 » eht16
2005-11-22 Initial import
63 %prep
64 %setup -q
da6897df » eht16
2010-01-28 Update RPM Spec file (patch by Dominic Hopf, thanks).
65 # remove waf since this isn't needed for the build, we're building the package
66 # with autotools
67 rm -f waf
68 rm -f wscript
8cb2cf09 » eht16
2005-11-22 Initial import
69
70 %build
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
71 %configure
72 %__make
8cb2cf09 » eht16
2005-11-22 Initial import
73
74 %install
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
75 %__rm -Rf $RPM_BUILD_ROOT
8cb2cf09 » eht16
2005-11-22 Initial import
76 %makeinstall
b3dd5743 » eht16
2008-12-07 Add a note and an ugly workaround for strange build problems which mi…
77 # If you experience build problems like
78 # "Found '/home/user/rpmbuild/BUILDROOT/geany-0.16svn-3328.i386' in installed files; aborting"
da2448cf » eht16
2008-12-08 Add a note about adding 'sed' as build-dep when it is used.
79 # try uncommenting the following line to workaround the problem (and add sed to BuildRequires)
b3dd5743 » eht16
2008-12-07 Add a note and an ugly workaround for strange build problems which mi…
80 #sed -i "s@libdir='.*'@libdir='%{_libdir}/%{name}'@g" $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
81
c70f7c7a » eht16
2009-03-27 Ignore errors when trying to delete the icon cache file even if it do…
82 %__rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
8cb2cf09 » eht16
2005-11-22 Initial import
83
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
84 # Install tags files
85 # comment the following two lines out if you didn't download the tags files mentioned
86 # above
87 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
da6897df » eht16
2010-01-28 Update RPM Spec file (patch by Dominic Hopf, thanks).
88 install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
89
8cb2cf09 » eht16
2005-11-22 Initial import
90 %clean
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
91 %__rm -Rf $RPM_BUILD_ROOT
8cb2cf09 » eht16
2005-11-22 Initial import
92
93 %files
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
94 %defattr(-, root, root, -)
95 %doc %{_datadir}/doc/%{name}/*
96 %doc %{_mandir}/man1/%{name}.1.gz
97
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
98 %{_bindir}/%{name}
99 %{_datadir}/%{name}
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
100 %{_libdir}/%{name}
d0c41ab9 » eht16
2006-06-08 Some improvements, corrected download URL.
101 %{_datadir}/applications/%{name}.desktop
102 %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
5f54fba3 » eht16
2009-05-30 Adjust icon paths (patch by Dominic Hopf, thanks).
103 %{_datadir}/icons/hicolor/16x16/apps/*.png
104 %{_datadir}/icons/hicolor/48x48/apps/*.png
105 %{_datadir}/icons/hicolor/scalable/apps/*.svg
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
106
da6897df » eht16
2010-01-28 Update RPM Spec file (patch by Dominic Hopf, thanks).
107
3cb236ee » eht16
2009-12-08 Improve geany.spec (split the package into a binary and devel package…
108 %files devel
109 %defattr(-, root, root, -)
110 %{_includedir}/geany
111 %{_libdir}/pkgconfig/geany.pc
Something went wrong with that request. Please try again.