Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
QT-3
>
khtml2png
> project.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File project.diff of Package khtml2png
--- khtml2png.spec.orig +++ khtml2png.spec @@ -1,20 +1,26 @@ %define distversion %( perl -e '$_=\<\>;/(\\d+)\\.(\\d)\\.?(\\d)?/; print "$1$2".($3||0)' /etc/*-release) %define smptag %(uname -a|awk '{print $5}') -Summary: khtml2png +Summary: Khtml2png is a command line program to create screenshots of webpages Name: khtml2png -Version: 2.7.5 +Version: 2.7.6 Release: 1 License: GPL -Vendor: Hauke Goos-Habermann <hhabermann@pc-kiel.de> Url: http://sourceforge.net/projects/khtml2png/ -Packager: Carsten Schoene <cs@linux-administrator.com> Group: X11/KDE/Network Source: %{name}-%{version}.tar.gz -BuildRoot: /tmp/%{name}-%{version}/ +BuildRoot: %{_tmppath}/%{name}-%{version}/ Prefix: `kde-config --prefix` -BuildRequires: qt3-devel zlib-devel kdeutils3-devel kdelibs3-devel kdemultimedia3-devel kdebase3-devel openssl-devel glibc-devel libgcc gcc gcc-c++ cmake +BuildRequires: qt3-devel zlib-devel kdelibs3-devel kdebase3-devel openssl-devel glibc-devel libgcc gcc gcc-c++ cmake + +%if 0%{?suse_version} >= 1110 +BuildRequires: chrpath +%endif + +%if 0%{?sles_version} != 11 +BuildRequires: kdeutils3-devel kdemultimedia3-devel +%endif %description khtml2png is a command line program to create PNG images out of webpages. Despite the name, it can also produce JPEG images. @@ -24,7 +30,7 @@ khtml2png is a command line program to c %build . /etc/opt/kde3/common_options -%if 0%{?suse_version} == 1010 +%if 0%{?suse_version} == 1010 || 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} export QT_DIR=%{_libdir}/qt3 export QTDIR=%{_libdir}/qt3 %endif @@ -39,7 +45,10 @@ fi %install mkdir -p $RPM_BUILD_ROOT/usr/bin -%__install -m 755 khtml2png2 $RPM_BUILD_ROOT%{_bindir} +%__install -m 755 -s khtml2png2 $RPM_BUILD_ROOT%{_bindir} +%if 0%{?suse_version} >= 1110 +chrpath -d $RPM_BUILD_ROOT%{_bindir}/khtml2png2 +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -51,6 +60,9 @@ rm -rf $RPM_BUILD_DIR/%{name}* %{_bindir}/khtml2png2 %changelog +* Sun Jul 05 2009 Carsten Schoene <cs@linux-administrator.com> - 2.7.6-1 +- update to release 2.7.6 + * Wed Sep 03 2008 Carsten Schoene <cs@linux-administrator.com> - update to version 2.7.5 * Fri Aug 03 2007 Carsten Schoene <cs@linux-administrator.com>