Summary: diff frontend that operates on words
Summary(pl.UTF-8): frontend do diffa operujący na słowach
Name: dwdiff
-Version: 1.6.1
-Release: 1
+Version: 2.1.4
+Release: 5
License: GPL v3
Group: Applications/Text
-Source0: http://os.ghalkes.nl/dist/%{name}-%{version}.tgz
-# Source0-md5: e7bf94f579ce764c2070c17cc5a24332
+Source0: http://os.ghalkes.nl/dist/%{name}-%{version}.tar.bz2
+# Source0-md5: 4e7b332b1e9e1a9b6f119f39532ed24f
URL: http://os.ghalkes.nl/dwdiff.html
+BuildRequires: gettext-tools
BuildRequires: libicu-devel
+BuildRequires: pkgconfig
+BuildRequires: which
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
--prefix="$RPM_BUILD_ROOT%{_prefix}" \
--mandir="$RPM_BUILD_ROOT%{_mandir}" \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags}" \
+ CFLAGS="%{rpmcflags} -fcommon" \
LDFLAGS="%{rpmldflags}"
%{__make}
%find_lang %{name}
+rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changelog README
%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/dwdiff.1*
-%lang(nl) %{_mandir}/nl/man1/dwdiff.1*
+%{_mandir}/man1/dw*.1*
+%lang(nl) %{_mandir}/nl/man1/dw*.1*