ALT Linux repositórios
Group :: Desenvolvimento/Outros
RPM: tkdiff
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: tkdiff
Version: 4.1.4
Release: alt1.qa1
%define tarname %name-%version-unix
Summary: An tcl/tk based graphical interface to the DIFF utility
Summary(ru_RU.KOI8-R): çÒÁÆÉÞÅÓËÉÊ ÉÎÔÅÒÆÅÊÓ Ë DIFF
License: GPL
Group: Development/Other
Url: http://sourceforge.net/projects/tkdiff/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/%name/%tarname.tar.bz2
Source2: %name.desktop
Source3: %name.png
Patch: %name.patch
Requires: tk diffutils
BuildArch: noarch
Autoreq: yes, noshell
%description
TkDiff is a graphical front-end for the standard Unix 'diff' utility.
Its features include highlighted difference regions (with a quick
overview/navigation bar) and linked scrolling of files. It provides
file-merge and change-summary facilities, line number toggling (for easier
cut & paste) and support for Subversion, RCS, CVS and SCCS.
%prep
%setup -q -n %tarname
%patch -p1
%install
install -D -m755 tkdiff %buildroot%_bindir/tkdiff
install -D -m644 %name.1 %buildroot%_man1dir/%name.1
install -D -m644 %SOURCE2 %buildroot%_desktopdir/%name.desktop
install -D -m644 %SOURCE3 %buildroot%_liconsdir/%name.png
%files
%doc Changelog
%_bindir/*
%_desktopdir/%name.desktop
%_liconsdir/%name.png
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 4.1.4
Release: alt1.qa1
%define tarname %name-%version-unix
Summary: An tcl/tk based graphical interface to the DIFF utility
Summary(ru_RU.KOI8-R): çÒÁÆÉÞÅÓËÉÊ ÉÎÔÅÒÆÅÊÓ Ë DIFF
License: GPL
Group: Development/Other
Url: http://sourceforge.net/projects/tkdiff/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/%name/%tarname.tar.bz2
Source2: %name.desktop
Source3: %name.png
Patch: %name.patch
Requires: tk diffutils
BuildArch: noarch
Autoreq: yes, noshell
%description
TkDiff is a graphical front-end for the standard Unix 'diff' utility.
Its features include highlighted difference regions (with a quick
overview/navigation bar) and linked scrolling of files. It provides
file-merge and change-summary facilities, line number toggling (for easier
cut & paste) and support for Subversion, RCS, CVS and SCCS.
%prep
%setup -q -n %tarname
%patch -p1
%install
install -D -m755 tkdiff %buildroot%_bindir/tkdiff
install -D -m644 %name.1 %buildroot%_man1dir/%name.1
install -D -m644 %SOURCE2 %buildroot%_desktopdir/%name.desktop
install -D -m644 %SOURCE3 %buildroot%_liconsdir/%name.png
%files
%doc Changelog
%_bindir/*
%_desktopdir/%name.desktop
%_liconsdir/%name.png
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui