Group :: Development/Other
RPM: dirdiff
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: dirdiff
Version: 2.1
Release: alt2
%define my_summary Graphical tool for displaying the differences between directory trees
Summary: %my_summary
License: GPL
Group: Development/Other
Url: http://samba.org/ftp/paulus
Source: %url/%name-%version.tar.gz
Source1: %name.1
Patch0: %name-1.6-alt-fixes.patch
Patch1: %name-2.0-alt-t2init.patch
Patch2: %name-2.1-alt-libs.patch
Summary(ru_RU.KOI8-R): Графическая утилита для показа различий между деревьями каталогов
Requires: diffutils
# Automatically added by buildreq on Mon Sep 08 2003
BuildRequires: tcl-devel
%description
Dirdiff is a graphical tool for displaying the differences between
directory trees and for merging changes from one tree into another.
Dirdiff can handle up to 5 trees. It displays a main window with a
list of the files which are different between the trees, with colored
squares to indicate the relative ages of the versions. A menu allows
you to display the differences between any two of the versions in
another window. Another menu allows you to copy the file from one
tree to another.
%description -l ru_RU.KOI8-R
Dirdiff - это графическая утилита для показа различий
между деревьями каталогов и слияния изменений между ними.
Dirdiff поддерживает сравнение до 5 деревьев одновременно.
Для каждого из файлов можно в отдельном окне вывести
выделенный цветом список отличий.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%def_enable Werror
make CFLAGS="$RPM_OPT_FLAGS %optflags_shared"
%install
%__mkdir_p $RPM_BUILD_ROOT{%_bindir,%_libdir}
%make_install install DESTDIR=$RPM_BUILD_ROOT
%__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_man1dir/%name.1
# Menu entry
%__mkdir_p %buildroot%_menudir
%__cat > %buildroot%_menudir/%name << __EOF__
?package(%name):command="%_bindir/%name" needs="X11" \
section="Applications/Development/Tools" title="DirDiff" \
longtitle="%my_summary"
__EOF__
%files
%_bindir/*
# NB: Following pattern prevents inclusion of %_menudir
%_libdir/*.*
%_man1dir/*
%_menudir/%name
%doc README
%post
%update_menus
%postun
%clean_menus
%changelog
…
Full changelog you can see here
Version: 2.1
Release: alt2
%define my_summary Graphical tool for displaying the differences between directory trees
Summary: %my_summary
License: GPL
Group: Development/Other
Url: http://samba.org/ftp/paulus
Source: %url/%name-%version.tar.gz
Source1: %name.1
Patch0: %name-1.6-alt-fixes.patch
Patch1: %name-2.0-alt-t2init.patch
Patch2: %name-2.1-alt-libs.patch
Summary(ru_RU.KOI8-R): Графическая утилита для показа различий между деревьями каталогов
Requires: diffutils
# Automatically added by buildreq on Mon Sep 08 2003
BuildRequires: tcl-devel
%description
Dirdiff is a graphical tool for displaying the differences between
directory trees and for merging changes from one tree into another.
Dirdiff can handle up to 5 trees. It displays a main window with a
list of the files which are different between the trees, with colored
squares to indicate the relative ages of the versions. A menu allows
you to display the differences between any two of the versions in
another window. Another menu allows you to copy the file from one
tree to another.
%description -l ru_RU.KOI8-R
Dirdiff - это графическая утилита для показа различий
между деревьями каталогов и слияния изменений между ними.
Dirdiff поддерживает сравнение до 5 деревьев одновременно.
Для каждого из файлов можно в отдельном окне вывести
выделенный цветом список отличий.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%def_enable Werror
make CFLAGS="$RPM_OPT_FLAGS %optflags_shared"
%install
%__mkdir_p $RPM_BUILD_ROOT{%_bindir,%_libdir}
%make_install install DESTDIR=$RPM_BUILD_ROOT
%__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_man1dir/%name.1
# Menu entry
%__mkdir_p %buildroot%_menudir
%__cat > %buildroot%_menudir/%name << __EOF__
?package(%name):command="%_bindir/%name" needs="X11" \
section="Applications/Development/Tools" title="DirDiff" \
longtitle="%my_summary"
__EOF__
%files
%_bindir/*
# NB: Following pattern prevents inclusion of %_menudir
%_libdir/*.*
%_man1dir/*
%_menudir/%name
%doc README
%post
%update_menus
%postun
%clean_menus
%changelog
…
Full changelog you can see here