Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
mgp
mgp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mgp.spec of Package mgp
# # spec file for package mgp (Version 1.13a) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: mgp %define _prefix %(xft-config --prefix) %if "%{_prefix}" == "/usr/X11R6" %define _mandir %_prefix/man %endif BuildRequires: bison emacs-nox flex freetype freetype2-devel giflib-devel gtk-devel imlib-config imlib-devel libmng-devel libpng-devel libtiff-devel pkgconfig sharutils License: BSD 3-Clause Group: Productivity/Publishing/Presentation Provides: magicpoint Requires: perl freetype sharutils AutoReqProv: on Version: 1.13a Release: 1 Summary: MagicPoint, an X Window System Presentation Tool Url: http://member.wide.ad.jp/wg/mgp/ Source: magicpoint-%{version}.tar.bz2 Source1: README.SuSE Patch1: magicpoint-ia64.diff Patch2: magicpoint-%{version}-imlib.diff Patch3: magicpoint-%{version}-tffonts.diff Patch5: magicpoint-%{version}-sample.diff Patch6: magicpoint-%{version}-nonvoid.diff Patch7: magicpoint-%{version}-cflags.diff Patch8: magicpoint-%{version}-compile-warning.diff Patch9: magicpoint-%{version}-null.diff Patch10: magicpoint-%{version}-xft-rendering-fix.diff Patch11: magicpoint-%{version}-lib64.diff Patch13: magicpoint-%{version}-warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description MagicPoint is an X Window System presentation tool. It is designed to make simple presentations easy while making complicated presentations possible. Its presentation file (the suffix is typically .mgp) is plain text so that you can create presentation files quickly with your favorite editor (Emacs, for example). The package also includes the tools mgp2html, mgp2ps, and mgp2latex, which convert mgp presentations into other file formats. Authors: -------- Yoshifumi Nishida <nishida@sfc.wide.ad.jp> %prep %setup -n magicpoint-%{version} #%patch %patch1 %patch2 # %patch3 %patch5 -p1 %patch6 %patch7 -p1 %patch8 %patch9 #patch10 %patch11 %patch13 cp %{SOURCE1} . rm -rf sample/CVS %build %{?suse_update_config:%{suse_update_config -f}} autoreconf --force --install CFLAGS=$RPM_OPT_FLAGS LIBS="$LIBS -L/opt/gnome/%_lib" _lib=%{_lib} \ ./configure \ --prefix=/usr --mandir=%{_mandir} --enable-gif --enable-imlib \ --enable-locale --disable-vflib --enable-freetype-charset16 \ --enable-freetype --with-freetype-lib=/usr/%_lib xmkmf -a make Makefiles make CCOPTIONS="$RPM_OPT_FLAGS" emacs --batch --no-site -f batch-byte-compile contrib/mgp-mode20.el %install make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install.man install -d $RPM_BUILD_ROOT/usr/bin install -c contrib/mgp2html.pl $RPM_BUILD_ROOT/usr/bin/mgp2html install -c contrib/mgp2latex.pl $RPM_BUILD_ROOT/usr/bin/mgp2latex install -d $RPM_BUILD_ROOT/usr/share/emacs/site-lisp install -p -m644 contrib/mgp-mode20.el{,c} $RPM_BUILD_ROOT/usr/share/emacs/site-lisp cd sample rm .cvsignore Imakefile* Makefile* README.jp %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README README.fonts README.lang RELNOTES SYNTAX USAGE %doc sample/README sample/ %doc README.SuSE %_bindir/* %if "%_bindir" != "/usr/bin" # mgp used to install both into /usr/bin and /usr/X11R6/bin /usr/bin/* %endif %_prefix/lib/X11/mgp/ %_mandir/man1/* /usr/share/emacs/site-lisp/mgp-mode20.* %changelog * Wed Mar 05 2008 anosek@suse.cz - updated to version 1.13a * m17n library support enhancement * add new environment variable MGPRC for the path of the .mgprc file. * add "psfont" directive to specify the font used by mgp2ps * add -g option for mgp2ps to allow users to adjust line distanc * add -zoomonclk option for newimage * allow to handle gif format images by default * many bug fixes - dropped obsoleted patches (Xorg7.diff) (head.diff) * Wed Aug 01 2007 anosek@suse.cz - updated to version 1.12a * add %%tsystem directive which might be more stable than %%xsystem * add -rotate option for newimage * allow to use non-ASCI filename in slides (use -U to enable this feature) * many bug fixes - disabled xft-rendering-fix.diff - fixed compiler warnings (warnings.patch) * Fri Mar 30 2007 rguenther@suse.de - added bison and flex BuildRequires * Thu Jan 04 2007 anosek@suse.cz - fixed x11.c:364: warning: operation on 'fullscreen' may be undefined (compile-warning.diff) * Tue Jul 25 2006 mmarek@suse.de - fix build with modular Xorg - use even more RPM_OPT_FLAGS * Mon Apr 03 2006 mmarek@suse.cz - fix configure script to find libraries in .../lib64 on 64bit [#162810] (lib64.patch) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 15 2005 mmarek@suse.cz - package emacs mode [#132365] * Tue Oct 18 2005 mmarek@suse.cz - applied xft-rendering chache patch from tiwai@suse.de - refreshed patches * Wed Sep 28 2005 meissner@suse.de - use more RPM_OPT_FLAGS. * Fri Aug 05 2005 ltinkl@suse.cz - update to 1.11b - adapt patches, fix some compiler warnings * Wed Apr 27 2005 meissner@suse.de - fixed NULL termination. * Tue Sep 28 2004 tiwai@suse.de - fixed the broken freetype support (bug #39335) - compile properly with XFT2 and libmng support - fixed sample truetype fonts to Sazanami fonts (default on SL9.2) - added README.SuSE for backward compatibility problem * Wed May 19 2004 ro@suse.de - added return values to non-void functions * Sat Jan 10 2004 adrian@suse.de - add %%defattr * Thu Oct 23 2003 ltinkl@suse.cz - update to 1.10a - build with freetype2 - remake patches, throw unused ones away * Thu Jul 24 2003 ltinkl@suse.cz - build with imlib in /opt/gnome * Fri Apr 11 2003 ro@suse.de - fix deprecated head calling syntax (-1) * Wed Jan 29 2003 ro@suse.de - use stdarg * Wed Jun 05 2002 ro@suse.de - added a "AC_ARG_WITH" for freetype lib to be able to specify dir to search the library in * Thu May 02 2002 mfabian@suse.de - add configure options --disable-vflib --enable-freetype-charset16 to support CJK TrueType fonts via freetype. - edit default.mgp, mgprc-sample, sample-jp.mgp and sample.mgp a bit to use fonts available on SuSE Linux by default. * Thu Mar 21 2002 tcrhak@suse.cz - Fixed: for(i=0; i<0; i++) was used instead of for(i=0; i<4; i++) by accident in the previous fix. * Mon Mar 18 2002 tcrhak@suse.cz - fixed TrueType font pell-mell: iso8859-[234] coded characters where shown using different font then the other characters - fixed font caching * Wed Mar 06 2002 tcrhak@suse.cz - added print-iso-8859-2 patch - linked with libmng and imlib * Thu Oct 25 2001 dan@suse.cz - update to version 1.09a, new features: * the "area" directive * enhance "prefix" directive - fix a seculity hole inherited from xloadimage * Mon Aug 06 2001 cihlar@suse.cz - update to version 1.08a * Tue Jun 05 2001 schwab@suse.de - Fix last change. - Add %%suse_update_config. - Fix invalid use of NULL. * Mon May 28 2001 pblaha@suse.cz - fix cast pointer on ia64 * Mon Mar 26 2001 uli@suse.de - libungif now needs libX11, adapted configure* accordingly * Thu Dec 14 2000 tiwai@suse.de - fixed requires. * Wed Sep 13 2000 tiwai@suse.de - added sharutil to support mgpembed correctly. - added libungif for gif support. - changed to bzip2. * Mon May 22 2000 cihlar@suse.cz - added BuildRoot - update to 1.07a * Thu Feb 17 2000 grimmer@suse.de - added group tag to spec file - added URL to spec file - use full URL to source package - use version macro in spec file * Fri Jan 28 2000 ro@suse.de - freetype is in /usr/include/freetype, fixed configure.in - updated config.sub - man to /usr/share * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Mon Aug 02 1999 grimmer@suse.de - update to 1.06a - added README.lang to docu * Tue Jun 22 1999 grimmer@suse.de - update to 1.05a - now uses FreeType * Mon Sep 28 1998 grimmer@suse.de - new version: 1.04a * Wed Aug 12 1998 grimmer@suse.de - new package (Version 1.03a)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor