source: projects/specs/branches/6/s/sagasu/sagasu-vl.spec @ 5581

Revision 5581, 2.5 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

Line 
1Name: sagasu
2Summary: GNOME tool to find strings in a set of files
3Summary(ja): ファイル内の語句を検索するための GNOME ツール
4Version: 2.0.10
5Release: 2%{?_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: libSM-devel
20BuildRequires: perl
21Requires: libgnomeui >= 2.8.0
22
23%description
24GNOME tool to find words in a set of files.
25The user specifies the search directory and the set of files
26to be searched.  Double-clicking on a search result launches a
27user command that can for example load the file in an editor
28at the appropriate line.  The search can optionally ignore
29CVS 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
45make %{?_smp_mflags}
46
47%install
48rm -fR $RPM_BUILD_ROOT
49make DESTDIR=$RPM_BUILD_ROOT install
50
51desktop-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
60update-desktop-database > /dev/null 2>&1 || :
61
62%postun
63update-desktop-database > /dev/null 2>&1 || :
64
65%clean
66rm -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
Note: See TracBrowser for help on using the repository browser.