[tkimg] - Patch to obey mandir configure option
Sergio Pascual
sergiopr at fedoraproject.org
Wed Oct 6 22:15:34 UTC 2010
commit 21347ccedccb3e2e15e22b8394aac00ff9f01bbb
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Thu Oct 7 00:15:38 2010 +0200
- Patch to obey mandir configure option
tkimg.spec | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tkimg.spec b/tkimg.spec
index 97633df..c3618a5 100644
--- a/tkimg.spec
+++ b/tkimg.spec
@@ -1,11 +1,11 @@
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
# Data from subversion
-%define svnversion 20091129
+%define svnversion 20100906
Name: tkimg
Version: 1.4
-Release: 0.7.%{svnversion}svn%{?dist}
+Release: 0.8.%{svnversion}svn%{?dist}
Summary: More Image Formats for Tk
Group: Development/Libraries
@@ -13,11 +13,11 @@ License: BSD
URL: http://sourceforge.net/projects/tkimg
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
-# svn export -r 228 https://tkimg.svn.sourceforge.net/svnroot/tkimg/trunk tkimg-20091129
-# tar -czvf tkimg-20091129.tar.gz tkimg-20091129
+# svn export -r 302 https://tkimg.svn.sourceforge.net/svnroot/tkimg/trunk tkimg-20100906
+# tar -jzvf tkimg-tkimg-tkimg-20100906.tar.bz2 tkimg-20100906
# Data from subversion
-Source0: %{name}-%{svnversion}.tar.gz
+Source0: %{name}-%{svnversion}.tar.bz2
# A request to allow building with system libraries has been submitted
# https://sourceforge.net/tracker/index.php?func=detail&aid=2292032&group_id=52039&atid=465495
@@ -29,7 +29,7 @@ Patch0: tkimg-20091129-mandir.patch
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: tcl-devel tk-devel tcllib
-BuildRequires: libtiff-devel libpng-devel libjpeg-devel zlib-devel libXft-devel
+#BuildRequires: libtiff-devel libpng-devel libjpeg-devel zlib-devel libXft-devel
Requires: tcl(abi) = 8.5
@@ -50,7 +50,7 @@ These are the header files needed to develop a %{name} application
%prep
%setup -q -n %{name}-%{svnversion}
-%patch0 -p1
+#%patch0 -p1
%build
%configure --with-tcl=%{tcl_sitearch} --with-tk=%{_libdir} --libdir=%{tcl_sitearch} --disable-threads --enable-64bit
More information about the scm-commits
mailing list