summaryrefslogtreecommitdiff
path: root/gregexp.spec
blob: 31ecfa5e2272ae6b9e3d9196e9c953e58e7a3bfc (plain)
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
Summary:	A graphical regular expression explorer
Summary(pl):	Graficzny eksplorator wyrażeń regularnych
Name:		gregexp
Version:	0.3
Release:	2
License:	GPL	
Group:		Development/Tools
Source0:	http://dentrassi.de/download/%{name}/%{version}/%{name}-%{version}.tar.gz
# Source0-md5:	67310625715c4f13ec65e2ebb90a3654
URL:		http://dentrassi.de/download/gregexp/
Patch0:		%{name}-desktop.patch
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	glib2-devel
BuildRequires:	libglade-devel
BuildRequires:	libgnomeui-devel
BuildRequires:	pcre-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
A graphical regular expression explorer that uses PCRE as regular
expression engine. 

%description -l pl
Graficzny eksplorator wyrażeń regularnych, który używa PCRE jako silnika
wyrażeń regularnych.

%prep
%setup -q
%patch0 -p1

%build
glib-gettextize --copy --force
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png