1 Summary: MagicPoint is a X11 Presentation Application
2 Summary(pl.UTF-8): MagicPoint - program do grafiki prezentacyjnej pod X11
7 Group: X11/Applications/Graphics
8 Source0: ftp://ftp.mew.org/pub/mgp/%{name}-%{version}.tar.gz
9 # Source0-md5: 7a5d91b2b3bdabea704ee3cb6505d772
10 Patch0: %{name}-freetype.patch
11 Patch1: %{name}-ac.patch
12 URL: http://www.mew.org/mgp/
13 BuildRequires: XFree86-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 # blegh, freetype2 is used for Xft2, but obsolete freetype1 is used to access TTFs :/
17 BuildRequires: freetype1-devel
18 BuildRequires: freetype-devel >= 2.1.0
19 BuildRequires: giflib-devel
20 BuildRequires: imlib-devel
21 BuildRequires: libmng-devel
22 BuildRequires: libpng-devel
23 BuildRequires: pkgconfig
24 BuildRequires: xft-devel
25 Requires: libjpeg-progs
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 MagicPoint is an X11 based presentation tool. It is designed to make
31 simple presentations easy while to make complicated presentations
32 possible. Its presentation file (whose suffix is typically .mgp) is
33 just text so that you can create presentation files quickly with your
34 favorite editor (e.g. VI).
36 %description -l pl.UTF-8
37 MagicPoint jest narzędziem do robienia grafiki prezentacyjnej pod X11.
38 Został on zrobiony do tworzenia prostych prezentacji. Pliki z opisem
39 prezentacji (z rozszerzeniem .mgp) są plikami tekstowymi, więc samą
40 prezentację można szybko przygotować z użyciem ulubionego edytora.
48 cp -f %{_datadir}/automake/config.* .
52 mgp_cv_path_uuencode="/usr/bin/uuencode" \
53 mgp_cv_path_uudecode="/usr/bin/uudecode" \
61 CDEBUGFLAGS="%{rpmcflags}"
64 rm -rf $RPM_BUILD_ROOT
66 %{__make} install install.man \
67 DESTDIR=$RPM_BUILD_ROOT \
70 MANDIR=%{_mandir}/man1
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc README SYNTAX USAGE FAQ RELNOTES sample/*.{mgp,jpg,eps}
78 %attr(755,root,root) %{_bindir}/*