SPECS: dwdiff.spec (NEW) - new
adamg
adamg at pld-linux.org
Sun Feb 8 01:52:01 CET 2009
Author: adamg Date: Sun Feb 8 00:52:00 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
dwdiff.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/dwdiff.spec
diff -u /dev/null SPECS/dwdiff.spec:1.1
--- /dev/null Sun Feb 8 01:52:00 2009
+++ SPECS/dwdiff.spec Sun Feb 8 01:51:55 2009
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+Summary: diff frontend that operates on words
+Summary(pl.UTF-8): frontend do diff-a operujący na słowach
+Name: dwdiff
+Version: 1.5.2
+Release: 1
+License: GPL v3
+Group: Applications
+Source0: http://os.ghalkes.nl/dist/%{name}-%{version}.tgz
+# Source0-md5: f745fc3a965b9716ed49c8dac77d689a
+URL: http://os.ghalkes.nl/dwdiff.html
+BuildRequires: libicu-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dwdiff is a front-end for the diff program that operates at the word
+level instead of the line level. It is different from wdiff in that it
+allows the user to specify what should be considered whitespace, and
+in that it takes an optional list of characters that should be
+considered delimiters. Delimiters are single characters that are
+treated as if they are words, even when there is no whitespace
+separating them from preceding words or delimiters. dwdiff is mostly
+commandline compatible with wdiff. Only the --autopager, --terminal
+and --avoid-wraps options are not supported.
+
+The default output from dwdiff is the new text, with the deleted and
+inserted parts annotated with markers. Command line options are
+available to change both what is printed, and the markers.
+
+%description -l pl.UTF-8
+dwdiff to frontend do programu diff operujący na słowach zamiast na
+liniach. W odróżnieniu od wdiff pozwala użytkownikowi na określenie co
+traktować jako biały znak oraz ustalenie listy delimetrów. Delimeter
+to pojedynczy znak traktowany jak słowo nawet jeśli nie ma białych
+znaków oddzielających go od innych słów czy delimetrów. dwdiff jest w
+dużej mierze kompatybilny z wdiff, jedynie opcje --autopager,
+ --terminal i --avoid-wraps nie są wspierane.
+
+Domyślnym formatem wyjściowym dwdiff jest nowy tekst z częściami
+usuniętymi i dodanymi oznaczonymi markerami. Z poziomu linii poleceń
+możliwe jest określenie co i za pomocą jakich znaczników ma być
+wyświetlane.
+
+%prep
+%setup -q
+
+%build
+# not a typical configure
+./configure \
+ --prefix="$RPM_BUILD_ROOT%{_prefix}" \
+ --mandir="$RPM_BUILD_ROOT%{_mandir}" \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}}
+
+%{__make} install
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/dwdiff.1*
+%lang(nl) %{_mandir}/nl/man1/dwdiff.1*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/02/08 00:51:55 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list