]> git.pld-linux.org Git - SPECS.git/blob - magicpoint.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / magicpoint.spec
1 Summary:        MagicPoint is a X11 Presentation Application
2 Summary(pl.UTF-8):      MagicPoint - program do grafiki prezentacyjnej pod X11
3 Name:           magicpoint
4 Version:        1.10a
5 Release:        3
6 License:        GPL
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
26 Obsoletes:      mgp
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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).
35
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.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1 -b .orig
46
47 %build
48 cp -f %{_datadir}/automake/config.* .
49 %{__aclocal}
50 %{__autoconf}
51 %configure \
52         mgp_cv_path_uuencode="/usr/bin/uuencode" \
53         mgp_cv_path_uudecode="/usr/bin/uudecode" \
54         --enable-gif \
55         --enable-imlib
56
57 xmkmf -a
58 %{__make} \
59         LIBDIR=%{_datadir} \
60         CC="%{__cc}" \
61         CDEBUGFLAGS="%{rpmcflags}"
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install install.man \
67         DESTDIR=$RPM_BUILD_ROOT \
68         BINDIR=%{_bindir} \
69         LIBDIR=%{_datadir} \
70         MANDIR=%{_mandir}/man1
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc README SYNTAX USAGE FAQ RELNOTES sample/*.{mgp,jpg,eps}
78 %attr(755,root,root) %{_bindir}/*
79 %{_datadir}/mgp
80 %{_mandir}/man1/*
This page took 0.36537 seconds and 3 git commands to generate.