|
Michael Thomas |
52bd52 |
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
|
|
Michael Thomas |
52bd52 |
%{!?tcl_sitelib: %define tcl_sitelib %{_datadir}/tcl%{tcl_version}}
|
|
Michael Thomas |
52bd52 |
|
|
Michael Thomas |
f78810 |
Name: bwidget
|
|
Michael Thomas |
20006e |
Version: 1.8.0
|
|
Marcela Mašláňová |
eda8d8 |
Release: 3%{?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/
|
|
Michael Thomas |
52bd52 |
Source0: http://downloads.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
|
|
Marcela Mašláňová |
eda8d8 |
Requires: tcl(abi) = 8.5 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
|
|
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 |
52bd52 |
mkdir -p $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/
|
|
Michael Thomas |
52bd52 |
mkdir $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/lang
|
|
Michael Thomas |
52bd52 |
mkdir $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/images
|
|
Michael Thomas |
f78810 |
|
|
Michael Thomas |
52bd52 |
install -m 0644 -pD *.tcl $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/
|
|
Michael Thomas |
52bd52 |
install -m 0644 -pD lang/*.rc $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/lang/
|
|
Michael Thomas |
52bd52 |
install -m 0644 -pD images/*.gif images/*.xbm $RPM_BUILD_ROOT/%{tcl_sitelib}/%{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 |
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
|
|
Marcela Mašláňová |
eda8d8 |
* Fri 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.
|