File pdfjs.spec of Package pdfjs
#
# spec file for package pdfjs
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pdfjs
Version: 4.5.136
Release: 0
Summary: PDF Reader in JavaScript
License: Apache-2.0
URL: https://mozilla.github.io/pdf.js/
Source0: https://github.com/mozilla/pdf.js/releases/download/v%{version}/pdfjs-%{version}-dist.zip
BuildRequires: unzip
BuildArch: noarch
%description
PDF.js is a Portable Document Format (PDF) viewer that is built
with HTML5.
%prep
%setup -qc
%build
%install
install -d %{buildroot}%{_datadir}/pdf.js
cp -R build web %{buildroot}%{_datadir}/pdf.js
%files
%license LICENSE
%{_datadir}/pdf.js
%changelog