Blame SPECS/bwidget.spec

0b803d
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
0b803d
%{!?tcl_sitelib: %define tcl_sitelib %{_datadir}/tcl%{tcl_version}}
0b803d
0b803d
Name:           bwidget
0b803d
Version:        1.9.0
aa343f
Release:        6%{?dist}
0b803d
Summary:        Extended widget set for Tk
0b803d
0b803d
Group:          Development/Libraries
0b803d
License:        TCL
0b803d
URL:            http://tcllib.sourceforge.net/
0b803d
Source0:        http://downloads.sourceforge.net/tcllib/BWidget-%{version}.tar.gz
0b803d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0b803d
0b803d
BuildArch:      noarch
0b803d
Requires:       tcl(abi) = 8.5 tk
0b803d
BuildRequires:  tcl
0b803d
0b803d
%description
0b803d
An extended widget set for Tcl/Tk.
0b803d
0b803d
%prep
0b803d
%setup -q -n BWidget-%{version}
0b803d
%{__sed} -i 's/\r//' LICENSE.txt
0b803d
0b803d
%build
0b803d
# Nothing to build!
0b803d
0b803d
%install
0b803d
rm -rf $RPM_BUILD_ROOT
0b803d
# Don't bother with the included configure script and Makefile.  They
0b803d
# are missing a lot of pieces and won't work at all.  Installation is
0b803d
# pretty simple, so we can just do it here manually.
0b803d
mkdir -p $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/
0b803d
mkdir $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/lang
0b803d
mkdir $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/images
0b803d
0b803d
install -m 0644 -pD *.tcl $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/
0b803d
install -m 0644 -pD lang/*.rc $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/lang/
0b803d
install -m 0644 -pD images/*.gif images/*.xbm $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/images/
0b803d
0b803d
0b803d
%clean
0b803d
rm -rf $RPM_BUILD_ROOT
0b803d
0b803d
0b803d
%files
0b803d
%defattr(-,root,root,-)
0b803d
%{tcl_sitelib}/%{name}%{version}
0b803d
%doc README.txt LICENSE.txt
0b803d
%doc BWman/*.html
0b803d
0b803d
%changelog
aa343f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.9.0-6
aa343f
- Mass rebuild 2013-12-27
aa343f
0b803d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-5
0b803d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0b803d
0b803d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-4
0b803d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0b803d
0b803d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-3
0b803d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0b803d
0b803d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-2
0b803d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0b803d
0b803d
* Sun Jan 10 2010 Wart <wart@kobold.org> 1.9.0-1
0b803d
- Update to 1.9.0
0b803d
0b803d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-5
0b803d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0b803d
0b803d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-4
0b803d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0b803d
0b803d
* Fri Jan  3 2008 Marcela Maslanova <mmaslano@redhat.com> 1.8.0-3
0b803d
- rebuild with new tcl8.5, changed abi in spec
0b803d
0b803d
* Wed Aug 22 2007 Wart <wart at kobold.org> 1.8.0-2
0b803d
- License tag clarification
0b803d
- Move files to a tcl-specific directory for faster loading
0b803d
0b803d
* Thu Oct 19 2006 Wart <wart at kobold.org> 1.8.0-1
0b803d
- Update to 1.8.0
0b803d
- Remove patch that was accepted upstream
0b803d
0b803d
* Mon Aug 28 2006 Wart <wart at kobold.org> 1.7.0-4
0b803d
- Rebuild for Fedora Extras
0b803d
0b803d
* Fri Aug 11 2006 Wart <wart at kobold.org> 1.7.0-3
0b803d
- Add patch for adding a color selector to the font dialog
0b803d
0b803d
* Sat Dec 10 2005 Wart <wart at kobold.org> 1.7.0-2
0b803d
- added dist tag to release tag.
0b803d
0b803d
* Sat Dec 10 2005 Wart <wart at kobold.org> 1.7.0-1
0b803d
- Initial spec file.