Hello community, here is the log from the commit of package mgp for openSUSE:Factory checked in at 2017-11-15 16:59:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mgp (Old) and /work/SRC/openSUSE:Factory/.mgp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mgp" Wed Nov 15 16:59:54 2017 rev:26 rq:541795 version:1.13a Changes: -------- --- /work/SRC/openSUSE:Factory/mgp/mgp.changes 2016-06-25 02:22:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mgp.new/mgp.changes 2017-11-15 16:59:59.219228019 +0100 @@ -1,0 +2,11 @@ +Tue Nov 14 12:27:03 UTC 2017 - [email protected] + +- Cleanup with spec-cleaner + +------------------------------------------------------------------- +Mon Nov 13 15:05:42 UTC 2017 - [email protected] + +- Rename README.SuSE to README.SUSE, adhering to the correct + spelling. + +------------------------------------------------------------------- Old: ---- README.SuSE New: ---- README.SUSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mgp.spec ++++++ --- /var/tmp/diff_new_pack.hqtgBz/_old 2017-11-15 17:00:00.063197117 +0100 +++ /var/tmp/diff_new_pack.hqtgBz/_new 2017-11-15 17:00:00.067196971 +0100 @@ -1,7 +1,7 @@ # # spec file for package mgp # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,24 +17,6 @@ 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 @@ -42,7 +24,7 @@ Group: Productivity/Publishing/Presentation Url: http://member.wide.ad.jp/wg/mgp/ Source: magicpoint-%{version}.tar.bz2 -Source1: README.SuSE +Source1: README.SUSE Patch1: magicpoint-ia64.diff Patch2: magicpoint-imlib2.patch Patch3: magicpoint-%{version}-tffonts.diff @@ -58,7 +40,24 @@ Patch15: mgp-imlib2-segfault-fix.diff Patch16: mgp-alpha-channel.diff Patch17: mpg-netpbm-jpeg-fix.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +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 +Requires: freetype +Requires: perl +Requires: sharutils +Recommends: imlib2 +Provides: magicpoint %description MagicPoint is an X Window System presentation tool. It is designed to @@ -70,7 +69,7 @@ into other file formats. %prep -%setup -n magicpoint-%{version} +%setup -q -n magicpoint-%{version} #%patch %patch1 %patch2 -p1 @@ -91,44 +90,42 @@ 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 +autoreconf -fiv +# FIXME: you should use the %%configure macro +%configure \ + --enable-gif \ + --enable-imlib \ + --enable-locale \ + --disable-vflib \ + --enable-freetype-charset16 \ + --enable-freetype \ + --with-freetype-lib=%{_libdir} xmkmf -a make Makefiles -make CCOPTIONS="$RPM_OPT_FLAGS" +make CCOPTIONS="%{optflags}" 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 +%make_install install.man +install -d %{buildroot}%{_bindir} +install -c contrib/mgp2html.pl %{buildroot}%{_bindir}/mgp2html +install -c contrib/mgp2latex.pl %{buildroot}%{_bindir}/mgp2latex +install -d %{buildroot}%{_datadir}/emacs/site-lisp +install -p -m644 contrib/mgp-mode20.el{,c} %{buildroot}%{_datadir}/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" +%doc README.SUSE +%{_bindir}/* +%if "%{_bindir}" != "%{_bindir}" # mgp used to install both into /usr/bin and /usr/X11R6/bin -/usr/bin/* +%{_bindir}/* %endif -%_prefix/lib/X11/mgp/ -%_mandir/man1/* -/usr/share/emacs/site-lisp/mgp-mode20.* +%{_prefix}/lib/X11/mgp/ +%{_mandir}/man1/* +%{_datadir}/emacs/site-lisp/mgp-mode20.* %changelog ++++++ README.SUSE ++++++ XFT2 SUPPORT AND BACKWARD COMPATIBILITY ======================================= In the current version of magicpoint (1.10a), XFT2 mode is selected as default. When you show old mgp files with freetype support, pass -xxft option to suppress the XFT2 support. Otherwise it might not display fonts correctly. Most of sample mgp files in sample directory need this option.
