File: sagasu.spec

package info (click to toggle)
sagasu 2.0.10-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,532 kB
  • ctags: 1,064
  • sloc: ansic: 6,198; sh: 4,475; cpp: 1,831; makefile: 412; yacc: 316; perl: 144; sed: 16
file content (74 lines) | stat: -rw-r--r-- 2,145 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
# $Id: sagasu.spec.in,v 1.9 2006/08/31 22:29:15 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' sagasu-2.0.10.tar.bz2
#
%if %{?rel:0}%{!?rel:1}
%define rel 1
%endif
%if %{?srcext:0}%{!?srcext:1}
%define srcext .gz
%endif

Summary: GNOME tool to find strings in a set of files
Name: sagasu
Version: 2.0.10
Release: %{rel}
License: GPL
Group: Applications/Text
Source: %{name}-%{version}.tar%{srcext}
URL: http://sarrazip.com/dev/sagasu.html
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libgnomeui-devel >= 2.8.0
Requires: libgnomeui >= 2.8.0

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