1 | Summary: A fast and lightweight IDE using GTK2 |
---|
2 | Summary(ja): GTK2 を用いた高速・軽量な統合開発環境 (IDE) |
---|
3 | Name: geany |
---|
4 | Version: 1.22 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPL2+ |
---|
7 | Group: Applications/Development |
---|
8 | Source: http://download.geany.org/%{name}-%{version}.tar.bz2 |
---|
9 | URL: http://www.geany.org/ |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | |
---|
12 | BuildRequires: glib2-devel >= 2.20 |
---|
13 | BuildRequires: gtk2-devel >= 2.16 |
---|
14 | BuildRequires: pango-devel |
---|
15 | BuildRequires: desktop-file-utils |
---|
16 | BuildRequires: gettext, intltool |
---|
17 | BuildRequires: perl-XML-Parser |
---|
18 | |
---|
19 | Requires: glib2, pango |
---|
20 | Requires: gtk2 >= 2.8 |
---|
21 | Requires: vte |
---|
22 | |
---|
23 | %description |
---|
24 | Geany is a small and fast editor with basic features |
---|
25 | of an integrated development environment. |
---|
26 | |
---|
27 | Some basic features: |
---|
28 | * Syntax highlighting |
---|
29 | * Code folding |
---|
30 | * Symbol name auto-completion |
---|
31 | * Construct completion/snippets |
---|
32 | * Auto-closing of XML and HTML tags |
---|
33 | * Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal (full list) |
---|
34 | * Symbol lists |
---|
35 | * Code navigation |
---|
36 | * Build system to compile and execute your code |
---|
37 | * Simple project management |
---|
38 | * Plugin interface (see Plugins) |
---|
39 | |
---|
40 | %description -l ja |
---|
41 | Geany は統合開発環境としての基本的機能を備えた、小さくて高速なエディタです。 |
---|
42 | |
---|
43 | 基本的機能: |
---|
44 | * シンタックスハイライト |
---|
45 | * コードの折り畳み |
---|
46 | * シンボル名の自動補完 |
---|
47 | * コンピレーション/スニペットの構築 |
---|
48 | * XML と HTML タグを自動で閉じる |
---|
49 | * C、Java、PHP、HTML、Python、Perl、Pascal (full list) など多くのファイル形式をサポート |
---|
50 | * シンボルリスト |
---|
51 | * コードナビゲーション |
---|
52 | * 自分のコードをコンパイル&実行するためのビルドシステム |
---|
53 | * シンプルなプロジェクト管理 |
---|
54 | * プラグインインターフェイス |
---|
55 | |
---|
56 | %package devel |
---|
57 | Summary: Devel files for building Geany plugins |
---|
58 | Summary(ja): Geany プラグインをビルドするための開発ファイル |
---|
59 | Group: Development/Libraries |
---|
60 | Requires: geany = %{version}-%{release} |
---|
61 | |
---|
62 | %description devel |
---|
63 | This package contains the devel files and pkg-config file needed for building |
---|
64 | Geany plugins. You do not need to install this package to use Geany. |
---|
65 | |
---|
66 | %description devel -l ja |
---|
67 | このパッケージには Geany プラグインをビルドするために必要な開発ファイル、 |
---|
68 | 及び pkg-config ファイルが含まれています。 |
---|
69 | Geany を使うためにこのパッケージをインストールする必要はありません。 |
---|
70 | |
---|
71 | %prep |
---|
72 | %setup -q |
---|
73 | |
---|
74 | %build |
---|
75 | %configure |
---|
76 | make %{?_smp_mflags} |
---|
77 | |
---|
78 | %install |
---|
79 | %__rm -Rf $RPM_BUILD_ROOT |
---|
80 | %makeinstall |
---|
81 | %__rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
82 | |
---|
83 | desktop-file-install --delete-original --vendor="vine" \ |
---|
84 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
85 | --mode 0644 \ |
---|
86 | $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
87 | |
---|
88 | # Remove libtool library archive (*.la) files |
---|
89 | rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/*.la |
---|
90 | |
---|
91 | %clean |
---|
92 | %__rm -Rf $RPM_BUILD_ROOT |
---|
93 | |
---|
94 | %post |
---|
95 | update-desktop-database %{_datadir}/applications |
---|
96 | touch --no-create %{_datadir}/icons/hicolor |
---|
97 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
98 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
99 | fi |
---|
100 | |
---|
101 | %postun |
---|
102 | update-desktop-database %{_datadir}/applications |
---|
103 | touch --no-create %{_datadir}/icons/hicolor |
---|
104 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
105 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
106 | fi |
---|
107 | |
---|
108 | %files |
---|
109 | %defattr(-, root, root, -) |
---|
110 | %doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS |
---|
111 | %{_bindir}/%{name} |
---|
112 | %{_datadir}/%{name} |
---|
113 | %{_libdir}/%{name} |
---|
114 | %{_datadir}/applications/*.desktop |
---|
115 | %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo |
---|
116 | %{_datadir}/icons/hicolor/* |
---|
117 | %{_datadir}/doc/%{name}/ |
---|
118 | %{_mandir}/man1/geany.1.gz |
---|
119 | |
---|
120 | %files devel |
---|
121 | %defattr(-, root, root, -) |
---|
122 | %{_includedir}/geany |
---|
123 | %{_libdir}/pkgconfig/geany.pc |
---|
124 | |
---|
125 | %changelog |
---|
126 | * Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.22-1 |
---|
127 | - new upstream release |
---|
128 | - fixed BuildRequires: glib2-devel >= 2.20, gtk2-devel >= 2.16 |
---|
129 | |
---|
130 | * Sat Oct 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21-1 |
---|
131 | - new upstream release |
---|
132 | - changed URL |
---|
133 | |
---|
134 | * Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.20-1 |
---|
135 | - new upstream version |
---|
136 | |
---|
137 | * Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.2-1 |
---|
138 | - new upstream version |
---|
139 | |
---|
140 | * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.19.1-2 |
---|
141 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
142 | |
---|
143 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1 |
---|
144 | - new upstream version |
---|
145 | |
---|
146 | * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19-1 |
---|
147 | - new upstream version |
---|
148 | |
---|
149 | * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1 |
---|
150 | - new upstream version |
---|
151 | |
---|
152 | * Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.18-2 |
---|
153 | - rebuilt |
---|
154 | |
---|
155 | * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18-1vl5 |
---|
156 | - new upstream version |
---|
157 | - added update-desktop-database %{_datadir}/applications in %post, %postun |
---|
158 | - run gtk-update-icon-cache in %post, %postun |
---|
159 | |
---|
160 | * Sat Jun 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-4vl5 |
---|
161 | - updated description |
---|
162 | - added desktop-file-install |
---|
163 | - added BuildRequires: desktop-file-utils |
---|
164 | |
---|
165 | * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-3vl5 |
---|
166 | - fixed BuildRequires: perl-XML-Parser |
---|
167 | |
---|
168 | * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-2vl5 |
---|
169 | - fixed %BuildRoot |
---|
170 | - changed Group to Applications/Development |
---|
171 | -devel Group to Development/Libraries |
---|
172 | - added BuildRequires: gettext, intltool, perl(XML::Parser) |
---|
173 | - added Requires: vte |
---|
174 | |
---|
175 | * Sun May 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-1vl5 |
---|
176 | - new upstream version |
---|
177 | - spec in UTF-8 |
---|
178 | |
---|
179 | * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1vl5 |
---|
180 | - new upstream version |
---|
181 | - fixed Requires: gtk2 >= 2.8 (minimum required GTK version 2.8) |
---|
182 | |
---|
183 | * Wed Feb 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-2vl5 |
---|
184 | - fixed License |
---|
185 | - updated Source URL |
---|
186 | - modified %build (use "%{?_smp_mflags}") |
---|
187 | - splited -devel sub-package (for header files) |
---|
188 | - removed *.la files |
---|
189 | |
---|
190 | * Sat Feb 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1vl5 |
---|
191 | - initial build for VineSeed |
---|