Accepting request 55501 from home:jnweiger:branches:devel:languages:tcl

reviewed ok.

OBS-URL: https://build.opensuse.org/request/show/55501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/vtcl?expand=0&rev=5
This commit is contained in:
2010-12-14 16:49:39 +00:00
committed by Git OBS Bridge
parent a02bdfa403
commit 2673395544
6 changed files with 61 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package vtcl (Version 1.6.0)
# spec file for package vtcl (Version 1.6.1a1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,15 +21,18 @@
Name: vtcl
License: GPLv2+
Group: Development/Languages/Tcl
Requires: tcl tk
Requires: tcl tk tix xdg-utils
AutoReqProv: on
Version: 1.6.0
Version: 1.6.1a1
Release: 183
Summary: Visual Tcl
URL: http://vtcl.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
Source: http://sourceforge.net/projects/vtcl/files/%name-%version.tar.bz2
Source1: vtcl
Patch0: vtcl-tkversion.patch
#Patch1: tkcon_allow_858.diff
Patch2: default_browser.diff
BuildArch: noarch
%description
@@ -48,6 +51,11 @@ Authors:
%setup -q
%patch0
## 1:tkcon_allow_858.diff
#%patch1 -p1
# 2:default_browser.diff
%patch2 -p1
%build
#
# There is nothing to build here :)
@@ -60,11 +68,17 @@ Authors:
cp -a *.tcl images lib $LIBDIR
install -m 755 %SOURCE1 $BINDIR
# avoid rpmlint errors.
ls
mv sample examples
ln -s examples sample
ls
%files
%defattr(-,root,root)
/usr/share/vtcl
%attr(0755,root,root) /usr/bin/vtcl
%doc LICENSE ChangeLog README doc demo sample
%doc LICENSE ChangeLog README doc demo sample examples
%clean
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT