rpms/txt2regex/devel txt2regex-no-TEXTDOMAINDIR.patch, NONE, 1.1 txt2regex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
richardfearn
richardfearn at fedoraproject.org
Mon Jul 19 17:16:00 UTC 2010
Author: richardfearn
Update of /cvs/pkgs/rpms/txt2regex/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3655
Modified Files:
.cvsignore sources
Added Files:
txt2regex-no-TEXTDOMAINDIR.patch txt2regex.spec
Log Message:
import 0.8-1
txt2regex-no-TEXTDOMAINDIR.patch:
txt2regex-0.8.sh | 1 -
1 file changed, 1 deletion(-)
--- NEW FILE txt2regex-no-TEXTDOMAINDIR.patch ---
diff -urN txt2regex-0.8/txt2regex-0.8.sh txt2regex-0.8-fedora/txt2regex-0.8.sh
--- txt2regex-0.8/txt2regex-0.8.sh 2004-09-28 20:51:01.000000000 +0100
+++ txt2regex-0.8-fedora/txt2regex-0.8.sh 2010-06-06 17:48:38.000000000 +0100
@@ -85,7 +85,6 @@
# TODO LATER user defined ranges on lists (prompt, validation)
TEXTDOMAIN=txt2regex
-TEXTDOMAINDIR=po
VERSION=0
# we _need_ bash>=2.04
--- NEW FILE txt2regex.spec ---
Name: txt2regex
Version: 0.8
Release: 1%{?dist}
Summary: Regular expression wizard that converts human sentences to regexes
Group: Applications/Text
License: GPLv2+
URL: http://www.aurelio.net/soft/txt2regex/
Source0: http://txt2regex.sourceforge.net/txt2regex-%{version}.tgz
# This removes the "TEXTDOMAINDIR=..." line from txt2regex. It isn't needed in
# Fedora where the default value is OK.
Patch0: txt2regex-no-TEXTDOMAINDIR.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
Requires: bash >= 2.04
%description
Txt2regex is a Regular Expression wizard that converts human sentences to
regexes.
In a simple interactive interface, you just answer to questions and build your
own regex for a large variety of softwares and programming languages: AWK, ed,
egrep, Emacs, expect, find, gawk, grep, lex, lisp, mawk, MySQL, OpenOffice.org,
Perl, PHP, Postgres, Procmail, Python, SED, Tcl, VBscript, VI, Vim.
%prep
%setup -q
%patch0 -p1
%build
# convert a few files to UTF-8
iconv -f iso8859-1 -t utf-8 Changelog -o Changelog.conv && \
touch -r Changelog Changelog.conv && \
mv -f Changelog.conv Changelog
iconv -f iso8859-1 -t utf-8 txt2regex-%{version}.sh -o txt2regex-%{version}.sh.conv && \
touch -r txt2regex-%{version}.sh txt2regex-%{version}.sh.conv && \
mv -f txt2regex-%{version}.sh.conv txt2regex-%{version}.sh
iconv -f iso8859-1 -t utf-8 txt2regex.man -o txt2regex.man.conv && \
touch -r txt2regex.man txt2regex.man.conv && \
mv -f txt2regex.man.conv txt2regex.man
%install
rm -rf %{buildroot}
# install txt2regex and locale files
make DESTDIR=%{buildroot} install
# install man page
mkdir -p %{buildroot}/%{_mandir}/man1
install -p -m 644 txt2regex.man %{buildroot}%{_mandir}/man1/txt2regex.1
# find locale files
%find_lang %{name}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc Changelog COPYRIGHT NEWS README TODO
%{_bindir}/*
%{_mandir}/*/*
%changelog
* Sun Jun 6 2010 Richard Fearn <richardfearn at gmail.com> - 0.8-1
- initial package for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/txt2regex/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 19 Jul 2010 04:48:59 -0000 1.1
+++ .cvsignore 19 Jul 2010 17:16:00 -0000 1.2
@@ -0,0 +1 @@
+txt2regex-0.8.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/txt2regex/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 19 Jul 2010 04:49:00 -0000 1.1
+++ sources 19 Jul 2010 17:16:00 -0000 1.2
@@ -0,0 +1 @@
+83bc1f95b36fe51ade8d130fab390103 txt2regex-0.8.tgz
More information about the scm-commits
mailing list