Browse Source

A lightweight PDF and XPS viewer

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10130 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 9 years ago
parent
commit
ac6b31806d
1 changed files with 72 additions and 0 deletions
  1. 72 0
      m/mupdf/mupdf-vl.spec

+ 72 - 0
m/mupdf/mupdf-vl.spec

@@ -0,0 +1,72 @@
+%define pkg_name    mupdf
+%define pkg_version 1.8
+%define pkg_release 4%{?_dist_release}
+
+Summary: A lightweight PDF and XPS viewer
+Name:    %{pkg_name}
+Version: %{pkg_version}
+Release: %{pkg_release}
+
+License: AGPLv3+
+Group:   Applications/Publishing
+URL:     http://mupdf.com/
+Source:  %{name}-%{version}-source.tar.gz
+
+BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root
+BuildRequires: xorg-x11-devel
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: ara_t
+
+
+%description
+MuPDF is a lightweight PDF and XPS viewer.
+The renderer in MuPDF is tailored for high quality anti-aliased graphics.
+It renders text with metrics and spacing accurate to within fractions of
+a pixel for the highest fidelity in reproducing the look of a printed page
+on screen.
+
+%package static
+Summary: Static library for MuPDF
+Group: Development/Libraries
+Requires: mupdf = %{version}-%{release}
+
+%description static
+A static library for MuPDF.
+
+
+%prep
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%setup -q -n %{name}-%{version}-source
+
+%install
+%{make_install} prefix=%{_prefix} libdir=%{_libdir}
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-, root, root)
+%{_bindir}/
+%{_datadir}/
+
+%files -n mupdf-static
+%defattr(-, root, root)
+%{_libdir}/libmupdf.a
+%{_includedir}/
+
+
+%changelog
+* Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.8-4
+- correct SPEC file
+
+* Mon Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8-3
+- correct Group
+
+* Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-2
+- change directory for library
+
+* Sun Jan 17 2016 Toshiaki Ara <ara_t@384.jp> 1.8-1
+- new package