Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > aee5a7dd7c340536c6183636a94c4383 > files > 2

bwidget-1.9.6-2.mga3.src.rpm

Name:		bwidget
Version:	1.9.6
Release:	%mkrel 2
Summary:	Extended widget set for Tk
Group:		System/Libraries
License:	BSD
URL:		http://tcllib.sourceforge.net/
Source0:	http://downloads.sourceforge.net/tcllib/%{name}-%{version}.tar.gz
#Requires:      tcl(abi) = 8.5 tk
Requires:	tcl
Requires:	tk
BuildRequires:	tcl-devel
BuildArch:	noarch

%description
An extended widget set for Tcl/Tk.

%prep
%setup -q
%{__sed} -i 's/\r//' LICENSE.txt BWman/*.html

%build

%install
%{__rm} -rf %{buildroot}
# 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} %{buildroot}%{tcl_sitelib}/%{name}%{version}/
%{__mkdir_p} %{buildroot}%{tcl_sitelib}/%{name}%{version}/lang
%{__mkdir_p} %{buildroot}%{tcl_sitelib}/%{name}%{version}/images

%{__install} -m 0644 -pD *.tcl %{buildroot}%{tcl_sitelib}/%{name}%{version}/
%{__install} -m 0644 -pD lang/*.rc %{buildroot}%{tcl_sitelib}/%{name}%{version}/lang/
%{__install} -m 0644 -pD images/*.gif images/*.xbm %{buildroot}%{tcl_sitelib}/%{name}%{version}/images/


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(0644,root,root,0755)
%doc README.txt LICENSE.txt
%doc BWman/*.html
%defattr(-,root,root,0755)
%{tcl_sitelib}/%{name}%{version}




%changelog

* Fri Jan 11 2013 umeabot <umeabot> 1.9.6-2.mga3
+ Revision: 347243
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Oct 30 2012 spuhler <spuhler> 1.9.6-1.mga3
+ Revision: 311583
- upgrade to version 1.9.6

* Sat Sep 08 2012 spuhler <spuhler> 1.9.2-1.mga3
+ Revision: 290555
- imported package bwidget