/[packages]/cauldron/mupdf/current/SPECS/mupdf.spec
ViewVC logotype

Contents of /cauldron/mupdf/current/SPECS/mupdf.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 291204 - (show annotations) (download)
Sun Sep 9 17:06:31 2012 UTC (11 years, 7 months ago) by blue_prawn
File size: 2356 byte(s)
updated to last version 1.1
1 %define develname %mklibname -d %{name}
2
3 Name: mupdf
4 Version: 1.1
5 Release: %mkrel 1
6 Summary: MuPDF is a lightweight PDF viewer and toolkit written in portable C
7 License: GPLv3+
8 Group: Office
9 URL: http://mupdf.com/
10 Source0: http://mupdf.googlecode.com/files/mupdf-%{version}-source.tar.gz
11 Source1: mupdf.desktop
12 BuildRequires: libx11-devel
13 BuildRequires: libxext-devel
14 BuildRequires: zlib-devel
15 BuildRequires: libjpeg-devel
16 BuildRequires: freetype2-devel
17 BuildRequires: jbig2dec-devel
18 BuildRequires: openjpeg-devel
19
20 %description
21 MuPDF is a lightweight PDF viewer and toolkit written in portable C.
22
23 The renderer in MuPDF is tailored for high quality anti-aliased
24 graphics. MuPDF renders text with metrics and spacing accurate to
25 within fractions of a pixel for the highest fidelity in reproducing
26 the look of a printed page on screen.
27
28 MuPDF has a small footprint. A binary that includes the standard
29 Roman fonts is only one megabyte. A build with full CJK support
30 (including an Asian font) is approximately five megabytes.
31
32 MuPDF has support for all non-interactive PDF 1.7 features, and the
33 toolkit provides a simple API for accessing the internal structures of
34 the PDF document. Example code for navigating interactive links and
35 bookmarks, encrypting PDF files, extracting fonts, images, and
36 searchable text, and rendering pages to image files is provided.
37
38 %package -n %{develname}
39 Summary: Development files for %{name}
40 Group: Development/C
41 Requires: %{name} = %{version}-%{release}
42
43 %description -n %{develname}
44 This package contains the development files and headers for %{name}.
45
46 %prep
47 %setup -q -n mupdf-%{version}-source
48
49 %build
50 %setup_compile_flags
51 %make
52
53 %install
54 rm -rf %{buildroot}
55 %makeinstall
56 install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
57 install -D -m 644 debian/mupdf.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
58
59 %files
60 %doc README
61 %{_bindir}/mupdf
62 %{_bindir}/mupdfinfo
63 %{_bindir}/mupdfextract
64 %{_bindir}/mupdfclean
65 %{_bindir}/mupdfshow
66 %{_bindir}/mudraw
67 %{_mandir}/man1/*
68 %{_datadir}/applications/%{name}.desktop
69 %{_datadir}/pixmaps/%{name}.png
70
71 %files -n %{develname}
72 %{_libdir}/libfitz.a
73 %{_includedir}/mucbz.h
74 %{_includedir}/memento.h
75 %{_includedir}/fitz.h
76 %{_includedir}/mupdf.h
77 %{_includedir}/muxps.h

  ViewVC Help
Powered by ViewVC 1.1.30