source: projects/specs/trunk/s/sagasu/sagasu-vl.spec @ 1269

Revision 1269, 2.3 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name: sagasu
2Summary: GNOME tool to find strings in a set of files
3Summary(ja): ファイル内の語句を検索するための GNOME ツール
4Version: 2.0.10
5Release: 1%{?_dist_release}
6License: GPLv2+
7Group: Applications/Text
8Source: %{name}-%{version}.tar.gz
9Patch0: fix_misc.patch
10
11URL: http://perso.b2b2c.ca/sarrazip/dev/sagasu.html
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: bison
15BuildRequires: desktop-file-utils
16BuildRequires: gettext
17BuildRequires: gtk2-devel >= 2.6.0
18BuildRequires: libgnomeui-devel >= 2.8.0
19BuildRequires: perl
20Requires: libgnomeui >= 2.8.0
21
22%description
23GNOME tool to find words in a set of files.
24The user specifies the search directory and the set of files
25to be searched.  Double-clicking on a search result launches a
26user command that can for example load the file in an editor
27at the appropriate line.  The search can optionally ignore
28CVS 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
44make %{?_smp_mflags}
45
46%install
47rm -fR $RPM_BUILD_ROOT
48make DESTDIR=$RPM_BUILD_ROOT install
49
50desktop-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
59update-desktop-database > /dev/null 2>&1 || :
60
61%postun
62update-desktop-database > /dev/null 2>&1 || :
63
64%clean
65rm -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
Note: See TracBrowser for help on using the repository browser.