diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-05-17 17:50:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-05-17 17:50:30 -0700 |
commit | f1d3884b7492e8c08f964b893153d6b2b5b44361 (patch) | |
tree | e9056b731293f302181cdb487ab5a2608dd86712 /txr.spec | |
parent | bf01a8204bac52cdc078e7c82922bf10863adfc4 (diff) | |
download | txr-f1d3884b7492e8c08f964b893153d6b2b5b44361.tar.gz txr-f1d3884b7492e8c08f964b893153d6b2b5b44361.tar.bz2 txr-f1d3884b7492e8c08f964b893153d6b2b5b44361.zip |
* configure: Do not capture the stderr of GNU Make in the
configure step; send it to /dev/null.
* txr.spec: Adding specfile for building RPMs.
Diffstat (limited to 'txr.spec')
-rw-r--r-- | txr.spec | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/txr.spec b/txr.spec new file mode 100644 index 00000000..ede49edb --- /dev/null +++ b/txr.spec @@ -0,0 +1,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 |