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