|
|
0e9409d |
Name: dwdiff
|
|
|
ec8ad06 |
Version: 1.5
|
|
|
85ca9b2 |
Release: 2%{?dist}
|
|
|
ec31e38 |
Summary: Front end to diff for comparing on a per word basis
|
|
|
0e9409d |
|
|
|
0e9409d |
Group: Applications/Text
|
|
|
cf70120 |
License: OSL 2.0
|
|
|
0e9409d |
URL: http://os.ghalkes.nl/dwdiff.html
|
|
|
0e9409d |
Source0: http://os.ghalkes.nl/dist/%{name}-%{version}.tgz
|
|
|
0e9409d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
0e9409d |
|
|
|
0e9409d |
Requires: diffutils
|
|
|
0e9409d |
BuildRequires: gettext
|
|
|
dff640c |
BuildRequires: libicu-devel
|
|
|
0e9409d |
|
|
|
bf503d5 |
Patch0: dwdiff-localedir.patch
|
|
|
bf503d5 |
|
|
|
0e9409d |
%description
|
|
|
0e9409d |
dwdiff is a front-end for the diff program that operates at the word level
|
|
|
0e9409d |
instead of the line level. It is different from wdiff in that it allows the
|
|
|
0e9409d |
user to specify what should be considered whitespace, and in that it takes an
|
|
|
0e9409d |
optional list of characters that should be considered delimiters. Delimiters
|
|
|
0e9409d |
are single characters that are treated as if they are words, even when there
|
|
|
0e9409d |
is no whitespace separating them from preceding words or delimiters.
|
|
|
0e9409d |
|
|
|
0e9409d |
%prep
|
|
|
0e9409d |
%setup -q
|
|
|
61014e5 |
%patch0 -p1 -b .localedir
|
|
|
0e9409d |
|
|
|
0e9409d |
%build
|
|
|
0e9409d |
#dwdiff uses its own custom configure script
|
|
|
0e9409d |
./configure --prefix=%{?buildroot:%{buildroot}}%{_prefix} \
|
|
|
bf503d5 |
--binddir=%{_datadir}/locale CFLAGS="%{optflags}"
|
|
|
0e9409d |
make
|
|
|
0e9409d |
|
|
|
0e9409d |
|
|
|
0e9409d |
%install
|
|
|
0e9409d |
rm -rf %{buildroot}
|
|
|
0e9409d |
make install DESTDIR=%{buildroot}
|
|
|
0e9409d |
%find_lang %{name}
|
|
|
0e9409d |
#get rid of manpages other than UTF8
|
|
|
0e9409d |
rm -rf %{buildroot}%{_mandir}/nl.ISO8859-1/man1/
|
|
|
0e9409d |
rm -rf %{buildroot}%{_mandir}/nl.ISO8859-15/man1/
|
|
|
0e9409d |
mkdir %{buildroot}%{_mandir}/man1/nl/
|
|
|
0e9409d |
mv %{buildroot}%{_mandir}/nl.UTF-8/man1/dwdiff.1 %{buildroot}%{_mandir}/nl/man1/dwdiff.1
|
|
|
0e9409d |
|
|
|
0e9409d |
%clean
|
|
|
0e9409d |
rm -rf %{buildroot}
|
|
|
0e9409d |
|
|
|
0e9409d |
%files -f %{name}.lang
|
|
|
0e9409d |
%defattr(-,root,root,-)
|
|
|
0e9409d |
%{_bindir}/dwdiff
|
|
|
0e9409d |
%doc README COPYING Changelog
|
|
|
0e9409d |
%{_mandir}/man1/dwdiff.1*
|
|
|
0e9409d |
|
|
|
0e9409d |
%lang(nl) %{_mandir}/nl/man1/dwdiff.1*
|
|
|
0e9409d |
|
|
|
0e9409d |
%changelog
|
|
|
85ca9b2 |
* Tue Dec 16 2008 Jakub Hrozek <jhrozek@redhat.com> 1.5-2
|
|
|
85ca9b2 |
- Modify the localedir patch to allow build with fuzz=0 and version 1.5
|
|
|
85ca9b2 |
|
|
|
ec8ad06 |
* Tue Dec 16 2008 Jakub Hrozek <jhrozek@redhat.com> 1.5-1
|
|
|
ec8ad06 |
- New upstream release
|
|
|
ec8ad06 |
|
|
|
ec31e38 |
* Tue Dec 02 2008 Jakub Hrozek <jhrozek@redhat.com> 1.4-3
|
|
|
ec31e38 |
- Shorten summary so it's PackageKit friendly
|
|
|
ec31e38 |
|
|
|
61014e5 |
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.4-2
|
|
|
61014e5 |
- Fix Patch0:/%%patch mismatch.
|
|
|
61014e5 |
|
|
|
dff640c |
* Tue Jul 08 2008 Jakub Hrozek <jhrozek@redhat.com> 1.4-1
|
|
|
dff640c |
- New upstream release, which BR: libicu-devel
|
|
|
dff640c |
|
|
|
9787386 |
* Sun Feb 10 2008 Jakub Hrozek <jhrozek@redhat.com> 1.3-2
|
|
|
9787386 |
- Bump & rebuild for GCC 4.3
|
|
|
9787386 |
|
|
|
cd04e3c |
* Fri Dec 28 2007 Jakub Hrozek <jhrozek@redhat.com> 1.3-1
|
|
|
cd04e3c |
- New upstream
|
|
|
cd04e3c |
|
|
|
bf503d5 |
* Tue Aug 21 2007 Jakub Hrozek <jhrozek@redhat.com> 1.2-5
|
|
|
bf503d5 |
Fix configure/build to make the package rebuild in mock
|
|
|
bf503d5 |
|
|
|
672c21c |
* Mon Aug 13 2007 Jakub Hrozek <jhrozek@redhat.com> 1.2-4
|
|
|
c608800 |
Clarified the license tag
|
|
|
c608800 |
|
|
|
0e9409d |
* Thu Oct 12 2006 Jakub Hrozek <jhrozek@redhat.com> 1.2-3
|
|
|
0e9409d |
Fixed NL manpages packaging according to BZ #209608 comment #3
|
|
|
0e9409d |
|
|
|
0e9409d |
* Sat Oct 7 2006 Jakub Hrozek <jhrozek@redhat.com> 1.2-2
|
|
|
0e9409d |
Fixed bugs in the specfile according to BZ #209608 comment #1
|
|
|
0e9409d |
|
|
|
0e9409d |
* Fri Oct 6 2006 Jakub Hrozek <jhrozek@redhat.com> 1.2-1
|
|
|
0e9409d |
-initial packaging
|