Репозитории ALT
S: | 1.13a-alt6.20140908 |
4.1: | 1.10a-alt3 |
4.0: | 1.10a-alt3 |
3.0: | 1.10a-alt2 |
Группа :: Офис
Пакет: magicpoint
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: magicpoint
Version: 1.10a
Release: alt2
Summary: Presentation tool
Group: Office
License: BSD-like
Url: http://www.mew.org/mgp/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://ftp.mew.org/pub/MagicPoint/%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
BuildPreReq: XFree86-devel flex freetype-devel libjpeg-devel libmng-devel libpng-devel libungif-devel pkgconfig zlib-devel
Requires: sharutils, /bin/gunzip
%description
MagicPoint is an X11 based presentation tool. It is designed to make
simple presentations easy while making complicated presentations
possible. Its presentation file is just text so that you can create
presentation files quickly with your favorite editor (e.g. Emacs).
It includes a true type library for elegant looking text and effects.
%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=/usr/bin/uuencode
export mgp_cv_path_uudecode=/usr/bin/uudecode
autoconf
%configure \
--enable-locale \
--disable-vflib \
--enable-gif \
--enable-freetype \
--disable-xft2 \
#
xmkmf -a
# SMP-incompatible build.
make
%install
%makeinstall install.man DESTDIR=$RPM_BUILD_ROOT
install -pD -m644 contrib/mgp-mode.el $RPM_BUILD_ROOT%_emacslispdir/mgp-mode.el
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/emacs/site-start.d
cat <<EOF >$RPM_BUILD_ROOT%_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?/*
%_x11libdir/X11/*
%doc COPYRIGHT FAQ README* RELNOTES SYNTAX USAGE sample
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.10a
Release: alt2
Summary: Presentation tool
Group: Office
License: BSD-like
Url: http://www.mew.org/mgp/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://ftp.mew.org/pub/MagicPoint/%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
BuildPreReq: XFree86-devel flex freetype-devel libjpeg-devel libmng-devel libpng-devel libungif-devel pkgconfig zlib-devel
Requires: sharutils, /bin/gunzip
%description
MagicPoint is an X11 based presentation tool. It is designed to make
simple presentations easy while making complicated presentations
possible. Its presentation file is just text so that you can create
presentation files quickly with your favorite editor (e.g. Emacs).
It includes a true type library for elegant looking text and effects.
%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=/usr/bin/uuencode
export mgp_cv_path_uudecode=/usr/bin/uudecode
autoconf
%configure \
--enable-locale \
--disable-vflib \
--enable-gif \
--enable-freetype \
--disable-xft2 \
#
xmkmf -a
# SMP-incompatible build.
make
%install
%makeinstall install.man DESTDIR=$RPM_BUILD_ROOT
install -pD -m644 contrib/mgp-mode.el $RPM_BUILD_ROOT%_emacslispdir/mgp-mode.el
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/emacs/site-start.d
cat <<EOF >$RPM_BUILD_ROOT%_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?/*
%_x11libdir/X11/*
%doc COPYRIGHT FAQ README* RELNOTES SYNTAX USAGE sample
%changelog
…
Полный changelog можно просмотреть здесь