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