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

Revision 8311, 2.7 KB checked in by kudoh, 10 years ago (diff)

rebuilt and new upstream release

Line 
1Name: sagasu
2Summary: GNOME tool to find strings in a set of files
3Summary(ja): ファイル内の語句を検索するための GNOME ツール
4Version: 2.0.12
5Release: 2%{?_dist_release}
6License: GPLv2+
7Group: Applications/Text
8Source: %{name}-%{version}.tar.gz
9Patch0: fix_misc.patch
10Patch1: fix_build.patch
11
12URL: http://perso.b2b2c.ca/sarrazip/dev/sagasu.html
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: bison
16BuildRequires: desktop-file-utils
17BuildRequires: gettext
18BuildRequires: gtk2-devel >= 2.6.0
19BuildRequires: libgnomeui-devel >= 2.8.0
20BuildRequires: libSM-devel
21BuildRequires: perl
22Requires: libgnomeui >= 2.8.0
23
24%description
25GNOME tool to find words in a set of files.
26The user specifies the search directory and the set of files
27to be searched.  Double-clicking on a search result launches a
28user command that can for example load the file in an editor
29at the appropriate line.  The search can optionally ignore
30CVS 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
47make %{?_smp_mflags}
48
49%install
50rm -fR $RPM_BUILD_ROOT
51make DESTDIR=$RPM_BUILD_ROOT install
52
53desktop-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
62update-desktop-database > /dev/null 2>&1 || :
63
64%postun
65update-desktop-database > /dev/null 2>&1 || :
66
67%clean
68rm -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* Fri Mar 21 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.12-2
83- rebuilt with new toolchain
84
85* Fri Dec 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.12-1
86- new upstream release
87- fixed Patch0 a bit
88- added Patch1 to fix build error
89
90* Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-2
91- added BuildRequires: libSM-devel
92
93* Sat Jul 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1
94- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.