Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513115
en ru br
Репозитории ALT
S:1.13a-alt6.20140908
4.1: 1.10a-alt3
4.0: 1.10a-alt3
3.0: 1.10a-alt2
www.altlinux.org/Changes

Группа :: Офис
Пакет: magicpoint

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: magicpoint
Version: 1.10a
Release: alt3

Summary: Presentation tool
Group: Office
License: BSD-like
Url: http://member.wide.ad.jp/wg/mgp/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/%name-%version.tar.bz2
Patch1: %name-1.10a-alt-configure.patch
Patch2: %name-1.09a-mdk-emacs-mode-add-font-lock.patch
Patch3: %name-1.10a-rh-warnings.patch
Patch4: %name-1.10a-rh-longline.patch
Patch5: %name-1.10a-rh-xft2.patch
Patch6: %name-1.10a-alt-i18n.patch

Requires: ghostscript-classic, netpbm, sharutils, /bin/gunzip

# Automatically added by buildreq on Tue Mar 21 2006

BuildRequires: flex freetype-devel gccmakedep imake libXmu-devel libjpeg-devel libmng-devel libpng-devel libungif-devel pkg-config xorg-cf-files

%description
MagicPoint is an X11 based presentation tool.  It is designed to make
simple presentations easy while to make complicated presentations
possible.  Its presentation file (whose suffix is typically .mgp) is
just text so that you can create presentation files quickly with your
favorite editor (e.g. Emacs).

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1

%build
%add_optflags -D__SABER__
export mgp_cv_path_uuencode=%_bindir/uuencode
export mgp_cv_path_uudecode=%_bindir/uudecode
%if "%_lib" != "lib"
sed -i -e 's/\<lib\>/%_lib/g' configure.in
%endif
autoconf
%configure \
--enable-locale \
--disable-vflib \
--enable-gif \
--enable-freetype \
--disable-xft2 \
#
xmkmf -a
# SMP-incompatible build.
make

%install
%makeinstall install.man DESTDIR=%buildroot

install -pD -m644 contrib/mgp-mode.el %buildroot%_emacslispdir/mgp-mode.el

mkdir -p %buildroot%_sysconfdir/emacs/site-start.d
cat <<EOF >%buildroot%_sysconfdir/emacs/site-start.d/%name.el
(autoload 'mgp-mode "mgp-mode" "MagicPoint editing mode" t)
(add-to-list 'auto-mode-alist '("\\\\.mgp$" . mgp-mode))
EOF

%files
%config(noreplace) %_sysconfdir/emacs/site-start.d/*
%_emacslispdir/*
%_x11bindir/*
%_x11mandir/man?/*
%_x11x11dir/*
%doc COPYRIGHT FAQ README* RELNOTES SYNTAX USAGE sample

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin