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

  ViewVC Help
Powered by ViewVC 1.1.30