blob: ede49edb798703892dc966946d60bd75c683822a (
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
|
#
# spec file for TXR
#
Name: txr
Version: 65
Release: 0
Source: txr-%{version}.tar.gz
URL: http://www.nongnu.org/txr
Summary: Text Extraction and Data Munging Language
License: BSD
Provides: txr
BuildRequires: flex bison
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
TXR is a pattern language for extracting and reporting text, with
a powerful Lisp dialect for advanced data munging.
%prep
%setup -n txr-%{version}
%build
./configure --prefix=/usr --yacc="bison -y"
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin
/usr/share
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
|