Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
mgp
mgp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mgp.spec of Package mgp
# # spec file for package mgp # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mgp BuildRequires: automake BuildRequires: bison BuildRequires: emacs-nox BuildRequires: flex BuildRequires: freetype BuildRequires: freetype2-devel BuildRequires: giflib-devel BuildRequires: imlib2-devel BuildRequires: libmng-devel BuildRequires: libpng-devel BuildRequires: pkgconfig BuildRequires: sharutils BuildRequires: xorg-x11-devel Provides: magicpoint Requires: freetype Requires: perl Requires: sharutils Recommends: imlib2 Version: 1.13a Release: 0 Summary: MagicPoint, an X Window System Presentation Tool License: BSD-3-Clause Group: Productivity/Publishing/Presentation Url: http://member.wide.ad.jp/wg/mgp/ Source: magicpoint-%{version}.tar.bz2 Source1: README.SuSE Patch1: magicpoint-ia64.diff Patch2: magicpoint-imlib2.patch 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 Patch14: mgp-bilinear-zoom.diff Patch15: mgp-imlib2-segfault-fix.diff Patch16: mgp-alpha-channel.diff 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. %prep %setup -n magicpoint-%{version} #%patch %patch1 %patch2 -p1 # %patch3 %patch5 -p1 %patch6 %patch7 -p1 %patch8 %patch9 #patch10 %patch11 %patch13 %patch14 -p1 %patch15 -p1 %patch16 -p1 cp %{SOURCE1} . rm -rf sample/CVS %build %{?suse_update_config:%{suse_update_config -f}} autoreconf --force --install CFLAGS=$RPM_OPT_FLAGS _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
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