package created using the webbuild interface [release 1.10a-1mamba;Sat Dec 17 2016]
This commit is contained in:
parent
7285b7a3fc
commit
425815216a
90
mupdf.spec
Normal file
90
mupdf.spec
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
Name: mupdf
|
||||||
|
Version: 1.10a
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A lightweight PDF, XPS, and E-book viewer
|
||||||
|
Group: Graphical Desktop/Applications/Publishing
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://mupdf.com/
|
||||||
|
Source: http://mupdf.com/downloads/mupdf-%{version}-source.tar.gz
|
||||||
|
License: Affero GNU Public License
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libGL-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXcursor-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libXinerama-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
A lightweight PDF, XPS, and E-book viewer.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}-source
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make prefix=%{_prefix}
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall prefix=%{_prefix}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/mujstest
|
||||||
|
%{_bindir}/mupdf-gl
|
||||||
|
%{_bindir}/mupdf-x11
|
||||||
|
%{_bindir}/mupdf-x11-curl
|
||||||
|
%{_bindir}/muraster
|
||||||
|
%{_bindir}/mutool
|
||||||
|
%{_mandir}/man1/mupdf.1*
|
||||||
|
%{_mandir}/man1/mutool.1*
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/mupdf
|
||||||
|
%{_includedir}/mupdf/*.h
|
||||||
|
%dir %{_includedir}/mupdf/fitz
|
||||||
|
%{_includedir}/mupdf/fitz/*.h
|
||||||
|
%dir %{_includedir}/mupdf/pdf
|
||||||
|
%{_includedir}/mupdf/pdf/*
|
||||||
|
%{_prefix}/lib/libmupdf.a
|
||||||
|
%{_prefix}/lib/libmupdfthird.a
|
||||||
|
%dir %{_docdir}/mupdf
|
||||||
|
%{_docdir}/mupdf/*
|
||||||
|
%doc CHANGES README
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Dec 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10a-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user