Michael Thomas f78810
Name:           bwidget
Michael Thomas 20006e
Version:        1.8.0
Michael Thomas f1150f
Release:        2%{?dist}
Michael Thomas f78810
Summary:        Extended widget set for Tk
Michael Thomas f78810
Michael Thomas f78810
Group:          Development/Libraries
Michael Thomas f1150f
License:        TCL
Michael Thomas f78810
URL:            http://tcllib.sourceforge.net/
Michael Thomas 20006e
Source0:        http://download.sourceforge.net/tcllib/BWidget-1.8.0.tar.gz
Michael Thomas f78810
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Michael Thomas f78810
Michael Thomas f78810
BuildArch:      noarch
Michael Thomas f78810
Requires:       tk
Michael Thomas f78810
Michael Thomas f78810
%description
Michael Thomas f78810
An extended widget set for Tcl/Tk.
Michael Thomas f78810
Michael Thomas f78810
%prep
Michael Thomas f78810
%setup -q -n BWidget-%{version}
Michael Thomas f78810
%{__sed} -i 's/\r//' LICENSE.txt
Michael Thomas f78810
Michael Thomas f78810
%install
Michael Thomas f78810
rm -rf $RPM_BUILD_ROOT
Michael Thomas f78810
# Don't bother with the included configure script and Makefile.  They
Michael Thomas f78810
# are missing a lot of pieces and won't work at all.  Installation is
Michael Thomas f78810
# pretty simple, so we can just do it here manually.
Michael Thomas f78810
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}%{version}/
Michael Thomas f78810
mkdir $RPM_BUILD_ROOT/%{_datadir}/%{name}%{version}/lang
Michael Thomas f78810
mkdir $RPM_BUILD_ROOT/%{_datadir}/%{name}%{version}/images
Michael Thomas f78810
Michael Thomas f78810
install -m 0644 -pD *.tcl $RPM_BUILD_ROOT/%{_datadir}/%{name}%{version}/
Michael Thomas f78810
install -m 0644 -pD lang/*.rc $RPM_BUILD_ROOT/%{_datadir}/%{name}%{version}/lang/
Michael Thomas f78810
install -m 0644 -pD images/*.gif images/*.xbm $RPM_BUILD_ROOT/%{_datadir}/%{name}%{version}/images/
Michael Thomas f78810
Michael Thomas f78810
Michael Thomas f78810
%clean
Michael Thomas f78810
rm -rf $RPM_BUILD_ROOT
Michael Thomas f78810
Michael Thomas f78810
Michael Thomas f78810
%files
Michael Thomas f78810
%defattr(-,root,root,-)
Michael Thomas f78810
%{_datadir}/%{name}%{version}
Michael Thomas f78810
%doc README.txt LICENSE.txt
Michael Thomas f78810
%doc BWman/*.html
Michael Thomas f78810
Michael Thomas f78810
%changelog
Michael Thomas f1150f
- License tag clarification
Michael Thomas f1150f
Michael Thomas 20006e
* Thu Oct 19 2006 Wart <wart at kobold.org> 1.8.0-1
Michael Thomas 20006e
- Update to 1.8.0
Michael Thomas 20006e
- Remove patch that was accepted upstream
Michael Thomas 20006e
Michael Thomas f0261b
* Mon Aug 28 2006 Wart <wart at kobold.org> 1.7.0-4
Michael Thomas f0261b
- Rebuild for Fedora Extras
Michael Thomas f0261b
Michael Thomas 9b4905
* Fri Aug 11 2006 Wart <wart at kobold.org> 1.7.0-3
Michael Thomas 9b4905
- Add patch for adding a color selector to the font dialog
Michael Thomas 9b4905
Michael Thomas f78810
* Sat Dec 10 2005 Wart <wart at kobold.org> 1.7.0-2
Michael Thomas f78810
- added dist tag to release tag.
Michael Thomas 9b4905
Michael Thomas f78810
* Sat Dec 10 2005 Wart <wart at kobold.org> 1.7.0-1
Michael Thomas f78810
- Initial spec file.