Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37910140
en ru br
ALT Linux repos
5.0: 0.4.3-alt1.M50.1
4.1: 0.4.3-alt1.M41.1
4.0: 0.4.3-alt1.M40.1

Group :: File tools
RPM: pdfedit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pdfedit
Version: 0.4.3
Release: alt1.M41.1

Summary: Editor for manipulating PDF documents
License: GPL
Group: File tools

Url: http://pdfedit.petricek.net
Source0: %name-%version.tar.bz2
Source1: %name.desktop
Patch0: pdfedit-0.4.1-alt-fontpath.patch
Patch1: pdfedit-0.4.1-boost-lib-param.patch
Patch2: pdfedit-0.4.1-upstream-boost_1.36.0_build_fix.patch
Packager: Michael Shigorin <mike at altlinux.org>

Requires: fonts-type1-urw

# Automatically added by buildreq on Tue Apr 07 2009

BuildRequires: boost-devel gcc-c++ imake libqt3-devel t1lib-devel xorg-cf-files

%{?!_desktopdir:%define _desktopdir %_datadir/applications}

%description
Complete editing of pdf documents is made possible with PDFedit.
You can change either raw pdf objects (for advanced users) or use
predefined gui functions. Functions can be easily added as everything
is based on a scripts.

Scripting is used to a great extent in editor and almost anything can
be scripted, it is possible to create own scripts or plugins.

%prep
%setup
%patch0 -p1
#patch1 -p0
#patch2 -p2
sed -i 's,bin/qmake,& "CONFIG+=no_fixpath",' src/Makefile

%build
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh ; PATH=$PATH:$QTDIR/bin
# see README
autoconf
%configure \
--enable-stack-protector \
--with-root-dir=%buildroot \
--with-boost-lib=%_libdir \
--docdir='$(datarootdir)/doc/$(package_name)-$(version)'
%make

%install
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh ; PATH=$PATH:$QTDIR/bin
%make_install DESTDIR=%buildroot install
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop

%files
%_bindir/*
%_datadir/%name/
%_desktopdir/*
%_man1dir/*
%doc Changelog README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin