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: 2%{?_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: libSM-devel |
---|
20 | BuildRequires: perl |
---|
21 | Requires: libgnomeui >= 2.8.0 |
---|
22 | |
---|
23 | %description |
---|
24 | GNOME tool to find words in a set of files. |
---|
25 | The user specifies the search directory and the set of files |
---|
26 | to be searched. Double-clicking on a search result launches a |
---|
27 | user command that can for example load the file in an editor |
---|
28 | at the appropriate line. The search can optionally ignore |
---|
29 | CVS directories. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | ファイル内の語句を検索するための GNOME ツールです。 |
---|
33 | ユーザーは検索するディレクトリとファイルの集合を指定します。 |
---|
34 | 検索結果をダブルクリックするとユーザコマンドを起動し、 |
---|
35 | 例えば、エディタを起動してエディタの適切な行にファイルを読み込むことが可能です。 |
---|
36 | 検索はオプションで CVS ディレクトリを除外することができます。 |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | %patch0 -p1 |
---|
41 | ./autogen.sh |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-dependency-tracking --prefix=/usr |
---|
45 | make %{?_smp_mflags} |
---|
46 | |
---|
47 | %install |
---|
48 | rm -fR $RPM_BUILD_ROOT |
---|
49 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
50 | |
---|
51 | desktop-file-install --vendor="" \ |
---|
52 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
53 | --add-category="Utility" \ |
---|
54 | --delete-original \ |
---|
55 | $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
56 | |
---|
57 | %find_lang %{name} |
---|
58 | |
---|
59 | %post |
---|
60 | update-desktop-database > /dev/null 2>&1 || : |
---|
61 | |
---|
62 | %postun |
---|
63 | update-desktop-database > /dev/null 2>&1 || : |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -fR $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %files -f %{name}.lang |
---|
69 | %defattr(-, root, root) |
---|
70 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
71 | %{_bindir}/* |
---|
72 | %{_datadir}/applications/* |
---|
73 | %{_datadir}/pixmaps/* |
---|
74 | %{_datadir}/%{name} |
---|
75 | %{_datadir}/sounds/%{name} |
---|
76 | %{_datadir}/gnome/help/*/*/* |
---|
77 | %{_mandir}/man?/* |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-2 |
---|
81 | - rebuild with Vine6 environment |
---|
82 | - add BuildRequires: libSM-devel |
---|
83 | |
---|
84 | * Sat Jul 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1 |
---|
85 | - initial build for VineSeed |
---|