Dmitrij S. Kryzhevich 51737f
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
Dmitrij S. Kryzhevich 51737f
%{!?tcl_sitelib: %global tcl_sitelib %{_datadir}/tcl%{tcl_version}}
Michael Thomas 52bd52
Michael Thomas f78810
Name:           bwidget
Dmitrij S. Kryzhevich 51737f
Version:        1.9.7
Fedora Release Engineering 03b649
Release:        8%{?dist}
Michael Thomas f78810
Summary:        Extended widget set for Tk
Michael Thomas f78810
Michael Thomas f78810
Group:          Development/Libraries
Michael Thomas 52bd52
License:        TCL
Michael Thomas f78810
URL:            http://tcllib.sourceforge.net/
Dmitrij S. Kryzhevich 134c1f
Source0:        http://downloads.sourceforge.net/tcllib/bwidget-%{version}.tar.gz
Michael Thomas f78810
Michael Thomas f78810
BuildArch:      noarch
Jaroslav Škarvada 6e3463
Requires:       tcl(abi) = 8.6 tk
Michael Thomas 52bd52
BuildRequires:  tcl
Michael Thomas f78810
Michael Thomas f78810
%description
Michael Thomas f78810
An extended widget set for Tcl/Tk.
Michael Thomas f78810
Michael Thomas f78810
%prep
Dmitrij S. Kryzhevich eedf3f
%setup -q
Michael Thomas f78810
%{__sed} -i 's/\r//' LICENSE.txt
Michael Thomas f78810
Michael Thomas cf5ac5
%build
Michael Thomas cf5ac5
# Nothing to build!
Michael Thomas cf5ac5
Michael Thomas f78810
%install
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.
Dmitrij S. Kryzhevich 51737f
mkdir -p %{buildroot}/%{tcl_sitelib}/%{name}%{version}/
Dmitrij S. Kryzhevich 51737f
mkdir %{buildroot}/%{tcl_sitelib}/%{name}%{version}/lang
Dmitrij S. Kryzhevich 51737f
mkdir %{buildroot}/%{tcl_sitelib}/%{name}%{version}/images
Michael Thomas f78810
Dmitrij S. Kryzhevich 51737f
install -m 0644 -pD *.tcl %{buildroot}/%{tcl_sitelib}/%{name}%{version}/
Dmitrij S. Kryzhevich 51737f
install -m 0644 -pD lang/*.rc %{buildroot}/%{tcl_sitelib}/%{name}%{version}/lang/
Dmitrij S. Kryzhevich 51737f
install -m 0644 -pD images/*.gif images/*.xbm %{buildroot}/%{tcl_sitelib}/%{name}%{version}/images/
Michael Thomas f78810
Michael Thomas f78810
%files
Michael Thomas 52bd52
%{tcl_sitelib}/%{name}%{version}
Michael Thomas f78810
%doc README.txt LICENSE.txt
Michael Thomas f78810
%doc BWman/*.html
Michael Thomas f78810
Michael Thomas f78810
%changelog
Fedora Release Engineering 03b649
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.7-8
Fedora Release Engineering 03b649
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering 03b649
Dennis Gilmore d785ab
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.7-7
Dennis Gilmore d785ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Dennis Gilmore d785ab
Dennis Gilmore e71380
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.7-6
Dennis Gilmore e71380
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Dennis Gilmore e71380
Dennis Gilmore ebff00
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.7-5
Dennis Gilmore ebff00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Dennis Gilmore ebff00
Jaroslav Škarvada 6e3463
* Wed May 28 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.7-4
Jaroslav Škarvada 6e3463
- Changed requires to require tcl-8.6
Jaroslav Škarvada 6e3463
Jaroslav Škarvada 75d09b
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.7-3
Jaroslav Škarvada 75d09b
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
Jaroslav Škarvada 75d09b
Dmitrij S. Kryzhevich c18425
* Fri Feb 21 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 1.9.7-2
Dmitrij S. Kryzhevich c18425
- Fix filenames.
Dmitrij S. Kryzhevich c18425
Dmitrij S. Kryzhevich 51737f
* Fri Feb 21 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 1.9.7-1
Dmitrij S. Kryzhevich 51737f
- Update to new 1.9.7.
Dmitrij S. Kryzhevich 51737f
- Clean up spec file.
Dmitrij S. Kryzhevich 51737f
- Fix Fri Jan 3 2008 to Thu 3 2008.
Dmitrij S. Kryzhevich 51737f
Dennis Gilmore 64343d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-6
Dennis Gilmore 64343d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Dennis Gilmore 64343d
Dennis Gilmore c86c33
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-5
Dennis Gilmore c86c33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore c86c33
Dennis Gilmore 608d70
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-4
Dennis Gilmore 608d70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 608d70
Dennis Gilmore 4dbded
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-3
Dennis Gilmore 4dbded
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore 4dbded
Dennis Gilmore a2cd54
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-2
Dennis Gilmore a2cd54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore a2cd54
Michael Thomas cf5ac5
* Sun Jan 10 2010 Wart <wart@kobold.org> 1.9.0-1
Michael Thomas cf5ac5
- Update to 1.9.0
Michael Thomas cf5ac5
Jesse Keating 04df8c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-5
Jesse Keating 04df8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 04df8c
Jesse Keating d97101
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-4
Jesse Keating d97101
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating d97101
Dmitrij S. Kryzhevich 51737f
* Thu Jan  3 2008 Marcela Maslanova <mmaslano@redhat.com> 1.8.0-3
Marcela Mašláňová eda8d8
- rebuild with new tcl8.5, changed abi in spec
Marcela Mašláňová eda8d8
Michael Thomas 52bd52
* Wed Aug 22 2007 Wart <wart at kobold.org> 1.8.0-2
Michael Thomas 52bd52
- License tag clarification
Michael Thomas 52bd52
- Move files to a tcl-specific directory for faster loading
Michael Thomas 52bd52
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.