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