Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
khtml2png
> khtml2png.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File khtml2png.spec of Package khtml2png (Revision 3)
Currently displaying revision
3
,
show latest
%define distversion %( perl -e '$_=\<\>;/(\\d+)\\.(\\d)\\.?(\\d)?/; print "$1$2".($3||0)' /etc/*-release) %define smptag %(uname -a|awk '{print $5}') Summary: khtml2png Name: khtml2png Version: 2.6.7a 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}/ 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 %description khtml2png is a command line program to create PNG images out of webpages. Despite the name, it can also produce JPEG images. %prep %setup -q %build . /etc/opt/kde3/common_options %if 0%{?suse_version} == 1010 export QT_DIR=%{_libdir}/qt3 export QTDIR=%{_libdir}/qt3 %endif ./configure if [ %{smptag} = SMP ]; then %{__make} -j2 else %{__make} fi %install mkdir -p $RPM_BUILD_ROOT/usr/bin %__install -m 755 khtml2png2 $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/%{name}* %files %defattr(-,root,root) %doc ChangeLog README %{_bindir}/khtml2png2 %changelog * Fri Aug 03 2007 Carsten Schoene <cs@linux-administrator.com> - initial spec for khtml2png - version 2.6.7a