tix/tix.spec

135 lines
3.8 KiB
RPMSpec

#
# spec file for package tix (Version 8.4.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: tix
BuildRequires: itcl tk-devel xorg-x11-devel
%define V_TIX 8.1.%tcl_version
%define prefix /usr
%define mandir /usr/share/man
Version: 8.4.0
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Tools for tk
Group: Development/Libraries/Tcl
Autoreqprov: on
Source: %name-%version.tar.bz2
Patch0: %name.patch
Group: Development/Libraries/Tcl
License: Public Domain, Freeware, docs/license.tcltk docs/license.html_lib.
Summary: Tools for tk
Provides: tixwish tixwish%V_TIX
%description
The Tix library has, by far, the greatest collection of widgets for
programming with Tcl/Tk. Highlights include: hierarchical list box,
directory list/tree view, spreadsheet, tabular list box, combo box,
Motif style file select box, MS Windows style file select box, paned
window, note book, spin control widget and many more. With these new
widgets, your applications will look great and interact with your users
in intuitive ways.
%prep
%setup -q
%patch0
find docs -type f | xargs chmod a-x
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./configure \
--with-tcl=%_libdir \
--with-tk=%_libdir \
--prefix=%_prefix \
--libdir=%_libdir \
--mandir=%_mandir
make
%install
make install-binaries install-libraries \
DESTDIR=%buildroot \
tclscriptdir=%tclscriptdir
MANN=%buildroot/%_mandir/mann
mkdir -p $MANN
pushd man
for f in *.n; do
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' $f > $MANN/$f
done
popd
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc ABOUT* README* ChangeLog license.terms index.html
%doc docs
%doc %_mandir/*/*
%_libdir/lib*
%tclscriptdir/*
%changelog
* Tue Jun 05 2007 - max@suse.de
- New version: 8.4.0
- Lots of cleanup and bugs fixed.
- Better per-default compliance with rpmlint.
- The 'tixwish' executable is gone. Use tclsh or wish and load the
Tix package dynamically.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 29 2005 - max@suse.de
- Moved script library to /usr/share/tcl .
* Thu Feb 05 2004 - max@suse.de
- Building as a shared lib again.
- Added -fno-strict-aliasing to CFLAGS.
* Thu Jan 15 2004 - max@suse.de
- New version: 8.1.4
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Wed Jul 23 2003 - max@suse.de
- Added tk-devel to neededforbuild.
* Wed May 21 2003 - ro@suse.de
- remove .cvsignore files
- fix filelist
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <xshared> to <x-devel-packages>
- changed neededforbuild <xdevel> to <>
* Tue Jul 09 2002 - max@suse.de
- Ready for Tcl/Tk 8.4.
- Doesn't break on KDE3 anymore [Bug #16428].
* Wed Apr 10 2002 - max@suse.de
- Fixed for new version of autobuild.
* Wed Feb 20 2002 - max@suse.de
- Fixed for lib64-s390x.
* Thu Jan 17 2002 - max@suse.de
- New version 8.1.3
- Tix is a separate package again. The new version is able to build
without having the Tcl/Tk sources at hand.
- Don't build static libs anymore.
* Tue Nov 24 1998 - max@suse.de
- merged spec-files into tcl_new.spec
* Mon Nov 23 1998 - max@suse.de
- building with new Tcl/Tk version: 8.0.4
- tixwish is now dynamically linked to libtcl
* Wed Sep 23 1998 - ro@suse.de
- added to specfile: applx patch for tcl8.0
* Thu May 14 1998 - hf@suse.de
- english and german README.SuSE
* Mon Feb 23 1998 - hf@suse.de
- changed README.SuSE
* Mon Feb 16 1998 - hf@suse.de
- changes in spec file
* Thu Feb 05 1998 - hf@suse.de
new package Tix for Tcl/Tk 8.0
and new directorypath to tcl/tk in /usr/lib/tcltk