[1269] | 1 | Name: sagasu |
---|
| 2 | Summary: GNOME tool to find strings in a set of files |
---|
| 3 | Summary(ja): ファイル内の語句を検索するための GNOME ツール |
---|
| 4 | Version: 2.0.10 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2+ |
---|
| 7 | Group: Applications/Text |
---|
| 8 | Source: %{name}-%{version}.tar.gz |
---|
| 9 | Patch0: fix_misc.patch |
---|
| 10 | |
---|
| 11 | URL: http://perso.b2b2c.ca/sarrazip/dev/sagasu.html |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: bison |
---|
| 15 | BuildRequires: desktop-file-utils |
---|
| 16 | BuildRequires: gettext |
---|
| 17 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
| 18 | BuildRequires: libgnomeui-devel >= 2.8.0 |
---|
| 19 | BuildRequires: perl |
---|
| 20 | Requires: libgnomeui >= 2.8.0 |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | GNOME tool to find words in a set of files. |
---|
| 24 | The user specifies the search directory and the set of files |
---|
| 25 | to be searched. Double-clicking on a search result launches a |
---|
| 26 | user command that can for example load the file in an editor |
---|
| 27 | at the appropriate line. The search can optionally ignore |
---|
| 28 | CVS directories. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | ファイル内の語句を検索するための GNOME ツールです。 |
---|
| 32 | ユーザーは検索するディレクトリとファイルの集合を指定します。 |
---|
| 33 | 検索結果をダブルクリックするとユーザコマンドを起動し、 |
---|
| 34 | 例えば、エディタを起動してエディタの適切な行にファイルを読み込むことが可能です。 |
---|
| 35 | 検索はオプションで CVS ディレクトリを除外することができます。 |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | %patch0 -p1 |
---|
| 40 | ./autogen.sh |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | %configure --disable-dependency-tracking --prefix=/usr |
---|
| 44 | make %{?_smp_mflags} |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | rm -fR $RPM_BUILD_ROOT |
---|
| 48 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 49 | |
---|
| 50 | desktop-file-install --vendor="" \ |
---|
| 51 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
| 52 | --add-category="Utility" \ |
---|
| 53 | --delete-original \ |
---|
| 54 | $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
| 55 | |
---|
| 56 | %find_lang %{name} |
---|
| 57 | |
---|
| 58 | %post |
---|
| 59 | update-desktop-database > /dev/null 2>&1 || : |
---|
| 60 | |
---|
| 61 | %postun |
---|
| 62 | update-desktop-database > /dev/null 2>&1 || : |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | rm -fR $RPM_BUILD_ROOT |
---|
| 66 | |
---|
| 67 | %files -f %{name}.lang |
---|
| 68 | %defattr(-, root, root) |
---|
| 69 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
| 70 | %{_bindir}/* |
---|
| 71 | %{_datadir}/applications/* |
---|
| 72 | %{_datadir}/pixmaps/* |
---|
| 73 | %{_datadir}/%{name} |
---|
| 74 | %{_datadir}/sounds/%{name} |
---|
| 75 | %{_datadir}/gnome/help/*/*/* |
---|
| 76 | %{_mandir}/man?/* |
---|
| 77 | |
---|
| 78 | %changelog |
---|
| 79 | * Sat Jul 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1 |
---|
| 80 | - initial build for VineSeed |
---|