File: sagasu.spec.in

package info (click to toggle)
sagasu 2.0.5-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,476 kB
  • ctags: 1,051
  • sloc: ansic: 6,198; sh: 3,958; cpp: 1,789; makefile: 416; yacc: 316; perl: 137; sed: 16
file content (75 lines) | stat: -rw-r--r-- 2,150 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# $Id: sagasu.spec.in,v 1.5 2003/10/20 15:12:09 sarrazip Exp $

# RPM .spec file

# Release number can be specified with rpm --define 'rel SOMETHING' ...
# If no such --define is used, the release number is 1.
#
# Source archive's extension can be specified with rpm --define 'srcext .foo'
# where .foo is the source archive's actual extension.
# To compile an RPM from a .bz2 source archive, give the command
#   rpmbuild -ta --define 'srcext .bz2' @PACKAGE@-@VERSION@.tar.bz2
#
%if %{?rel:0}%{!?rel:1}
%define rel 1
%endif
%if %{?srcext:0}%{!?srcext:1}
%define srcext .gz
%endif

Summary: @PACKAGE_DESC_EN@
Name: @PACKAGE@
Version: @VERSION@
Release: %{rel}
Copyright: GPL
Group: Applications/Text
Source: %{name}-%{version}.tar%{srcext}
URL: @PACKAGE_HOME_PAGE@
Packager: Pierre Sarrazin <http://sarrazip.com/>
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libgnomeui-devel >= @LIBGNOMEUI_MINVER@
Requires: libgnomeui >= @LIBGNOMEUI_MINVER@

%description
GNOME tool to find words in a set of files.
The user specifies the search directory and the set of files
to be searched.  Double-clicking on a search result launches a
user command that can for example load the file in an editor
at the appropriate line.  The search can optionally ignore
CVS directories.

%description -l fr
Outil GNOME cherchant des chaines dans un ensemble de fichiers.
L'usager spcifie le rpertoire de recherche et l'ensemble des
fichiers  fouiller.  Un double-clic sur un rsultat de recherche
dmarre une commande spcifie par l'usager qui peut par exemple
ouvrir un diteur sur le fichier concern,  la bonne ligne.
La recherche peut optionnellement ignorer les rpertoires CVS.


%prep
%setup -q

%build
%configure --disable-dependency-tracking --disable-maintainer-mode
make

%install
rm -fR $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -fR $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/sagasu
%{_datadir}/sounds/sagasu
%{_datadir}/locale/*/LC_MESSAGES/*
%{_datadir}/gnome/help/*/*/*
%{_mandir}/man*/*
%doc %{_defaultdocdir}/*