Group :: Desenvolvimento/Tcl
RPM: tclx
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# -*- rpm-spec -*-
# $Id: tclx,v 1.26 2004/11/03 16:25:57 me Exp $
%define snapshot 20040714
%define teaname tclx
Name: tclx
Version: 8.4
Release: alt4
Serial: 1
Summary: Tcl extensions for POSIX systems
License: BSD
Group: Development/Tcl
Url: http://www.tcl.tk/
%ifdef snapshot
Source: %name-%snapshot.tar.bz2
%else
Source: http://download.sourceforge.net/%teaname/%teaname%version.tar.bz2
%endif
Patch0: %name-8.4-tea3.patch
Patch1: %name-8.4-buildhelp.patch
Provides: %name-devel = %serial:%version-%release
Obsoletes: %name-devel
Requires: tcl >= 8.4.0-alt1
BuildRequires: tcl-devel >= 8.4.0-alt1 rpm-build >= 4.0.4-alt41
%description
TclX is a set of extensions which make it easier to use the Tcl
scripting language for common UNIX/Linux programming tasks. TclX
enhances Tcl support for files, network access, debugging, math, lists,
and message catalogs.
%prep
%setup -q %{?snapshot:-c}%{!?snapshot:-n %teaname}
%patch0 -p1
%patch1 -p1
%build
%add_optflags -DUSE_NON_CONST
%configure
%__make all test
%install
%make_install DESTDIR=%buildroot install
%__subst 's|\(\$dir \)|\1.. .. .. lib tcl |' \
%buildroot%_tcldatadir/%teaname%version/pkgIndex.tcl
%files
%doc README ChangeLog
%_tcllibdir/lib%name%version.so
%_tcldatadir/%name%version
%_includedir/*
%_mandir/mann/*
%changelog
…
Todas as alterações você pod ver aqui
# $Id: tclx,v 1.26 2004/11/03 16:25:57 me Exp $
%define snapshot 20040714
%define teaname tclx
Name: tclx
Version: 8.4
Release: alt4
Serial: 1
Summary: Tcl extensions for POSIX systems
License: BSD
Group: Development/Tcl
Url: http://www.tcl.tk/
%ifdef snapshot
Source: %name-%snapshot.tar.bz2
%else
Source: http://download.sourceforge.net/%teaname/%teaname%version.tar.bz2
%endif
Patch0: %name-8.4-tea3.patch
Patch1: %name-8.4-buildhelp.patch
Provides: %name-devel = %serial:%version-%release
Obsoletes: %name-devel
Requires: tcl >= 8.4.0-alt1
BuildRequires: tcl-devel >= 8.4.0-alt1 rpm-build >= 4.0.4-alt41
%description
TclX is a set of extensions which make it easier to use the Tcl
scripting language for common UNIX/Linux programming tasks. TclX
enhances Tcl support for files, network access, debugging, math, lists,
and message catalogs.
%prep
%setup -q %{?snapshot:-c}%{!?snapshot:-n %teaname}
%patch0 -p1
%patch1 -p1
%build
%add_optflags -DUSE_NON_CONST
%configure
%__make all test
%install
%make_install DESTDIR=%buildroot install
%__subst 's|\(\$dir \)|\1.. .. .. lib tcl |' \
%buildroot%_tcldatadir/%teaname%version/pkgIndex.tcl
%files
%doc README ChangeLog
%_tcllibdir/lib%name%version.so
%_tcldatadir/%name%version
%_includedir/*
%_mandir/mann/*
%changelog
…
Todas as alterações você pod ver aqui