rpms/tcl-tkpng/F-9 tcl-tkpng.spec,NONE,1.1 sources,1.1,1.2

Tom Callaway spot at fedoraproject.org
Thu Mar 12 20:48:48 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/tcl-tkpng/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5610/F-9

Modified Files:
	sources 
Added Files:
	tcl-tkpng.spec 
Log Message:
initial branching


--- NEW FILE tcl-tkpng.spec ---
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%define realname tkpng

Name:		tcl-%{realname}
Version:	0.9
Release:	3%{?dist}
Summary:	Tcl/Tk support for PNG
Group:		System Environment/Libraries
License:	TCL
URL:		http://www.muonics.com/FreeStuff/TkPNG/
Source0:	http://downloads.sourceforge.net/tkpng/%{realname}%{version}.tgz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Provides:	%{realname} = %{version}-%{release}
Provides:	tk-%{realname} = %{version}-%{release}
BuildRequires:	tcl-devel, tk-devel, zlib-devel
Requires:	tcl(abi) = 8.5


%description
TkPNG is an open source package that adds PNG photo image support to Tcl/Tk. 
Although other extensions such as Img also add support for PNG images, this 
package was designed to be lightweight, not depending on libpng nor 
implementing other image formats, and suitable for inclusion in the Tk core. 
Tk does not currently have native support for any image formats that allow 
for alpha (partial-transparency) channels, although it does have support for 
alpha blending internally.

%prep
%setup -q -n %{realname}%{version}

%build
%ifarch x86_64 ppc64 sparc64
%configure --enable-64bit
%else
%configure
%endif

make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
install -d %{buildroot}%{tcl_sitearch}
mv %{buildroot}%{_libdir}/%{realname}%{version} %{buildroot}%{tcl_sitearch}/%{realname}%{version}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README license.terms ChangeLog
%{tcl_sitearch}/%{realname}%{version}/

%changelog
* Thu Mar 12 2009 Tom "spot" Callaway <tcallawa at redhat.com> 0.9-3
- enable-64bit flag to configure on 64bit platforms

* Fri Oct 31 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.9-2
- add BR: zlib-devel

* Mon Jun  9 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.9-1
- initial package for Fedora


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-tkpng/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Mar 2009 20:36:11 -0000	1.1
+++ sources	12 Mar 2009 20:48:18 -0000	1.2
@@ -0,0 +1 @@
+43347d3d805a5bf3ff428ed812834230  tkpng0.9.tgz




More information about the fedora-extras-commits mailing list