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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 303251 - (hide annotations) (download)
Sun Oct 7 21:39:20 2012 UTC (11 years, 6 months ago) by fwang
File size: 2298 byte(s)
rebuild for new openjpeg
1 blue_prawn 194082 %define develname %mklibname -d %{name}
2    
3 wally 195934 Name: mupdf
4 blue_prawn 291204 Version: 1.1
5 fwang 303251 Release: %mkrel 2
6 blue_prawn 194082 Summary: MuPDF is a lightweight PDF viewer and toolkit written in portable C
7 wally 195934 License: GPLv3+
8 fwang 303251 Group: Publishing
9 blue_prawn 194082 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 wally 195934 Requires: %{name} = %{version}-%{release}
42 blue_prawn 194082
43     %description -n %{develname}
44 wally 195934 This package contains the development files and headers for %{name}.
45 blue_prawn 194082
46     %prep
47 malo 265456 %setup -q -n mupdf-%{version}-source
48 blue_prawn 194082
49     %build
50 wally 195934 %setup_compile_flags
51 blue_prawn 194082 %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 blue_prawn 291349 %doc README COPYING
61 blue_prawn 194082 %{_bindir}/mupdf
62 malo 265456 %{_bindir}/mudraw
63 blue_prawn 291349 %{_bindir}/mubusy
64 blue_prawn 194082 %{_mandir}/man1/*
65     %{_datadir}/applications/%{name}.desktop
66     %{_datadir}/pixmaps/%{name}.png
67    
68     %files -n %{develname}
69     %{_libdir}/libfitz.a
70 malo 265456 %{_includedir}/mucbz.h
71     %{_includedir}/memento.h
72 blue_prawn 194082 %{_includedir}/fitz.h
73     %{_includedir}/mupdf.h
74     %{_includedir}/muxps.h

  ViewVC Help
Powered by ViewVC 1.1.30