File: sagasu.spec.in

package info (click to toggle)
sagasu 2.0.8-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,476 kB
  • ctags: 1,056
  • sloc: ansic: 6,198; sh: 4,266; cpp: 1,802; makefile: 412; yacc: 316; perl: 144; sed: 16
file content (75 lines) | stat: -rw-r--r-- 2,176 bytes parent folder | download | duplicates (2)
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.7 2006/01/21 02:42:00 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}
License: GPL
Group: Applications/Text
Source: %{name}-%{version}.tar%{srcext}
URL: @PACKAGE_HOME_PAGE@
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libgnomeui-devel >= @LIBGNOMEUI_MINVER@
BuildRequires: desktop-file-utils
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 spécifie le répertoire de recherche et l'ensemble des
fichiers à fouiller.  Un double-clic sur un résultat de recherche
démarre une commande spécifiée par l'usager qui peut par exemple
ouvrir un éditeur sur le fichier concerné, à la bonne ligne.
La recherche peut optionnellement ignorer les répertoires CVS.


%prep
%setup -q

%build
%configure --disable-dependency-tracking --disable-maintainer-mode
make %{?_smp_mflags}

%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}/*