- Fix build with Tcl 8.6.0.
- Cleanup spec file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tix?expand=0&rev=5
This commit is contained in:
parent
c01c1aa6ec
commit
6ea8ec0212
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 20 14:42:27 UTC 2013 - max@suse.com
|
||||||
|
|
||||||
|
- Fix build with Tcl 8.6.0.
|
||||||
|
- Cleanup spec file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 21 10:46:44 UTC 2011 - coolo@suse.com
|
Wed Dec 21 10:46:44 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
24
tix.spec
24
tix.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tix
|
# spec file for package tix
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,12 +19,8 @@
|
|||||||
Name: tix
|
Name: tix
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: itcl
|
|
||||||
BuildRequires: tk-devel
|
BuildRequires: tk-devel
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
%define V_TIX 8.1.%tcl_version
|
|
||||||
%define prefix /usr
|
|
||||||
%define mandir /usr/share/man
|
|
||||||
Version: 8.4.3
|
Version: 8.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -34,7 +30,7 @@ Group: Development/Libraries/Tcl
|
|||||||
Source: Tix%version-src.tar.bz2
|
Source: Tix%version-src.tar.bz2
|
||||||
Patch0: %name.patch
|
Patch0: %name.patch
|
||||||
Summary: Tools for tk
|
Summary: Tools for tk
|
||||||
Provides: tixwish tixwish%V_TIX
|
Group: Development/Libraries/Tcl
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Tix library has, by far, the greatest collection of widgets for
|
The Tix library has, by far, the greatest collection of widgets for
|
||||||
@ -54,19 +50,14 @@ find docs -type f | xargs chmod a-x
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf
|
autoreconf
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -DUSE_INTERP_RESULT -fno-strict-aliasing"
|
||||||
./configure \
|
%configure \
|
||||||
--with-tcl=%_libdir \
|
--with-tcl=%_libdir \
|
||||||
--with-tk=%_libdir \
|
--with-tk=%_libdir
|
||||||
--prefix=%_prefix \
|
|
||||||
--libdir=%_libdir \
|
|
||||||
--mandir=%_mandir
|
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install \
|
make install DESTDIR=%buildroot libdir=%_libdir/tcl
|
||||||
DESTDIR=%buildroot \
|
|
||||||
libdir=%_libdir/tcl
|
|
||||||
MANN=%buildroot/%_mandir/mann
|
MANN=%buildroot/%_mandir/mann
|
||||||
mkdir -p $MANN
|
mkdir -p $MANN
|
||||||
pushd man
|
pushd man
|
||||||
@ -75,9 +66,6 @@ for f in *.n; do
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %buildroot
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ABOUT* README* ChangeLog license.terms index.html
|
%doc ABOUT* README* ChangeLog license.terms index.html
|
||||||
|
Loading…
Reference in New Issue
Block a user