]> git.pld-linux.org Git - packages/dwdiff.git/blame - dwdiff.spec
icu rebuild
[packages/dwdiff.git] / dwdiff.spec
CommitLineData
309570b0 1Summary: diff frontend that operates on words
ade38dc9 2Summary(pl.UTF-8): frontend do diffa operujący na słowach
309570b0 3Name: dwdiff
d764ca53 4Version: 2.1.4
cfaf9f5f 5Release: 5
309570b0 6License: GPL v3
ade38dc9 7Group: Applications/Text
80518058 8Source0: http://os.ghalkes.nl/dist/%{name}-%{version}.tar.bz2
d764ca53 9# Source0-md5: 4e7b332b1e9e1a9b6f119f39532ed24f
309570b0 10URL: http://os.ghalkes.nl/dwdiff.html
3099f700 11BuildRequires: gettext-tools
309570b0 12BuildRequires: libicu-devel
7a0e9997 13BuildRequires: pkgconfig
14BuildRequires: which
309570b0
AG
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18dwdiff is a front-end for the diff program that operates at the word
19level instead of the line level. It is different from wdiff in that it
20allows the user to specify what should be considered whitespace, and
21in that it takes an optional list of characters that should be
22considered delimiters. Delimiters are single characters that are
23treated as if they are words, even when there is no whitespace
24separating them from preceding words or delimiters. dwdiff is mostly
25commandline compatible with wdiff. Only the --autopager, --terminal
26and --avoid-wraps options are not supported.
27
28The default output from dwdiff is the new text, with the deleted and
29inserted parts annotated with markers. Command line options are
30available to change both what is printed, and the markers.
31
32%description -l pl.UTF-8
33dwdiff to frontend do programu diff operujący na słowach zamiast na
34liniach. W odróżnieniu od wdiff pozwala użytkownikowi na określenie co
35traktować jako biały znak oraz ustalenie listy delimetrów. Delimeter
36to pojedynczy znak traktowany jak słowo nawet jeśli nie ma białych
37znaków oddzielających go od innych słów czy delimetrów. dwdiff jest w
38dużej mierze kompatybilny z wdiff, jedynie opcje --autopager,
39 --terminal i --avoid-wraps nie są wspierane.
40
41Domyślnym formatem wyjściowym dwdiff jest nowy tekst z częściami
42usuniętymi i dodanymi oznaczonymi markerami. Z poziomu linii poleceń
43możliwe jest określenie co i za pomocą jakich znaczników ma być
44wyświetlane.
45
46%prep
47%setup -q
48
49%build
50# not a typical configure
51./configure \
52 --prefix="$RPM_BUILD_ROOT%{_prefix}" \
53 --mandir="$RPM_BUILD_ROOT%{_mandir}" \
54 CC="%{__cc}" \
e1d5996c 55 CFLAGS="%{rpmcflags} -fcommon" \
309570b0
AG
56 LDFLAGS="%{rpmldflags}"
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}}
62
63%{__make} install
64
65%find_lang %{name}
66
cd66f3ec
AM
67rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
68
309570b0
AG
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files -f %{name}.lang
73%defattr(644,root,root,755)
ade38dc9 74%doc Changelog README
309570b0 75%attr(755,root,root) %{_bindir}/*
f6ec70f4
PS
76%{_mandir}/man1/dw*.1*
77%lang(nl) %{_mandir}/nl/man1/dw*.1*
This page took 0.160091 seconds and 4 git commands to generate.