[521] | 1 | Summary: A fast and lightweight IDE using GTK2 |
---|
[1624] | 2 | Summary(ja): GTK2 を用いた高速・軽量な統合開発環境 (IDE) |
---|
[521] | 3 | Name: geany |
---|
[8445] | 4 | Version: 1.24.1 |
---|
[10581] | 5 | Release: 2%{?_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 | |
---|
[6383] | 12 | BuildRequires: glib2-devel >= 2.20 |
---|
| 13 | BuildRequires: gtk2-devel >= 2.16 |
---|
| 14 | BuildRequires: pango-devel |
---|
[521] | 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 | * コンピレーション/スニペットの構築 |
---|
[1624] | 48 | * XML と HTML タグを自動で閉じる |
---|
[521] | 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 |
---|
[1624] | 58 | Summary(ja): Geany プラグインをビルドするための開発ファイル |
---|
[521] | 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/* |
---|
[7574] | 117 | %{_datadir}/icons/Tango/* |
---|
[521] | 118 | %{_datadir}/doc/%{name}/ |
---|
| 119 | %{_mandir}/man1/geany.1.gz |
---|
| 120 | |
---|
| 121 | %files devel |
---|
| 122 | %defattr(-, root, root, -) |
---|
| 123 | %{_includedir}/geany |
---|
| 124 | %{_libdir}/pkgconfig/geany.pc |
---|
| 125 | |
---|
| 126 | %changelog |
---|
[10581] | 127 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.24.1-2 |
---|
| 128 | - rebuild with gcc-5.4.0 |
---|
| 129 | |
---|
[8445] | 130 | * Sat May 17 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.24.1-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[7698] | 133 | * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.23.1-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[7574] | 136 | * Sat Mar 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.23-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[6383] | 139 | * Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.22-1 |
---|
| 140 | - new upstream release |
---|
| 141 | - fixed BuildRequires: glib2-devel >= 2.20, gtk2-devel >= 2.16 |
---|
| 142 | |
---|
[5055] | 143 | * Sat Oct 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - changed URL |
---|
| 146 | |
---|
[2462] | 147 | * Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.20-1 |
---|
| 148 | - new upstream version |
---|
| 149 | |
---|
[2268] | 150 | * Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.2-1 |
---|
| 151 | - new upstream version |
---|
| 152 | |
---|
[1935] | 153 | * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.19.1-2 |
---|
| 154 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 155 | |
---|
[1624] | 156 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1 |
---|
| 157 | - new upstream version |
---|
| 158 | |
---|
[1201] | 159 | * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19-1 |
---|
| 160 | - new upstream version |
---|
| 161 | |
---|
[521] | 162 | * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1 |
---|
| 163 | - new upstream version |
---|
| 164 | |
---|
| 165 | * Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.18-2 |
---|
| 166 | - rebuilt |
---|
| 167 | |
---|
| 168 | * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18-1vl5 |
---|
| 169 | - new upstream version |
---|
| 170 | - added update-desktop-database %{_datadir}/applications in %post, %postun |
---|
| 171 | - run gtk-update-icon-cache in %post, %postun |
---|
| 172 | |
---|
| 173 | * Sat Jun 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-4vl5 |
---|
| 174 | - updated description |
---|
| 175 | - added desktop-file-install |
---|
| 176 | - added BuildRequires: desktop-file-utils |
---|
| 177 | |
---|
| 178 | * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-3vl5 |
---|
| 179 | - fixed BuildRequires: perl-XML-Parser |
---|
| 180 | |
---|
| 181 | * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-2vl5 |
---|
| 182 | - fixed %BuildRoot |
---|
| 183 | - changed Group to Applications/Development |
---|
| 184 | -devel Group to Development/Libraries |
---|
| 185 | - added BuildRequires: gettext, intltool, perl(XML::Parser) |
---|
| 186 | - added Requires: vte |
---|
| 187 | |
---|
| 188 | * Sun May 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-1vl5 |
---|
| 189 | - new upstream version |
---|
| 190 | - spec in UTF-8 |
---|
| 191 | |
---|
| 192 | * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1vl5 |
---|
| 193 | - new upstream version |
---|
| 194 | - fixed Requires: gtk2 >= 2.8 (minimum required GTK version 2.8) |
---|
| 195 | |
---|
| 196 | * Wed Feb 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-2vl5 |
---|
| 197 | - fixed License |
---|
| 198 | - updated Source URL |
---|
| 199 | - modified %build (use "%{?_smp_mflags}") |
---|
| 200 | - splited -devel sub-package (for header files) |
---|
| 201 | - removed *.la files |
---|
| 202 | |
---|
| 203 | * Sat Feb 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1vl5 |
---|
| 204 | - initial build for VineSeed |
---|